Suppose 1000 processes are running on the system out of those
if you have to show only certain process ids which command
will you use?
Answer Posted / c sivakumar. kumarsiva46@yaho
pgrep -fl <scriptname> This command will show respective
process alone.
Example:-
ready> pgrep -fl genericShip.pl
(output following below)
11607 /usr/local/bin/perl /forms1/prodenv/genericShip.pl
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is updatedb?
What's a command word?
Who command in unix?
What is the use of finger command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do you repeat a command in terminal?
What is s and g in sed command?
What are grep patterns?
What command is used to switching between users in unix?
What does the command '$ls | wc –l > file1' do?
What is the command to find maximum memory taking process on the server?
Write a command to display a file’s contents in various formats?
Is command prompt unix?
What is grep r?
What is difference between grep and find command in unix?