Open GoogleCodeExporter opened 9 years ago
Yes it can change (I also wasn't aware), see issue 331.
Perhaps we can investigate whether this is also true on Windows though.
Original comment by g.rodola
on 3 Jan 2014 at 11:39
Sorry, i did not see the issue 331. I understand why the cmdline is not cached.
Netherless, I just try to see if i can reduce the CPU consumption of Glances
(http://github.com/nicolargo/glances). Compare to stop, it take arround 10x CPU.
If you have any idea to reduce it...
Thk for your answer !
Original comment by nicolash...@gmail.com
on 3 Jan 2014 at 12:52
Sure I know glances (very nice tool).
What platform are you talking about? Linux?
If it takes too much I think it's fine if you cache the cmdline yourself.
After all it's not something which should change that often.
Same for uids, gids, terminal and possibly others.
You might decide to cache those metrics and, say, update them every 10 secs or
something.
Original comment by g.rodola
on 3 Jan 2014 at 1:41
Ok i will try to make some benchs. Thk for support.
Original comment by nicolash...@gmail.com
on 3 Jan 2014 at 2:29
psutil has been migrated from Google Code to Github (see:
http://grodola.blogspot.com/2014/05/goodbye-google-code-im-moving-to-github.html
).
Please do NOT reply here but use this instead:
https://github.com/giampaolo/psutil/issues/462
Original comment by g.rodola
on 26 May 2014 at 3:07
Original issue reported on code.google.com by
nicolash...@gmail.com
on 3 Jan 2014 at 9:08