Server TPS and CPU usage - drupijs/Drupi-JS GitHub Wiki
You can get the TPS and CPU relatively simple
manager.getTPS(); //Which will return a String with the TPS Ex: "19.99"
manager.getCPU(); //Which will return a Double with the CPU usage in percentage Ex: 0.1