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

Answer Posted / reddy

ps -ef|grep java

excute the above comand.......

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who command in unix operating system?

660


How do I delete files from command prompt?

549


Which command can you use to find the currently running process in unix server?

584


What is the significance of the 'tee' command?

594


What happens when we execute a unix command?

597






Which unix command lists files/folders in alphabetical order?

614


How can we use grep command in unix?

612


What is a bash command?

624


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:

1758


What is the general format of unix command syntax?

690


Which command is used to restrict incoming messages?

592


What is in grep command?

645


What do chown command do?

533


What do chgrp command do?

589


Who wrote grep?

577