Skip to main content

All Questions

Tagged with
358 votes
11 answers
781k views

If I know the PID number of a process, how can I get its name?

If I have the PID number for a process (on a UNIX machine), how can I find out the name of its associated process? What do I have to do?
AndreaNobili's user avatar
  • 7,201
28 votes
2 answers
18k views

Linux - alternative places where to store pid file instead of /var/run

As written in the title, where should I let the init script write the pid file? are there any standard paths I should choose instead of the /var/run? Could /tmp be a good place where to store it or ...
Murko's user avatar
  • 385