Which is the command used to find out currently executing
Process in UNIX?

Answer Posted / hemapriyadharshini.s

ps -ef

Is This Answer Correct ?    46 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does this command do,"$more readme.txt“?

699


What are bash commands?

606


How does the system know where one command ends and another begins?

1586


What will the following command do?

627


What are grep patterns?

585






What is merge command in unix?

956


What are the unix commands?

567


What is “chmod” command?

575


What is the difference between awk and grep?

567


What is the use of find command in unix?

592


What do know about tee command and its usage?

603


How many unix commands are there?

637


Why is it called a shebang?

589


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:

1773


Which command will print your home directory on screen?

561