I want to monitor metrics consumed by a specific process in real time, like cpu, memory etc.
I have evaluated various tools but found none suiting my needs.
pidstatcaptures all i want, it gives me good memory usage per process but it reports more cpu usage(even greater than the total cpu consumed by the machine)saris more likepidstatbut just dump all the data to file.psis more like snapshot tool, doesn't gives me real time stats
I am looking for a tool which can give me cpu usage for a process in real time.
These are some of the top command line process monitoring tools for linux.
1. Top – Linux Process Monitoring
2. VmStat – Virtual Memory Statistics
3. Lsof – List Open Files
4. Tcpdump – Network Packet Analyzer
5. Netstat – Network Statistics
6. Htop – Linux Process Monitoring
7. Iotop – Monitor Linux Disk I/O
8. Iostat – Input/Output Statistics
9. IPTraf – Real Time IP LAN Monitoring
10. Psacct or Acct – Monitor User Activity
If you need a GUI interface I suggest
1. Gnome System Monitor
2. GKrellM
3. Nagios
4. Monitorix
5. System Load Indicator