Get real path of application from pid?

前端 未结 5 1647
轻奢々
轻奢々 2020-12-08 01:01

How can I get the process details like name of application & real path of application from process id?

I am using Mac OS X.

5条回答
  •  春和景丽
    2020-12-08 01:37

    You can use the Activity Monitor - http://en.wikipedia.org/wiki/Activity_Monitor

    Or in the Terminal App you can use:

    ps xuwww -p PID
    

    PIDis the process id you are looking for More help on 'ps`command you can find with

    man ps
    

提交回复
热议问题