0

I see the pricessid ranging from 800 to arround 6500. So what process or algorithm does Ubuntu use to assign unique pid to the process?

1

1 Answer 1

1

The kernel beneath the ubuntu platfrom uses some process-scheduling algorithm to schedule the process by accessing its PCB (Process Control Block). PCB is a datastructure in linux OS where the whole information is kept regarding the process and the processID is also kept in that data structure. You can also see the PCB in linux under /proc/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .