Ad Widget

Collapse

CPU utilization for process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #1

    CPU utilization for process

    Hi

    i wish to ask IF Zabbix 1.4 is able to monitor the CPU utilization (%) of a process in either Windows or Linux platform rather than... just the useful info such as mem usage from 'proc_info[ ]'.

    cheers
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #2
    can ?

    system.cpu.util[ ] can be use to monitor a Workstation overall utilization but can Zabbix 1.4 do so for a target process (eg. in task manager) in Windows/ Linux ?

    Comment

    • pymouse
      Junior Member
      • May 2007
      • 19

      #3
      I have develope my own function proc.cpu[<name of the process> <,mode>]. return the %CPU utilization of one processus, it's like the fonction proc.mem who return the memory of one processus.
      My function only work for Linux agent, because i go to search informations in /proc/ID_of_process/stat.

      If you need more details pm me.


      pym.

      Comment

      • BusteR81
        Senior Member
        • Apr 2007
        • 150

        #4
        Originally posted by pymouse
        I have develope my own function proc.cpu[<name of the process> <,mode>]. return the %CPU utilization of one processus, it's like the fonction proc.mem who return the memory of one processus.
        My function only work for Linux agent, because i go to search informations in /proc/ID_of_process/stat.

        If you need more details pm me.


        pym.

        so can u post the download or the steps to do so in this forums so that can be shared by everyone? anyway thanks alot for the reply.

        cheers

        Comment

        • pymouse
          Junior Member
          • May 2007
          • 19

          #5
          Try to add my fonction...The code isn't very clear...
          Attached Files

          Comment

          • pymouse
            Junior Member
            • May 2007
            • 19

            #6
            I think i must to add mutex, because, listeners read & write the struct tab_process...I have tried my function only with one listener

            Comment

            Working...