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? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -