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'
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'