How to monitor CPU ussage per process

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Ante
Posts: 3
Joined: Sat May 24, 2008 6:53 am

How to monitor CPU ussage per process

Post by Ante »

How to monitor CPU usage per process. I want to monitor these processes for example: mysqld, mythbackend, mplayer etc. I'm using

Is there any template for this ?


Best regards.
Ante
User avatar
vmicovic
Posts: 48
Joined: Wed Aug 15, 2007 9:57 am

Post by vmicovic »

i need this too. :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I'm quite sure that there is already a process monitor template in the script and template forum. Please search
Reinhard
Ante
Posts: 3
Joined: Sat May 24, 2008 6:53 am

Post by Ante »

I found similar template W32 process monitor, but I think I'll need to modify it because, I want to monitor all processes with same name.

For example if there are 4 instances of mplayer, I want to show it on graph as mplayer with sum of CPU usage of all 4 instances.

I think I need to make PHP script to make that, don't know if cacti can draw sumarry per process from collected SNMP data without help of PHP script.


Best regards,
Ante
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ante wrote:I think I need to make PHP script to make that, don't know if cacti can draw sumarry per process from collected SNMP data without help of PHP script.
I suppose you're quite right.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest