
44 Chapter 2. The /proc File System
Interrupts: 33726
BIOS Control Word: 0x18a6
Adapter Control Word: 0x1c5f
Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
Ultra Enable Flags: 0x0020
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 1:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 1:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
Statistics:
(scsi1:0:5:0)
Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
Transinfo settings: current(12/15/0/0), goal(12/15/0/0), user(12/15/0/0)
Total transfers 0 (0 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 0 0 0 0 0
(scsi1:0:6:0)
Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
Transinfo settings: current(25/15/0/0), goal(12/15/0/0), user(12/15/0/0)
Total transfers 132 (0 reads and 132 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 1 131 0 0 0
From this screen, you can see the transfer speed to the various SCSI devices connected to the controller
based on channel ID, as well as detailed statistics concerning the amount and sizes of files read or
written by that device. By referring to the /proc/scsi/scsi file, we can see that this controller is
communicating with the CD-ROM at 20 megabits per second, while the tape drive is only connected
at 10 megabits per second.
2.3.8. /proc/sys/
The /proc/sys/ directory is different from others in /proc because it not only provides information
about the system but also allows you to make configuration changes to the kernel. This allows the
administrator of the machine to immediatley enable and disable kernel features.
Warning
Use caution when changing settings on a production system using the various files in the /proc/sys/
directory. Changing the wrong setting may render the kernel unstable, requiring a reboot of the sys-
tem.
For this reason, be sure you know the valid options for that file and the expected outcome before
attempting to change a value in /proc/sys/.
Commenti su questo manuale