Red Hat ENTERPRISE LINUX 3 Reference Manual page 81

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

proc
Chapter 5. The
For example, the
/proc/bus/usb/
any USB buses, as well as the drivers required for them. The following is a sample listing of a
directory:
/proc/bus/usb/
total 0
dr-xr-xr-x
1 root
-r--r--r--
1 root
-r--r--r--
1 root
The
/proc/bus/usb/001/
identifies the USB root hub on the motherboard.
The following is a example of a
T:
Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=
B:
Alloc=
0/900 us ( 0%), #Int=
D:
Ver= 1.00 Cls=09(hub
P:
Vendor=0000 ProdID=0000 Rev= 0.00
S:
Product=USB UHCI Root Hub
S:
SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=
I:
If#= 0 Alt= 0 #EPs= 1 Cls=09(hub
E:
Ad=81(I) Atr=03(Int.) MxPS=
5.3.3.
/proc/driver/
This directory contains information for specific drivers in use by the kernel.
A common file found here is
Clock (RTC), the device that keeps the time while the system is switched off. Sample output from
/proc/driver/rtc
rtc_time : 01:38:43
rtc_date : 1998-02-13
rtc_epoch : 1900
alarm
: 00:00:00
DST_enable : no
BCD
: yes
24hr
: yes
square_wave : no
alarm_IRQ : no
update_IRQ : no
periodic_IRQ : no
periodic_freq : 1024
batt_status : okay
For more information about the RTC, review
5.3.4.
/proc/fs
This directory shows which file systems are exported. If running an NFS server, typing
/proc/fs/nfs/exports
those file systems. For more on file system sharing with NFS, refer to Chapter 9 Network File System
(NFS).
File System
subdirectory contains files that track the various devices on
root
root
root
directory contains all devices on the first USB bus and the
/proc/bus/usb/devices
) Sub=00 Prot=00 MxPS= 8 #Cfgs=
, which provides output from the driver for the system's Real Time
rtc
looks like the following:
displays the file systems being shared and the permissions granted for
0 May
3 16:25 001
0 May
3 16:25 devices
0 May
3 16:25 drivers
file:
1 Spd=12
0, #Iso=
0
0mA
) Sub=00 Prot=00 Driver=hub
8 Ivl=255ms
/usr/src/linux-2.4/Documentation/rtc.txt
devices
MxCh= 2
1
63
file
.
cat

Advertisement

Table of Contents
loading

Table of Contents