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...

How do you find out all processes that are currently
running in UNIX OS?

Answer Posted / abhijit

ps -fu <username>

or

ps -ef | grep username


Thanks
- @bhijit kulkarni

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sed command do in unix?

1147


How can you see the command line history?

1110


What is the difference between grep and grep?

1095


Explain mount and unmount command.

1177


What is the significance of the 'tee' command?

1175


Which unix command lists files/folders in alphabetical order?

1705


What are awk commands?

1125


What is awk command used for?

1178


What is the search command in unix?

1065


What is command substitution?

1302


Write a command to display a file’s contents in various formats?

1173


How does shebang work?

1041


Which command is used to copy files?

1147


How do I search for text in vi?

1008


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:

2232