Monday, March 19, 2012

Linux watch command

Use the watch command to watch the results of a command change at a given internal. Example:


watch -n 5 -d vmstat

The watch command will the vmstat command every 5 seconds and will highlight on screen the values that have changed.

0 comments:

Post a Comment