How to get CPU usage and RAM usage without exec?
Use PHPSysInfo library phpSysInfo is a open source PHP script that displays information about the host being accessed. It will displays things like: Uptime CPU Memory SCSI, IDE, PCI Ethernet Floppy Video Information It directly parsed parses /proc and does not use exec. Another way is to use Linfo. It is a very fast cross-platform … Read more