PHP Shell Exec script

I am searching a script that sees exactly the % of ram usage what my VPS is using.
If you know how to fix it then please leave a command.
My VPS is using Debian.
http://stats.nurdrage.nl


image: 7110d106cf02da12fbfb18ff8052cdfa

ALREADY FIXED!
Comments
12
Already checked it, and it isn't right.
Check it: http://stats.nurdrage.nl/mem.php
Parent
no idea maybe try wrapping a call to free -m and parsing the output
I got one,
Quote<?PHP echo memory_get_usage() . "\n"; ?>
problem is I don't know if its right.
Memory Usage: 671304

http://stats.nurdrage.nl/
Parent
Quotememory_get_usage — Returns the amount of memory allocated to PHP


thats not your system on a whole thats just php

looks like you got something more like it though :]
Parent
Well I have it fixed!
http://stats.nurdrage.nl/
Thq btw! if you want this script just send me a PM and I will send it to you.
Parent
Why send a PM and not just write here, is it a secret ?
Parent
No, I'm a racist.
Parent
I HAVE IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

http://stats.nurdrage.nl/test.php
Was actually scrolling down to reply with phpsysinfo ^^
Parent
Quotehttp://rk4an.github.com/phpsysinfo/

http://uk1.msh100.co.uk/phpsysinfo/

much better than the bullshit you have :D


Why?
Parent
Back to top