- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.145.62.46
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 : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/pcp/pmieconf/percpu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/pcp/pmieconf/percpu/system
#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(5)
#

rule	per_cpu.system
	summary	= "$rule$"
	enumerate = hosts
	# need first conjunct to get %v in actions...
	predicate =
"some_host (
    some_inst (
	// first term is always true, but provides %v for actions ...
	( 100 * kernel.percpu.cpu.sys $hosts$ ) > 0
	&& 100 * ( kernel.percpu.cpu.user $hosts$ +
		   kernel.percpu.cpu.sys $hosts$ ) > $busy$
	&& 100 * kernel.percpu.cpu.sys $hosts$ /
	    ( kernel.percpu.cpu.user $hosts$ + kernel.percpu.cpu.sys $hosts$ )
		> $threshold$
    )
    && hinv.ncpu $hosts$ > 1
)"
	enabled	= yes
	version	= 1
	help	=
"Over the last sample interval, at least one CPU was active for
busy percent or more, and the ratio of system time to busy time
exceeded threshold percent.  Only applies to multi-processor
systems, for single-processor systems refer to the cpu.system
rule.";

string	rule
	default	= "Some CPU busy executing in system mode"
	modify	= no
	display	= no;

percent	busy
	default	= 75
	help	=
"Busy percentage for average CPU utilization, in the range 0 (idle)
to 100 (completely busy), independent of the number of CPUs.";

percent	threshold
	default	= 80
	help	=
"Threshold percentage for system time as a fraction of the non-idle
CPU time, in the range 0 (no system time) to 100 (all system time),
independent of the number of CPUs.";

string	action_expand
	default	= %v%sys[%i]@%h
	display	= no
	modify	= no;

string	email_expand
	default	= "host: %h CPU: %i system mode: %v%"
	display	= no
	modify	= no;

#
# --- DO NOT MODIFY THIS FILE --- see pmieconf(5)

Youez - 2016 - github.com/yon3zu
LinuXploit