View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: ionice & LinHes
PostPosted: Wed Jan 23, 2019 2:35 am 
Offline
Joined: Fri Nov 19, 2004 11:58 pm
Posts: 99
Looking for some advice on setting up ionice for the following binaries: mythbackend, mythfrontend, mythcommflag

My limited understanding of how to properly use ionice is to leverage the /user/local/bin directory, a wrapper script, and symlink.

/usr/local/bin/nicer-2.1
Code:
#! /bin/sh
ionice -c 2 -n 1 nice -n 20 /usr/bin/"${0##*/}" "$@"

symlink script to binaryName.
Code:
ln -s nicer-2.1 /user/local/bin/binaryName


ionice is only binding to the mythcommflag binary, probably due to how the other binaries are being called/referenced. I made another script for the /usr/LH/bin directory and created a link for LinHES-start seeing if that would trigger ionice on mythfrontend. The result was the LinHES-start was ioniced but mythtfrontend still ran in the default ionice class.

I used this approach as its seems the least obstructive method to preserve the LinHES environment; I am open to other delivery mechanisms (proceas id, sv, ...).


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu