HowTo: Monitor Linux / BSD System Over Time Without Scrolling Output

Posted on in Categories Linux, UNIX last updated June 5, 2012

You can use the watch command to execute a program or shell script periodically, display its output on screen repeatedly. This allows you to watch the program output change over time. By default, the program is run every 2 seconds. This is useful to monitor memory utilization or disk space usage over time without having to look at scrolling output.