Re: How is run queue length computed in linux proc filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/16/2013 09:20 AM, emani murali wrote:
> Hi,
>
> I'm trying to obtain number of runnable processes from linux kernel. sar
> -q gives this information readily. However I'm trying to get this value
> from /proc filesystem. There is no file in /proc that gives this value
> directly, then how is runq-sz computed.

Tools like top, vmstat, and sar, simply look at all the processes
in /proc, and count the number that are in runnable (R) state.

-- 
All rights reversed.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux