]> rtime.felk.cvut.cz Git - frescor/demo.git/commitdiff
Watch also aquosa state
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 May 2010 14:14:00 +0000 (16:14 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 May 2010 14:14:00 +0000 (16:14 +0200)
build/watch-ps

index bc42788814d771ce035a6ca796e03afda527c93d..e9aabd042b5ddcff809c2762782f9cc2b16be60b 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-watch -d -n 1 ps -m -o pid,%cpu,%mem,cls,args -p '`pidof recorder streamer fcb frm_aqcpu frm_fwp frm_diskbfq`'
+AQSTAT=/proc/aquosa/qres/scheduler
+
+watch -d -n 1 "test -f $AQSTAT && cat $AQSTAT; ps -m -o pid,euser,%cpu,%mem,cls,args -p '`pidof recorder streamer fcb frm_aqcpu frm_fwp frm_diskbfq dd`'"