We can use netstat to list all software ports,but how to list all hardware ports,is there such a tool?

link|improve this question
feedback

2 Answers

Under Linux:

cat /proc/ioports
link|improve this answer
feedback

well, they are 'different' ports - tcp ports are more in terms of IO than actual ports (USB, PCI slots ect)

If you want hardware information you can use lshw or (i believe ) dmidecode. If you want to know what's going on in terms of I/O in general you can use iotop

link|improve this answer
Does dmidecode show information about the port number of a device? – io2 May 6 '11 at 1:26
Not that kind of port. – Ignacio Vazquez-Abrams May 6 '11 at 1:27
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.