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 are bash commands?
How to delete a directory containing files and folders?
which script will invoke first ,when /etc/init.d starts
How do I find previous commands in unix?
How does the user view the contents of a text file in UNIX?
How do you stop a running process?
what do you understand bythe term 'de-mountable volumes'?
Describe the zip/unzip command using gzip.
Which Command is Used for temprary switch User?
What is unix command line?
What does #!/ Bin sh do?
what is the shell for dos,nt operating systems?