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

What is the behavioural difference between cmp and diff commands?

1340


What are the dos commands?

1308


What is the use of finger command?

1267


Which command is used to kill the last background job?

1389


What do know about tee command and its usage?

1246


How do you repeat a command in terminal?

1288


What is the use of tee command?

1233


Give the command for finding the current date.

1172


What are the differences among a system call, a library function, and a unix command?

1268


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2317


What difference between cmp and diff commands?

1348


How to display no of records in oracle using unix command?

1225


why metadb requires a seperate slice to create Solaris volume manager

3247


how to sort the content of the file based on numeric values

1832


What does find command return in unix?

1200