UNPKG

pidusage

Version:

Cross-platform process cpu % and memory usage of a PID — Edit

12 lines (6 loc) 251 B
# Example section ## server.js Used to be tested with an HTTP benchmark tool like this one: https://github.com/wg/wrk. Start the server, run the tests on `localhost:8020` ## stresstest.js Just start node stresstest.js (but be carefull though...)