查看/proc/net/wireless文件

结果看上去可能是这个样子

[root@k root]# cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
wlan0: 0001  255   160   160        0      0      0      0      0        0

For each device, the following information is given :
• Status : Its current state. This is a device dependent information.
• Quality - link : general quality of the reception.
• Quality - level : signal strength at the receiver.
• Quality - noise : silence level (no packet) at the receiver.
• Discarded - nwid : number of discarded packets due to invalid network id.
• Discarded - crypt : number of packet unable to decrypt.
• Discarded - misc : unused (for now).

 

介绍的挺明确的了,status似乎可以用来判断该设备是否启用?不明确,继续学习中。