Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

when typing pgrep wget, it show process id 10144

but how to know what is the details of this process id

share|improve this question
    
What details do you want to know ? –  Iain Dec 19 '10 at 12:20
    
All I want is: what is the command for the id. because I use wget frequently, sometime I forgot an id is belong to which command –  kopeklan Dec 19 '10 at 12:25
add comment

2 Answers 2

Use the -f and -l parameter:

pgrep -fl wget
share|improve this answer
add comment

use the ps command:

ps ax | grep wget | grep -v grep
share|improve this answer
add comment

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.