Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

1 Answer 1

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

 
discard

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.