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 command would users use to see what file one page at a time in UNIX?
How do you find which version and name of unix you are using at the command prompt?
Enumerate some of the most commonly used network commands in unix?
How do I search a whole word in vim?
What does grep v do?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
How to find the files that are accessed before 10 minutes?
What does mkdir up2date; touch outdated up2date do?
What happens when we execute a unix command?
What is the search command in unix?
How does pipe () work?