Operating System - HP-UX
1838047 Members
4156 Online
110124 Solutions
New Discussion

Re: Exact description of fields returned by ioscan -F ?

 
SOLVED
Go to solution
Eric SAUBIGNAC
Honored Contributor

Exact description of fields returned by ioscan -F ?

Hi all,

does any one know where i could find a detailed description of all the fiels returned with option '-F' of ioscan.

'man ioscan' is a beat light ...

Thanks in advance
5 REPLIES 5
Peter Godron
Honored Contributor
Solution

Re: Exact description of fields returned by ioscan -F ?

Eric,
I assume you have seen:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=210633

Inclusive of Perl tip, althought the link is actually http://www.cpan.org/modules/by-module/HPUX/CWHITE/


Torsten.
Acclaimed Contributor

Re: Exact description of fields returned by ioscan -F ?

Hi,

it is all in the man page:

"...
Fields

The -F option can be used to generate a compact listing of fields separated by colons (:), useful for producing custom listings with awk. Fields include the module's bus type, cdio, is_block, is_char, is_pseudo, block major number, character major number, minor number, class, driver, hardware path, identify bytes, instance number, module path, module name, software state, hardware type, a brief description, and card instance. If a field does not exist, consecutive colons hold the field's position. Fields are defined as follows:
..."

see

http://docs.hp.com/en/B2355-60105/ioscan.1M.html

I would prefer "ioscan -fn" or something more readable ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Eng. Mohammad
Frequent Advisor

Re: Exact description of fields returned by ioscan -F ?

Hi Eric
the follwing are simple output of ioscan -f
disk 2 1/0/1/1/0/1/1.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
target 6 1/0/1/1/0/1/1.7 tgt CLAIMED DEVICE
ctl 3 1/0/1/1/0/1/1.7.0 sctl CLAIMED DEVICE Initiator
lan 0 1/0/1/1/0/4/0 igelan CLAIMED INTERFACE HP A6794-60001 PCI 1000Base-T

the field are (from left to right)
1- (class) device type
2- (I) instance
3- (H/W Path) address of the device and the bus
4- (Driver) the software in HP-UX that deals with the hardware device
5-(S/W State) the status of the device
6-(H/W Type) port or bus or device etc...
7- (Description) the model (brand ) of the device

hope this will help
Eric SAUBIGNAC
Honored Contributor

Re: Exact description of fields returned by ioscan -F ?

Well, so much for me.

I had a too fast reading with the man page !

Many thanks

eric
Eric SAUBIGNAC
Honored Contributor

Re: Exact description of fields returned by ioscan -F ?

closed