A utility tool to watch each CPU core utilization, as well as memory and disk for process.
You need install go SDK
go build monitor.go
./monitor [--extraInfo=True] [--logFile=log.txt] program1 program2 ...
- Just watch cpu
'./monitor'
- Watch cpu and process
'./monitor firefox'
- Watch cpu, process, disk, memory
'./monitor --extraInfo=True'
It will output below format txt:
Date Time | NCPU Total(All) Idle(All) Used(All), Total(cpu0) Idel(cpu0) Used(cpu0), ... | ProgramName PID Used Used*NCPU