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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / aseem
It is up to you, how you want. For example suppose you want
to display a range like PID from 1500 to 2000 then
ps -ef | grep '[1500 - 2000]'
| Is This Answer Correct ? | 0 Yes | 4 No |
what will be the output of ls ~/..
How to open a Database using Unix Command Please Do Reply
What is the use of sed command in unix?
Briefly, how do you install Oracle software on UNIX.
distinguish between paging and swapping?
What is the use of touch command in there?
Who wrote grep?
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
What is the use of egrep command in unix?
How do you know about running processes of a particular user?
How do you change your account's password?
What is the protocol for PING command?