403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/skillsitcom/.trash/dashboard/front/sh/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/skillsitcom/.trash/dashboard/front/sh/load.php
<?php

// /bin/cat /proc/loadavg | /usr/bin/awk '{print $1","$2","$3}'

$cores = exec('/bin/grep -c ^processor /proc/cpuinfo');

$loadavg = exec('/bin/cat /proc/loadavg | /usr/bin/awk \'{print $2}\'');

$load = round(($loadavg*100)/$cores ,1);

//$load = $perc;	

if($cores == 1) {
	$ncores = '1 core'; }
else {
	$ncores = $cores.' cores'; }	

//echo $load."% &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(5 min)";

echo $load."% &nbsp;&nbsp;&nbsp;&nbsp;(".$ncores.")";	
	
if($load > 90) { $corl = "progress-bar-danger"; }

if($load >= 60 and $load <= 90) { $corl = "progress-bar-warning"; } 

if($load > 51 and $load < 60) { $corl = "progress-bar"; }

if($load > 0 and $load <= 50) { $corl = "progress-bar-success"; }	


?>

Youez - 2016 - github.com/yon3zu
LinuXploit