sysfs (Linux Kernel 2.6 Only)

team bbl


sysfs is another virtual file system that provides an easy interface to the kernel parameters. Currently, all nonprocess information in the procfs is ported to sysfs. The plan is to combine the sysctl and /proc interfaces into one. sysfs is also designed to replace devfs because drivers are expected to be ported to the new interfaces. This file system is automatically generated by the kernel and updated whenever devices are added or removed.

Using sysfs

The parameters can be viewed or changed by writing to the appropriate file in the sysfs file system.

    team bbl



    Performance Tuning for Linux Servers
    Performance Tuning for Linux Servers
    ISBN: 0137136285
    EAN: 2147483647
    Year: 2006
    Pages: 254

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net