All Questions
33
questions
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
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`;
...
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.