Reputation: 51
Please help. So, I'm given a task to monitor a particular process in CentOS.
There are certain requirements.
I've researched enough but with no success.
Thanks in advance.
Upvotes: 0
Views: 569
Reputation: 999
I am uncertain what exactly you are trying to achieve, but this is how I would proceed:
top -H -p $(pgrep <process_name> | paste -s -d, -)
top -H -p $(pgrep <process_name>)
Maybe think about implementing a solution like Prometheus with Node Exporter or Zabbix or Nagios.
Upvotes: 1