How does one process we can start an executable file? How to
get the PID process, which we started?

Answer Posted / vimal

ps -ef|grep username


gives the process started by the user.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does this command do? Cat food 1 > kitty

965


What command is used to check the current users?

578


How do I delete files from command prompt?

542


What is the command to view process running?

564


What does grep v grep do?

536






Why is awk called awk?

570


What is merge command in unix?

931


What is the comma to display different lines that are found when compare two files?

579


What is the command to find maximum memory taking process on the server?

659


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

530


Explain command to show the space allocation of files?

618


How do I use nslookup?

563


Which unix command to make a new directory?

579


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:

1745


What is the significance of the 'tee' command?

587