Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1575


Who invented grep?

1164


Why is grep called grep?

1305


Which command is used to find whether the system is 32 bit or 64 bit?

1153


What is the use of sed command in unix?

1215


What is command statement?

1183


How do I delete files from command prompt?

1227


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1251


Describe the usage and functionality of the command rm –r * in unix?

2106


What is the use of awk command in unix?

1136


Is grep faster than awk?

1047


what is the advaantage of each user having its own copy of the shell?

2561


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1409


How can we use grep command in unix?

1218


Can you enlist some commonly used network commands?

1121