]> rtime.felk.cvut.cz Git - frescor/demo.git/commitdiff
Update processes every 1 second
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 14 May 2010 18:14:57 +0000 (20:14 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 14 May 2010 18:14:57 +0000 (20:14 +0200)
build/watch-ps

index a3a5601ea62ad6a3aa0e53cfbac7807a0918d6e6..bc42788814d771ce035a6ca796e03afda527c93d 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-watch -d ps -m -o pid,%cpu,%mem,cls,args -p '`pidof recorder streamer fcb frm_aqcpu frm_fwp frm_diskbfq`'
+watch -d -n 1 ps -m -o pid,%cpu,%mem,cls,args -p '`pidof recorder streamer fcb frm_aqcpu frm_fwp frm_diskbfq`'