08-01-2012
18,
0
Join Date: Mar 2012
Last Activity: 27 January 2014, 2:23 PM EST
Posts: 18
Thanks Given: 2
Thanked 0 Times in 0 Posts
Blocked process and preempt
Hello Everyone,
There is a column kthr:b in vmstat. How a process become blocked?
If the process calls system call pread and sleeps inside it, is the process blocked in that moment?
How a process sleeping because it has no work at all (as Notepad when we are not using it) differs from a process which is sleeping because is waiting for I/O request?
Thanks
p.s.
I have written "and preempt" in the subject because wanted to ask about it, but now please ignore this part. I do not have an option to modify subject.
Last edited by sant; 08-01-2012 at 08:24 AM..