If you've ever wanted to show the stats of your box (whether just to show off, or, more practically, monitor your system's health), then DevShed's new article might just be for you.
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.
Using the patSysinfo class from the PHP Application Tools group, you can pull valuable details from the /proc directory on your server, showing you the stats you want with simple function calls to it's API. With calls like getCpu or getKernelVersion you can quickly be on your way to displaying a summary tailored to just you...




