HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: APIs to query hardware
Operating System - HP-UX
1834249
Members
1988
Online
110066
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
06-15-2003 06:02 AM
06-15-2003 06:02 AM
Hello,
I would like to know if there is an API (something similar to kstat on Solaris) that will give let me query hardware devives like CPU, disk drives, CD-ROMs, memory, network adapters for information like serial number, manufacturer, speed, size etc. A command which also returns this type of info would be great, but GUI based tools would not be helpful.
Thanks and regards
SJ
I would like to know if there is an API (something similar to kstat on Solaris) that will give let me query hardware devives like CPU, disk drives, CD-ROMs, memory, network adapters for information like serial number, manufacturer, speed, size etc. A command which also returns this type of info would be great, but GUI based tools would not be helpful.
Thanks and regards
SJ
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2003 07:10 AM
06-15-2003 07:10 AM
Solution
Actually there are many tool which can be used to displayed such info, some are listed, i hope they are helpful:
- /opt/ignite/bin/print_manifest (if ignite-ux was installed)
- sysinfo (it is a script can be used to collect hpux system info)
- cfg2html (it is a script)
- nickel (it is also a script)
- /opt/ignite/bin/print_manifest (if ignite-ux was installed)
- sysinfo (it is a script can be used to collect hpux system info)
- cfg2html (it is a script)
- nickel (it is also a script)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2003 09:54 AM
06-15-2003 09:54 AM
Re: APIs to query hardware
you don't need an api.
ioscan will do it for you.
It can query any and all hardware on the box, determining its status.
For status try these tools.
From a prompt: mstm
From X-Windows: xstm Its a gui and actually has information and testing programs. I have used it to find dead hardware that didn't show up on the last tool I am giving you.
dmesg
I also know that oracle enterprise manager has limited gui hardware testing abilitities. the problem with that is it can't have root priviledgeds and you really need them to do this kind of work.
Good Luck. Hope this is a solution for you.
SEP
ioscan will do it for you.
It can query any and all hardware on the box, determining its status.
For status try these tools.
From a prompt: mstm
From X-Windows: xstm Its a gui and actually has information and testing programs. I have used it to find dead hardware that didn't show up on the last tool I am giving you.
dmesg
I also know that oracle enterprise manager has limited gui hardware testing abilitities. the problem with that is it can't have root priviledgeds and you really need them to do this kind of work.
Good Luck. Hope this is a solution for you.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2003 10:19 AM
06-15-2003 10:19 AM
Re: APIs to query hardware
Go for cstm which is the most "command line"
tool to get hardware info.Just type cstm,go to the prompt and type help for the rest.Can also search for it on docs.hp.com.If you looking something like Solaris prtdiag try :
echo "selall;info;wait;il" | cstm (I'm not 100% sure about the syntax).
BTW,Solaris kstat is a perl module,you don't mean /usr/sbin/kstat which is for kernel statistics I beleive?
Here is a nice link Solaris-to-HPUX
http://www.jpn.hp.com/products/workstations/os/datasheets/pdfs/hpux_solaris_reference_guide.pdf
Zeev
tool to get hardware info.Just type cstm,go to the prompt and type help for the rest.Can also search for it on docs.hp.com.If you looking something like Solaris prtdiag try :
echo "selall;info;wait;il" | cstm (I'm not 100% sure about the syntax).
BTW,Solaris kstat is a perl module,you don't mean /usr/sbin/kstat which is for kernel statistics I beleive?
Here is a nice link Solaris-to-HPUX
http://www.jpn.hp.com/products/workstations/os/datasheets/pdfs/hpux_solaris_reference_guide.pdf
Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP