Monday, 17 April 2017

Is there a best way to get all system Linux services in NodeJS?

I have NodeJS project working on Linux only (required). It will get system information to put to client via RestAPI. What I've done are get cpu, memory, hard disk/filesystem, network, processes, users, os info, peripherals and removable devices. But I can't get or list all system services like service --status-all and should be show like Windows Task Manager - Services Tab enter image description here

My API will serialize to JSON object for each service and send to client. How can I get all services available on Linux system?



via Anh Quoc Tran

No comments:

Post a Comment