Periodically executing programs and watching outputs

If you want to call a program periodically you can use watch utility. For example to see the contents of file /proc/meminfo on every 1 second:

watch -n1 'cat /proc/meminfo'







You must be login first or sign-up for an account to post comments.