Ad Widget

Collapse

Help !!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • israel dominguez
    Junior Member
    • Jul 2007
    • 12

    #1

    Help !!!

    i'm sorry, i need one comand for monitorer my cpu >50%

    please help'me

    thank's
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    First, please only post your question in one place - it makes it much easier for those that help.

    Second, descriptive titles get help faster. A title of "Help" is usually looked over.

    Third, the answer you are looking for:

    A) Create a new item

    Type: Zabbix agent
    Key: system.cpu.util[,system,avg1]
    Type of Information: Numeric (float)
    Units: %
    Use Multiplier: Do not use


    B) Create a trigger with the expression:
    system.cpu.util[,system,avg1].last(0)>50

    Comment

    • israel dominguez
      Junior Member
      • Jul 2007
      • 12

      #3
      ok

      i need know, how much CPU be used my process? for example, for my file system i used this comand ;
      #!/bin/ksh

      df -k | grep % | awk '{if ($6!="") print $0; else print "none" $0}' | grep -v cdrom | grep -v oradata | awk 'BEGIN {printf("#")} {if (substr($5,0,length($5)-1)+0.01>90) printf(" %s",$6)}'

      Comment

      Working...