- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I/O Slot usage
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 12:36 AM
тАО05-16-2006 12:36 AM
I/O Slot usage
Equivalent of rad -q command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 12:44 AM
тАО05-16-2006 12:44 AM
Re: I/O Slot usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 12:47 AM
тАО05-16-2006 12:47 AM
Re: I/O Slot usage
ioscan -fn | grep "/[0-9][^.]*" | egrep -v 'disk|processor|memory|^target|tape|sctl|rmt|fcparray|fcpmux|fcpdev' > ioscan.out
Now from this iosca.out file see the entries for ba [local bus adapters] which are not followed by any cards entires.
e.g.
ba 12 1/8 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 13 1/10 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
fc 3 1/10/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
Here the slot 1/8 is vacant, whereas there is a HBA card in 1/10.
Hope this helps,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 01:03 AM
тАО05-16-2006 01:03 AM
Re: I/O Slot usage
Though this is not what I actually want, I still believe it would be better than nothing.
Thanks.
Lolu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2006 02:12 AM
тАО05-16-2006 02:12 AM
Re: I/O Slot usage
#!/bin/ksh
#
# Reports a server's/nPars PCI Map
#
ioscan -kf >/var/tmp/IOSCAN
IOFILE=/var/tmp/IOSCAN
print "PCI Slot Population Report"
echo "------- ------- --------------------------------------------------"
print "PCI HWPATH Card Description"
echo "------- ------- --------------------------------------------------"
rad -q|awk 'NR>3 {print $1,$2,$7}'|while read slot hwp occ;do
if [ $occ = "Yes" ];then
STR=$(grep " $hwp" $IOFILE|head -1)
set $STR
shift 6
while [ $# -ne 0 ];do
DESCR="$DESCR $1"
shift
done
print $slot $hwp $DESCR
DESCR=""
else
print $slot $hwp EMPTY
fi
done