
22 Linux for IBM System z9 and IBM zSeries
Figure 2-4 The /sys/devices/qeth/0.0.0600/ directory
To query the online status of the device, run this command:
# cat /sys/devices/qeth/0.0.0600/online
1
The device is online as indicated by the 1 (0 indicates the device is offline).
The /sys/bus directory
This directory contains the ccw and ccwgroup subdirectories. CCW devices
are accessed using channel command words. Devices in the ccw
subdirectory use only one subchannel in the channel subsystem. Devices in
the ccwgroup subdirectory use more than one subchannel per device. For
example, DASD devices use a single subchannel, while a QDIO device uses ...