What is pid?
Answers were Sorted based on User's Feedback
Answer / raj
process idntification no. which has genrated for every
process and this is the unique one.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / bharath
Unix identifies every process by a Process Identification
Number (pid) which is assigned when the process is
initiated. When we want to perform an operation on a
process, we refer to it by its pid or ProcessId.
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / venu
Pid is basically process identification number and it's
required for executing any kind of tasks. pid will get
changed when you take the restart of server.
Regards,
Venu
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kiruthiga,s
each and every process have a unique id by which the kernel
will identify a process. this is caled PID.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of the command 'ls -x chapter[1-5]' ?
What are the unix commands?
Through which command will redirect output to bOth screen and files at the same time?
How do I search for text in vi?
How to view the hidden files in /etc directory?
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<stdlib.h> # include <stdio.h> 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:
What command is used to switching between users in unix?
What is grep and sed command?
How do you repeat a command in terminal?
How to use grep command to list find the records of a file containing 10 different strings?
distinguish between interrupts and exceptions?
How do you remove a directory?