Reputation: 148
I am looking for a tool in Ubuntu like PerfMon.exe, what I need to have a report that report the CPU Usage , memory Usage per PID, and the output would be minimum, maximum and average between a period of time like I click start and stop testing.
edit1: I dont need tools like top,htop ... etc, I need a tool to monitor my load testing results, simple software that allow me to choose my PIDs, click start, then do my tests, then click stop, and get average-min-max CPU and memory usage
Upvotes: 0
Views: 2980
Reputation: 148
thanks to Nachiket Kate , the closest thing to my requirments is the following command: pidstat -r -u -p -I 3
Upvotes: 1
Reputation: 66612
Linux, and unix in general has a set of tools collectively known as 'process accounting'. These let you show CPU usage, memory usage and other metrics per process.
Check that you have the acct package installed. A HOWTO for using it can be found here.
Note that these tools don't have an interactive GUI out of the box but they do have tools for viewing the logs.
Also top(1) lets you show process activity in realtime.
Upvotes: 1