Open at15 opened 8 years ago
https://github.com/shirou/gopsutil/ is used for inspect a running process, golang does not provide this kind of function .... ( I guess even nodejs has more support for this, ie: pm2)
got stuck on using gopsutil, maybe use tasklist
on windows is a better idea, it can get memory usage and see if a process is still running.
typeperf can also be used http://superuser.com/questions/1005945/command-line-utility-to-see-list-of-tasks-cpu-usage-memory-and-execute
There are two possible reasons
The possible solutions are