python - Get process name by PID -


this should simple, i'm not seeing it.

if have process id, how can use grab info process such process name.

under linux, can read proc filesystem. file /proc/<pid>/cmdline contains commandline.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -