Re: Proc and sys files formats help?

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

 



On Sat, Apr 23, 2005 at 11:41:48PM +1200, Xiangfei Jia wrote:
> Proc files are very useful to monitor kernel running status. But the outputs 
> of proc files are meaningless unless you know what the outputs stand for. 
> for example the output of the "/proc/modules", does the hex address at the 
> end of each line represent the starting address in the kernel or what?

Every proc file has a different format.  Good luck in figuring them all
out.

> Since 2.6, the sys files are added. I have the same problem too. It's too 
> difficult to understand the output of sys files.

sysfs files are only 1 value per file.  Their filename should be the
clue as to what the contents are.

> Just want to ask Where I can find the docs for the output format of these 
> files. ( I don't want to hacking into kernel source to find it out.)

Why not?  That's the simplest way to determine this.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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