- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Determining the CPU sversion number and hversion n...
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
Forums
Discussions
Discussions
Discussions
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
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
09-18-2003 04:48 AM
09-18-2003 04:48 AM
I would like to determine the CPU sversion and hversion numbers. Any help regarding this would be highly appreciated.
Thanks and regards
Sonison James
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 05:20 AM
09-18-2003 05:20 AM
Re: Determining the CPU sversion number and hversion number
Have you tried the STM diagnostic tools? I went into 'xstm' (the X-windows version), selected one of the CPUs, went to the 'Tools' menu and selected 'Information' -> 'Run' or you can do 'Tools' -> 'Information' -> 'Information Log'.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 05:48 AM
09-18-2003 05:48 AM
Re: Determining the CPU sversion number and hversion number
Thanks for the info, but in case xstm is not there is there a command or an api that I could use?
Thanks and regards
Sonison James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 06:00 AM
09-18-2003 06:00 AM
Re: Determining the CPU sversion number and hversion number
You can see the SVERSION and HVERSION defined there - just need the C system call to get this info. Im blowed if I can find it - anyone else know which C call to get this info ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 06:36 AM
09-18-2003 06:36 AM
Re: Determining the CPU sversion number and hversion number
Do you mean any or all of:
model
getconf MACHINE_MODEL
getconf CPU_CHIP_TYPE
getconf CPU_VERSION
check out
- man getconf
- man sysconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 08:24 AM
09-18-2003 08:24 AM
Re: Determining the CPU sversion number and hversion number
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 11:04 AM
09-18-2003 11:04 AM
Re: Determining the CPU sversion number and hversion number
What I want is exactly what Stefan has pointed out - a C api. I found a reference to the hversion and sversion in "PA-RISC 1.1 Firmware Architecture
Reference Specification" at http://ftp.parisc-linux.org/docs/arch/ver_nums.pdf but no apis to get it.
Thanks and regards
Sonison James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 12:34 PM
09-18-2003 12:34 PM
Re: Determining the CPU sversion number and hversion number
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 04:34 PM
09-18-2003 04:34 PM
Re: Determining the CPU sversion number and hversion number
You can also use SAM to do this ,
SAM -> Performance Monitor -> System Properties and just choose Processor
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 12:03 AM
09-19-2003 12:03 AM
Re: Determining the CPU sversion number and hversion number
I collect mashine status with the tool cfg2html .
It can be used on many platforms, linux solaris hp-ux, og output is a nice html file with all you need to document your systems.
It is maintained and written by Ralph Roth at http://come.to/cfg2html
I find it just as usefull as the sys_check util for Tru64 unix, if you are familiar with that.
Regards MArtin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 01:44 AM
09-19-2003 01:44 AM
SolutionI think the API or C call us another one of those undocumented ones. Ive checked with nm in /lib and there are some calls with cpu in the name in some libraries which I cant find documentation on, I suspect its one of those. To find out for sure you can try logging a call with the Response Centre - maybe HP will tell you. Heres the ones nm found;
f90$cputime_r16 | 383236|extern|code |$CODE$
f90$cputime_r4 | 383432|extern|code |$CODE$
f90$cputime_r8 | 383592|extern|code |$CODE$
f90$cputime_r16 | 383236|extern|code |$CODE$
cps_complex_cpus_ | 58360|extern|code |$CODE$
cps_complex_cpus_8 | 60352|extern|code |$CODE$
cps_node_cpus | 57664|extern|code |$CODE$
cps_node_cpus_8 | 59768|extern|code |$CODE$
You could try experimenting with these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 01:51 AM
09-19-2003 01:51 AM
Re: Determining the CPU sversion number and hversion number
found some more stuff. If you install the OnlineDiagnostics you get a library;
/usr/sbin/stm/uut/lib/tlcpu.sl
And if you do a strings on it you can see lots of juicy looking cpu info calls, eg;
tl_get_cpu_hpa
tl_pdc_pat_cpu_64HPA
tl_get_cpu_info
tl_pdc_pat_cpu
tl_gather_all_cpu_info
tl_get_cpu_path
tl_deactivate_cpu_hw_fail
tl_reconfigure_cpu
tl_is_cpu_removed
tl_gather_visible_cpu_info
tl_activate_cpu
tl_deactivate_cpu
tl_deconfigure_cpu
tl_get_cpu_number
tl_get_cpu_status
tl_activate_cpu
Hopefully ones of these is what you want ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 05:51 PM
09-23-2003 05:51 PM
Re: Determining the CPU sversion number and hversion number
Firstly I am sorry for such a delayed response.
Thanks for the info, it seems to be really useful.
Thanks and regards
Sonison James