Use ‘watch’ command with pipe (with simple process monitor example)By neokrates, written on June 22, 2010 |
bash snippet |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
Loading ...
Most popular search terms:
Stats
-
Since publication, this page was visited 576 time(s).
Dump all java processes every 15 seconds. Log the result into processmonitor.log. Add timestamps.
watch -n 15 'ps -ef|grep java|grep -v grep >> file.res ; date >> processmonitor.log'
|
TAGS
|
|
SOCIAL
|


















