Skip to main content

All Questions

Tagged with
123 votes
10 answers
279k views

How to get parent PID of a given process in GNU/Linux from command line?

Resolved before asked: cat /proc/1111/status | grep PPid
Vi.'s user avatar
  • 17.3k
0 votes
3 answers
2k views

How can I check the PID of a X-server in another virtual terminal?

I am trying to open a program in a naked X-server on a different virtual terminal. I am using ubuntu 9.10. The command I'm using is this. openvt -f -s -- `X :2 & '/path/to/program' -display :2`; ...
user19489's user avatar
5 votes
3 answers
3k views

Where does the command "top" get its information from in linux?

Which files does the linux command "top" read from in order to build its table of data? Specifically, I'd like to be able to find the data for the "command" column based off of a PID.
Evan Fosmark's user avatar
  • 1,875

15 30 50 per page
1 2
3