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


Please Help Members By Posting Answers For Below Questions

Explain ‘library functions’ with respect to unix commands?

606


What is the first character of the output in ls l command?

637


What is s and g in sed command?

563


Name the various commands that are used for the user information in unix.

543


What is the use of egrep command in unix?

630






What do know about tee command and its usage?

591


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

650


What is .sh file?

624


Name the unix command to find how many days the server has been up.

612


What are bash commands?

601


How do I open a port?

596


What do chmod command do?

606


What is sed awk grep?

609


What is the significance of the 'tee' command?

600


How do I search for a file in unix command?

552