On 11/16/2012 11:53 PM, Dave Phillips wrote:
Greetings,
Perhaps a fellow Archer can point me in the right direction. I have
Rui's latest script installed at /etc/rc.d/rtirq, its config file is at
/etc/conf.d/rtirq, and the rtirq.service script is at
/usr/lib/systemd/system/rtirq.service. I can start and stop the service
without complaint from the system but when I check its status I get only
this message :
[dlphilp@BigBlack ~]$ rtirq restart
[dlphilp@BigBlack ~]$ rtirq status
PID CLS RTPRIO NI PRI %CPU STAT COMMAND
3 TS - 0 19 0.0 S ksoftirqd/0
64-bit system, up to date, with kernel 3.6.6 SMP PREEMPT. Any suggestions ?
Hi Dace,
Not an arch user here.. but it could be awk related -- gawk / mawk or
even egrep or bash. The "if () {} else {}" part at the end (without
'test' nor 'then') is some bashism. Try it in steps. see the rtirq
source.
ps -eo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio
ps -eo pid,class,rtprio,ni,pri,pcpu,stat,comm --sort -rtprio \
| egrep '(^[ |\t]*PID|IRQ|softirq|sirq|irq\/)'
HTH,
robin