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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -