[Fusioninventory-user] HPUX command output wanted
Earl
innate.ideas at gmail.com
Wed May 4 00:23:00 UTC 2011
Guillaume Rousse <guillomovitch at ...> writes:
>
> Hello HPUX users.
>
> Here is a list of HPUX-specific commands for which I'd like to have a
> non-localized (LC_ALL=C LANG=C) output, for testing purpose. Thanks for
> your help !
>
> model
> sc product IPF_MEMORY;info' | /usr/sbin/cstm
> echo 'sc product IPF_MEMORY;il' | /usr/sbin/cstm
> echo 'sc product mem;il'| /usr/sbin/cstm
> echo 'sc product cpu;il' | /usr/sbin/cstm
> echo 'sc product system;il' | /usr/sbin/cstm
> echo 'itick_per_usec/D' | adb -k /stand/vmunix /dev/kmem
> hpvminfo
> ioscan -kFnC tape
> ioscan -kFnC disk
> ioscan -kFC processor
> ioscan -kFC ioa
> ioscan -kFC ba
> ioscan -kFC ext_bus
> ioscan -kFC fc
> ioscan -kFC psi
> lanscan -iap
> netstat -nrv
> /opt/hpsmh/data/htdocs/comppage/getMPInfo.cgi
> /opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor
> swapinfo -dt
>
Here you go. Much of the output you are requesting is longer than 80 characters
so the mailing list software errors and won't let me post it.
Please note that I provided command output twice if they appeared
different when run on an HP virtual machine vs. running on a physical machine.
Also note that with the exception of the ioscan for tape these commands were all
run on HP-UX 11.31 (Sept 2010) on Itanium.
# model (run inside a virtual machine)
ia64 hp server Integrity Virtual Machine
# model (run on a physical server)
ia64 hp Integrity BL870c i2
cstm is obsolete and no longer supported on HP-UX 11.31 on Itanium. cprop seems
to be the replacement command. I can provide the cprop equivalent commands if
you want them.
# cstm
This command is not supported on this server model.
Please use System Management Homepage (see hpsmh(1M)).
# echo 'itick_per_usec/D' | adb -k /stand/vmunix /dev/kmem
adb: info: Option -k is deprecated.
itick_per_usec:
adb: warning: Unrecognized format character - 'D'.
# hpvminfo (run on a hpvm guest)
hpvminfo: Running inside an HPVM guest.
# hpvminfo (run on a hpvm host)
hpvminfo: Running on an HPVM host.
# ioscan -kFnC tape
scsi:wsio:F:T:F:-1:205:278528:tape:stape:0/9/0/0.4.0:1 128 2 2 0 0 0 0 174 62
131 165 0 0 0 0 :0:root.sba.lba.c720.tgt.stape:stape:CLAIMED:DEVICE:UNISYS
M1016B M2481BU:4
/dev/rmt/0m /dev/rmt/c4t4d0BEST
/dev/rmt/c4t4d0D3480
/dev/rmt/0mb /dev/rmt/c4t4d0BESTb
/dev/rmt/c4t4d0D3480b
/dev/rmt/0mn /dev/rmt/c4t4d0BESTn
/dev/rmt/c4t4d0D3480n
/dev/rmt/0mnb /dev/rmt/c4t4d0BESTnb
/dev/rmt/c4t4d0D3480nb
# ioscan -kFC processor
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:0/120:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:0:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:0:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:0/122:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:1:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:1:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:0/124:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:2:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:2:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:0/126:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:3:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:3:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:1/120:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:4:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:4:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:1/122:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:5:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:5:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:1/124:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:6:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:6:
em:central_bus:F:F:F:-1:-1:4294967295:processor:processor:1/126:0 32 0 0 0 4 0 1
0 0 0 0 0 0 0 3 80 82 79 67 69 83 83 79 82 0 0 0 0 0 0 0 0 0 0 0
:7:root.cell.processor:processor:CLAIMED:PROCESSOR:Processor:7:
# ioscan -kFC ioa
em:central_bus:F:F:F:-1:-1:4294967295:ioa:cec_gen:0/0:255 255 255 255 0 0 0 3 0
0 6 0 0 0 0 1 72 87 80 48 48 48 49 0 0 0 0 0 0 0 0 0 34 240 0 1
:0:root.cell.cec_gen:cec_gen:CLAIMED:BUS_NEXUS::0:
em:central_bus:F:F:F:-1:-1:4294967295:ioa:cec_gen:1/0:255 255 255 255 0 0 0 3 0
0 6 0 0 0 0 1 72 87 80 48 48 48 49 0 0 0 0 0 0 0 0 0 34 240 0 1
:1:root.cell.cec_gen:cec_gen:CLAIMED:BUS_NEXUS::1:
# ioscan -kFC ext_bus (run on a virtual machine)
pci:wsio:F:T:F:-1:22:0:ext_bus:gvsd:0/0/0/0:16 60 19 57 0 0 0 0
:0:root.cec_gen.gh2p.gvsd:gvsd:CLAIMED:INTERFACE:HPVM AVIO Stor Adapter:0:
pci:wsio:F:T:F:-1:22:131072:ext_bus:gvsd:0/1/0/0:16 60 19 57 0 0 0 0
:2:root.cec_gen.gh2p.gvsd:gvsd:CLAIMED:INTERFACE:HPVM AVIO Stor Adapter:2:
pci:wsio:F:T:F:-1:22:196608:ext_bus:gvsd:0/2/0/0:16 60 19 57 0 0 0 0
:3:root.cec_gen.gh2p.gvsd:gvsd:CLAIMED:INTERFACE:HPVM AVIO Stor Adapter:3:
pci:wsio:F:T:F:-1:22:262144:ext_bus:gvsd:0/3/0/0:16 60 19 57 0 0 0 0
:4:root.cec_gen.gh2p.gvsd:gvsd:CLAIMED:INTERFACE:HPVM AVIO Stor Adapter:4:
em:wsio:F:F:T:0:0:65536:ext_bus:usb_ms_scsi:255/1/0:0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 :1:root.virtroot.mass_storage.usb_ms_scsi:usb_ms_scsi:CLAIMED:INTERFACE:USB
Mass Storage SCSI:1:
# ioscan -kFC fc (run on physical machine)
pci:wsio:F:T:F:-1:19:0:fc:fclp:0/0/0/7/0/0/0:16 223 241 0 0 0 0 0
:0:root.cell.cec_gen.gh2p.PCItoPCI.pci_slot.fclp:fclp:CLAIMED:INTERFACE:HP
456972-B21 8Gb PCIe 2-port LPe1205 FC Mezzanine Adapter:0:
pci:wsio:F:T:F:-1:19:65536:fc:fclp:0/0/0/7/0/0/1:16 223 241 0 0 0 0 54
:1:root.cell.cec_gen.gh2p.PCItoPCI.pci_slot.fclp:fclp:CLAIMED:INTERFACE:HP
456972-B21 8Gb PCIe 2-port LPe1205 FC Mezzanine Adapter:1:
pci:wsio:F:T:F:-1:19:131072:fc:fclp:0/0/0/9/0/0/0:16 223 241 0 0 0 0 0
:2:root.cell.cec_gen.gh2p.PCItoPCI.pci_slot.fclp:fclp:CLAIMED:INTERFACE:HP
456972-B21 8Gb PCIe 2-port LPe1205 FC Mezzanine Adapter:2:
pci:wsio:F:T:F:-1:19:196608:fc:fclp:0/0/0/9/0/0/1:16 223 241 0 0 0 2 35
:3:root.cell.cec_gen.gh2p.PCItoPCI.pci_slot.fclp:fclp:CLAIMED:INTERFACE:HP
456972-B21 8Gb PCIe 2-port LPe1205 FC Mezzanine Adapter:3:
# lanscan -iap
0x0017A47708A4 lan1 snap1 1
0x0017A47708E8 lan10 snap10 10
0x0017A47708EC lan11 snap11 11
0x1CC1DE40C6BE lan12 snap12 12
0x1CC1DE40C6C2 lan13 snap13 13
0x1CC1DE40C6BF lan14 snap14 14
0x1CC1DE40C6C3 lan15 snap15 15
0x0017A47708A8 lan2 snap2 2
0x0017A47708AC lan3 snap3 3
0x0017A47708F0 lan16 snap16 16
0x0017A47708F4 lan17 snap17 17
0x1CC1DE40C6C6 lan18 snap18 18
0x1CC1DE40C6CA lan19 snap19 19
0x1CC1DE40C6C7 lan20 snap20 20
0x1CC1DE40C6CB lan21 snap21 21
0x0017A47708F8 lan22 snap22 22
0x0017A47708FC lan37 snap37 37
0xD8D385D81462 lan23 snap23 23
0xD8D385D81466 lan38 snap38 38
0xD8D385D81463 lan24 snap24 24
0xD8D385D81467 lan39 snap39 39
0x0017A47708A2 lan6 snap6 6
0x0017A47708A6 lan7 snap7 7
0x0017A47708B2 lan25 snap25 25
0x0017A47708E6 lan26 snap26 26
0x0017A47708F2 lan27 snap27 27
0x0017A47708F6 lan28 snap28 28
0x1CC1DE40E64B lan29 snap29 29
0x1CC1DE40E64F lan30 snap30 30
0x0017A47708AA lan8 snap8 8
0x0017A47708AE lan9 snap9 9
0x0017A47708EA lan31 snap31 31
0x0017A47708EE lan32 snap32 32
0x0017A47708FA lan33 snap33 33
0x0017A47708FE lan34 snap34 34
0x1CC1DE40E653 lan35 snap35 35
0x1CC1DE40E657 lan36 snap36 36
0x0017A47708A0 lan900 snap900 900
0x000000000000 lan901 snap901 901
0x0017A47708B0 lan902 snap902 902
0x000000000000 lan903 snap903 903
0x000000000000 lan904 snap904 904
The nwmgr command is replacing lanscan, the command below is the nwmgr
scriptable output providing similar information.
# nwmgr --sc
lan0#if_state#current#UP
lan0#mac#current#0x0017A47708A0
lan0#subsystem#current#iexgbe
lan0#if_type#current#0x0017A47708A0
lan0#related_if#current#lan900
lan1#if_state#current#UP
lan1#mac#current#0x0017A47708A4
lan1#subsystem#current#iexgbe
lan1#if_type#current#0x0017A47708A4
lan10#if_state#current#DOWN
lan10#mac#current#0x0017A47708E8
lan10#subsystem#current#iexgbe
lan10#if_type#current#0x0017A47708E8
lan11#if_state#current#DOWN
lan11#mac#current#0x0017A47708EC
lan11#subsystem#current#iexgbe
lan11#if_type#current#0x0017A47708EC
lan12#if_state#current#DOWN
lan12#mac#current#0x1CC1DE40C6BE
lan12#subsystem#current#iexgbe
lan12#if_type#current#0x1CC1DE40C6BE
lan13#if_state#current#DOWN
lan13#mac#current#0x1CC1DE40C6C2
lan13#subsystem#current#iexgbe
lan13#if_type#current#0x1CC1DE40C6C2
lan14#if_state#current#DOWN
lan14#mac#current#0x1CC1DE40C6BF
lan14#subsystem#current#iexgbe
lan14#if_type#current#0x1CC1DE40C6BF
lan15#if_state#current#DOWN
lan15#mac#current#0x1CC1DE40C6C3
lan15#subsystem#current#iexgbe
lan15#if_type#current#0x1CC1DE40C6C3
lan2#if_state#current#DOWN
lan2#mac#current#0x0017A47708A8
lan2#subsystem#current#iexgbe
lan2#if_type#current#0x0017A47708A8
lan3#if_state#current#DOWN
lan3#mac#current#0x0017A47708AC
lan3#subsystem#current#iexgbe
lan3#if_type#current#0x0017A47708AC
lan16#if_state#current#DOWN
lan16#mac#current#0x0017A47708F0
lan16#subsystem#current#iexgbe
lan16#if_type#current#0x0017A47708F0
lan17#if_state#current#DOWN
lan17#mac#current#0x0017A47708F4
lan17#subsystem#current#iexgbe
lan17#if_type#current#0x0017A47708F4
lan18#if_state#current#DOWN
lan18#mac#current#0x1CC1DE40C6C6
lan18#subsystem#current#iexgbe
lan18#if_type#current#0x1CC1DE40C6C6
lan19#if_state#current#DOWN
lan19#mac#current#0x1CC1DE40C6CA
lan19#subsystem#current#iexgbe
lan19#if_type#current#0x1CC1DE40C6CA
lan20#if_state#current#DOWN
lan20#mac#current#0x1CC1DE40C6C7
lan20#subsystem#current#iexgbe
lan20#if_type#current#0x1CC1DE40C6C7
lan21#if_state#current#DOWN
lan21#mac#current#0x1CC1DE40C6CB
lan21#subsystem#current#iexgbe
lan21#if_type#current#0x1CC1DE40C6CB
lan4#if_state#current#UP
lan4#mac#current#0x0017A47708B0
lan4#subsystem#current#iexgbe
lan4#if_type#current#0x0017A47708B0
lan4#related_if#current#lan902
lan5#if_state#current#UP
lan5#mac#current#0x0017A47708E4
lan5#subsystem#current#iexgbe
lan5#if_type#current#0x0017A47708E4
lan5#related_if#current#lan902
lan22#if_state#current#DOWN
lan22#mac#current#0x0017A47708F8
lan22#subsystem#current#iexgbe
lan22#if_type#current#0x0017A47708F8
lan37#if_state#current#DOWN
lan37#mac#current#0x0017A47708FC
lan37#subsystem#current#iexgbe
lan37#if_type#current#0x0017A47708FC
lan23#if_state#current#DOWN
lan23#mac#current#0xD8D385D81462
lan23#subsystem#current#iexgbe
lan23#if_type#current#0xD8D385D81462
lan38#if_state#current#DOWN
lan38#mac#current#0xD8D385D81466
lan38#subsystem#current#iexgbe
lan38#if_type#current#0xD8D385D81466
lan24#if_state#current#DOWN
lan24#mac#current#0xD8D385D81463
lan24#subsystem#current#iexgbe
lan24#if_type#current#0xD8D385D81463
lan39#if_state#current#DOWN
lan39#mac#current#0xD8D385D81467
lan39#subsystem#current#iexgbe
lan39#if_type#current#0xD8D385D81467
lan6#if_state#current#UP
lan6#mac#current#0x0017A47708A2
lan6#subsystem#current#iexgbe
lan6#if_type#current#0x0017A47708A2
lan7#if_state#current#UP
lan7#mac#current#0x0017A47708A6
lan7#subsystem#current#iexgbe
lan7#if_type#current#0x0017A47708A6
lan25#if_state#current#DOWN
lan25#mac#current#0x0017A47708B2
lan25#subsystem#current#iexgbe
lan25#if_type#current#0x0017A47708B2
lan26#if_state#current#DOWN
lan26#mac#current#0x0017A47708E6
lan26#subsystem#current#iexgbe
lan26#if_type#current#0x0017A47708E6
lan27#if_state#current#DOWN
lan27#mac#current#0x0017A47708F2
lan27#subsystem#current#iexgbe
lan27#if_type#current#0x0017A47708F2
lan28#if_state#current#DOWN
lan28#mac#current#0x0017A47708F6
lan28#subsystem#current#iexgbe
lan28#if_type#current#0x0017A47708F6
lan29#if_state#current#DOWN
lan29#mac#current#0x1CC1DE40E64B
lan29#subsystem#current#iexgbe
lan29#if_type#current#0x1CC1DE40E64B
lan30#if_state#current#DOWN
lan30#mac#current#0x1CC1DE40E64F
lan30#subsystem#current#iexgbe
lan30#if_type#current#0x1CC1DE40E64F
lan8#if_state#current#DOWN
lan8#mac#current#0x0017A47708AA
lan8#subsystem#current#iexgbe
lan8#if_type#current#0x0017A47708AA
lan9#if_state#current#DOWN
lan9#mac#current#0x0017A47708AE
lan9#subsystem#current#iexgbe
lan9#if_type#current#0x0017A47708AE
lan31#if_state#current#DOWN
lan31#mac#current#0x0017A47708EA
lan31#subsystem#current#iexgbe
lan31#if_type#current#0x0017A47708EA
lan32#if_state#current#DOWN
lan32#mac#current#0x0017A47708EE
lan32#subsystem#current#iexgbe
lan32#if_type#current#0x0017A47708EE
lan33#if_state#current#DOWN
lan33#mac#current#0x0017A47708FA
lan33#subsystem#current#iexgbe
lan33#if_type#current#0x0017A47708FA
lan34#if_state#current#DOWN
lan34#mac#current#0x0017A47708FE
lan34#subsystem#current#iexgbe
lan34#if_type#current#0x0017A47708FE
lan35#if_state#current#DOWN
lan35#mac#current#0x1CC1DE40E653
lan35#subsystem#current#iexgbe
lan35#if_type#current#0x1CC1DE40E653
lan36#if_state#current#DOWN
lan36#mac#current#0x1CC1DE40E657
lan36#subsystem#current#iexgbe
lan36#if_type#current#0x1CC1DE40E657
lan900#if_state#current#UP
lan900#mac#current#0x0017A47708A0
lan900#subsystem#current#hp_apa
lan900#if_type#current#0x0017A47708A0
lan901#if_state#current#DOWN
lan901#mac#current#0x000000000000
lan901#subsystem#current#hp_apa
lan901#if_type#current#0x000000000000
lan902#if_state#current#UP
lan902#mac#current#0x0017A47708B0
lan902#subsystem#current#hp_apa
lan902#if_type#current#0x0017A47708B0
lan903#if_state#current#DOWN
lan903#mac#current#0x000000000000
lan903#subsystem#current#hp_apa
lan903#if_type#current#0x000000000000
lan904#if_state#current#DOWN
lan904#mac#current#0x000000000000
lan904#subsystem#current#hp_apa
lan904#if_type#current#0x000000000000
# netstat -nrv
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 32808
172.24.70.121/255.255.255.255 172.24.70.121 UH 0 lan0 32808
172.24.70.0/255.255.255.0 172.24.70.121 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 32808
default/0.0.0.0 172.24.70.254 UG 0 lan0 1500
# /opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor (run on a physical
machine)
Instance 0 :
UniqueIdentifier : 28.193.222.64
ControllerType : 10
OtherControllerType :
IPAddress : 192.168.1.53
URL : http://192.168.1.53
Dedicated : 14
CreationClassName : HP_ManagementProcessor
Name : Management Processor
EnabledState : 2
OperationalStatus : 2
FirmwareRevision : 001.001.002
LEDColour : 4
LEDBlinkRate : 5
NICCondition : 2
# /opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor (run on a virtual
machine)
CIM_ERR_NOT_SUPPORTED: This operation is not supported on HPVM guest.
# swapinfo -dt
Kb Kb Kb PCT Kb
TYPE AVAIL USED FREE USED START RESERVE PRI NAME
dev 83886080 0 83886080 0% 0 - 1 /dev/vg00/lvol2
total 83886080 0 83886080 0% - 0 -
More information about the Fusioninventory-user
mailing list