Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

Under Linux:

cat /proc/ioports
share|improve this answer

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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