cancel
Showing results for 
Search instead for 
Did you mean: 

linux

Bhargava m.k.
Occasional Contributor

linux

what is the command to find i/o devices in linux.
4 REPLIES
skt_skt
Honored Contributor

Re: linux

look at the sub dir under /proc like scsi, ide, etc..

Also see "iostat" output.

Stuart Browne
Honored Contributor

Re: linux

dmesg
lspci
lsusb
lsmod
cat /proc/scsi/scsi
cat /proc/meminfo
cat /proc/ioports
cat /proc/interrupts


Really, it does depend on what type of IO device you are looking for. Combinations of these will show you pretty much everything in the system.

But you may be better off just viewing '/etc/sysconfig/hwconf' (which is what kudzu maintains).
One long-haired git at your service...
dirk dierickx
Honored Contributor

Re: linux

try the 'lshw' command as well.
Zeev Schultz
Honored Contributor

Re: linux

lshw doesn't come with most Linux distros,I think. Anyway,as was said it is one of the most informative.

To find disks/partitions I usually use "fdisk -l", for the rest - /proc + /var/log/messages (or dmesg).
So computers don't think yet. At least not chess computers. - Seymour Cray