Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sdata = exec("ps aux | grep \"home/$username/Server$ID/samp$ID\"");
- $cpuload = substr($sdata, 15, 4);
- $ram = substr($sdata, 25, 6) / 100;
- $hdd = format_size(filesize_r("/home/$username/Server$ID"));
Add Comment
Please, Sign In to add comment