command lsscsi). The following is the output of scsiinfo -i /dev/sda,
which gives information about a hard disk. The option -a gives even more information.
linux:/ # scsiinfo -i /dev/sda
Inquiry command
---------------
Relative Address
Wide bus 32
Wide bus 16
Synchronous neg.
Linked Commands
Command Queueing
SftRe
Device Type
Peripheral Qualifier
Removable?
Device Type Modifier
ISO Version
ECMA Version
ANSI Version
AENC
TrmIOP
Response Data Format
Vendor:
Product:
Revision level:
The option -d puts out a defects list with two tables of bad blocks of a hard disk: first
the one supplied by the vendor (manufacturer table) and second the list of bad blocks
that appeared in operation (grown table). If the number of entries in the grown table
increases, it might be a good idea to replace the hard disk.
17.4 Networking
17.4.1 Show the Network Status: netstat
netstat shows network connections, routing tables (-r), interfaces (-i), masquerade
connections (-M), multicast memberships (-g), and statistics (-s).
tester@linux:~> netstat -r
Kernel IP routing table
Destination
192.168.22.0
link-local
330
Installation and Administration
FUJITSU
MAS3367NP
0104A0K7P43002BE
Gateway
Genmask
*
255.255.254.0
*
255.255.0.0
0
0
1
1
1
1
0
0
0
0
0
0
0
3
0
0
2
Flags
U
U
MSS Window
irtt Iface
0 0
0 eth0
0 0
0 eth0