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 virtual machine?
What is the command to compare two files in unix?
What is a command and examples?
Which is the command used to find out currently executing Process in UNIX?
what are the different hardwares available?
Does cp command overwrite files?
what is the command to find out the difference between files and folders?
what are processor execution levels and priorities?
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:
Write a command to find all of the files which have been accessed within the last 30 days.
5 Answers Google, IBM, Satyam,
What is the function of grep command in unix?
What is the behavioural difference between cmp and diff commands?