Open npomfret opened 3 years ago
@MrRio was hoping you could advise me on using this package as a lib rather than a gui. I wan't to periodically log some CPU stats, which is fairly easy to do (thanks!). I'm just trying to understand the output a little. Here's an example of some:
{ Command: 'Google Chrome Helper (Renderer)', Count: 18, 'CPU %': '0.8', 'Memory %': '7.3', cpu: 4.5, mem: 7.3 } { Command: 'com.apple.WebKit.WebContent', Count: 41, 'CPU %': '3.7', 'Memory %': '26.9', cpu: 22.100000000000005, mem: 26.900000000000002 } { Command: 'node', Count: 6, 'CPU %': '1.2', 'Memory %': '1.6', cpu: 7, mem: 1.6 } { Command: 'webstorm', Count: 1, 'CPU %': '0.9', 'Memory %': '8.5', cpu: '5.6', mem: '8.5' }
My question is, what's the difference between CPU % and cpu?
CPU %
cpu
@MrRio was hoping you could advise me on using this package as a lib rather than a gui. I wan't to periodically log some CPU stats, which is fairly easy to do (thanks!). I'm just trying to understand the output a little. Here's an example of some:
My question is, what's the difference between
CPU %
andcpu
?