Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a command that will give only mingetty's information. How can you construct the command to find only mingetty data and find the PPID in Linux?

share|improve this question

migrated from May 11 '13 at 1:41

This question came from our site for professional and enthusiast programmers.

Off-topic; belongs on Super User – Ex Umbris May 10 '13 at 21:03

Use the -C option to select processes by name, and -o to specify the output information.

ps -C mingetty -o ppid
share|improve this answer
Thank you! very much appreciated. – Jose Hernandez May 13 '13 at 15:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.