pidusage : Cross-platform process cpu % and memory usage of a PID ? Edit. You can installing pidusage npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install pidusage $ sudo npm install -g pidusage
If want to update the pidusage package execute the command as below,
$ sudo npm update pidusage
Update package globally,
$ npm install -g pidusage
$ sudo git clone https://github.com/rektide/pidusage.git
$ sudo npm install -g ./pidusage
pidusage@1.2.0 /usr/lib/node_modules/pidusage
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pidusage
| Package Name | pidusage |
| Version | 1.2.0 |
| Description | Cross-platform process cpu % and memory usage of a PID ? Edit |
| Released Date | 2017-10-23T15:52:57.558Z |
| Published by | soyuka |
| How to Learn | https://www.npmjs.com/package/pidusage/tutorial |