HomePHP Page 7 - Retrieving System Information With patSysinfo
Running Out of RAM - PHP
Linux file structure contains within it a special area called /proc. Now, some believe that there's black magic in that directory. For those who know better than to fear the /proc, there awaits much good magic, in the form of server info. Looking for a way to retrieve real-time server information and display it to users in your Web application? Today's your lucky day! Take a look at the patSysinfo PHP class, which lets you do that and a whole lot more.
Detailed memory usage can be obtained via the very cool getMem() method, which provides data on current memory usage and available resources. Take a look: