I saw a Linux command the other day that I hadn’t seen before. No idea if everybody else already knows about it but it was news to me so I thought that I should share it. It’s similar to the ‘tail -f’ that people routinely use to monitor log files, e.g. alert logs, but it works for processes and is probably more similar to something like ‘top’.
e.g. watch -n 5 "ps aux | grep smon | grep -v grep"
You can see more details here:
…I wish I had known about this years ago!