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 |
How do you remove a crontab file?
What does find command return in unix?
what do you understand by 'unix is a portable os'?
What is the use of find command in unix?
which script will invoke first ,when /etc/init.d starts
How to copy multiple files and directories into some other directory?
What is {} in find command?
which command is used to stop a running process in unix?
How do I use grep to find a file?
their is a file1,file2 and i want to append file1 data to file2?
What is grep r?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?