- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need command to show configuration
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
04-24-2003 09:56 AM
04-24-2003 09:56 AM
Version 5.0.5 of SCO Unix has a command named "hwconfig" which, when entered, returns just about everything that you would ever want to know about the computer on which the command was entered as well as info about the OS itself. Hwconfig returns such things such as number, type, and speed of CPU's; Number, type, model number of all disk drives; version of the OS; and on and on and on for pages and pages.
QUESTION: Does HP-UX 11.xx have such a command? If there is no such all encompassing command, then perhaps there are some other commands that return bits of information. For example "uname -a", ioscan, or model. I am particularly interested in info on the CPU - speed, type, number of, etc.
Thanks,
Darrell Tschakert
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:00 AM
04-24-2003 10:00 AM
Re: Need command to show configuration
*The* util you are looking for is called stm (or cstm)
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:03 AM
04-24-2003 10:03 AM
Re: Need command to show configuration
I supported a bunch of SCO boxes for about 3 1/2 years, and I do miss the old hwconfig command.
In HP-UX, you have several commands to run to get the same information. First, the 'ioscan' command will tell you about all the hardware and devices in the box. As you mentioned, the 'uname -a' will give you the OS version information. To get the number of CPUs, type of CPUs, and speed, you should go take a look at Merijn's fantastic web site:
https://www.beepz.com/personal/merijn/
or Clemen's mirror of Merijn's site:
http://www.cmve.net/~merijn/
They list some great commands to get that info, as well as tons of other great stuff.
To get a nice picture of what your system has, you can also run the print_manifest command that comes with IgniteUX.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:13 AM
04-24-2003 10:13 AM
Re: Need command to show configuration
memory configuration:
# echo "selclass qualifier memory;info;wait;infolog"|cstm > /tmp/mem.out
processor info:
# echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/proc.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:13 AM
04-24-2003 10:13 AM
Re: Need command to show configuration
# /opt/ignite/bin/print_manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:18 AM
04-24-2003 10:18 AM
Re: Need command to show configuration
There are also many ready made scripts (for HPUX as well as other OSs) available on the web free for download. These scripts will tell you everything you want to know about your system, number of disks, number of CPUs, speed of CPUs, the LVM layout, patches installed and the number of, any corrupt patches, etc...
I downloaded a very script that would produce HTML output and provide all the info you would want (and them some) but I can't remeber where I got it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 10:34 AM
04-24-2003 10:34 AM
Re: Need command to show configuration
sysinfo204 from HP
SysAudit/SysConfig - freeware
http://www.backupcentral.com/sysaudit.html
cfg2html - freeware
http://groups.yahoo.com/group/cfg2html/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 03:26 PM
04-24-2003 03:26 PM
Re: Need command to show configuration
H.Merijn,
I downloaded and tried ux but could not make it work - I entered "perl ux". Since I am not familiar with perl, I may have gotten it wrong.
Shiju Wilson and others,
One of the most helpful commands was print_manifest. I still can't seem to get the speed of the CPU's, but short of that, print_manifest gives a lot of info.
Geoff,
I could not find the sysinfo204 on any of our systems but will check the HP site later. I downloaded SysAudit but it did not run well on our HP-UX 11.00's. Lots of unfilled fields and it quit on me - mid-flight. I could not seem to download cfg3html from the site listed - I did not spend a lot of time on it though.
Cheryl Griffin,
I knew about and have used cstm but i don't know it well enough to be productive. So the two one liners that you left were helpful were helpful. Very detailed info.
Thanks again,
Darrell Tschakert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 01:06 AM
04-25-2003 01:06 AM
SolutionSolutions and suggestions posted in this forum reuire at least perl-5.005_03, but having 5.6.1 or 5.8.0 would make more chance on success. Most of /my/ scripts require 5.6.1 or up, and internally I'm even worse, and require a patched 5.8.0 or up.
Perl is free, and available on a lot of places. HP ships it for free on their more recent Application CD's, but it is also precompiled for HP-UX available on several web sites: HP porting center = http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.0/ , my ITRC site = https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/ (but you've already been there), or http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL (but that is 5.6.1)
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 01:11 AM
04-25-2003 01:11 AM
Re: Need command to show configuration
http://www.grc.hp.com/docs/nickel/
or
http://groups.yahoo.com/group/cfg2html/
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 06:29 AM
04-25-2003 06:29 AM
Re: Need command to show configuration
The cfg2html web site is gone - you can onget it from the yahoo group I posted.
The nice thing about cfg2html is, if you have a mixed environment (HP, IBM, Sun), then this works great - as you get a similiar look and feel across all platforms...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 06:39 AM
04-25-2003 06:39 AM
Re: Need command to show configuration
# Run the sysinfo204 script
0 6 1 * * /usr/local/sysinfo204/sysinfo204 -a -b >/tmp/sysinfo204.cron 2>&1
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 06:58 AM
04-25-2003 06:58 AM
Re: Need command to show configuration
# hpmem
HP-UX system3 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 1008 MB
maxuprc: 800
maxvgs: 80
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 2984
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 07:56 AM
04-25-2003 07:56 AM
Re: Need command to show configuration
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 08:22 AM
04-25-2003 08:22 AM
Re: Need command to show configuration
1) SAM -> Performance Monitors -> System Properties
2) STM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 08:35 AM
04-25-2003 08:35 AM
Re: Need command to show configuration
the reason I don't use the xstm or other gui programs is that I am getting this info for a co-worker (Oracle DBA) who asked for a command line command. He does not have a GUI.
H. Merijn,
Thanks for the pointers. I will pick up the latest perl as soon as I have the time.
Geo
Thanks for the attachments. You made it very easy for me by attaching the files. I have not run the programs as of yet, but the output of the shell script looks good. And, I will enjoy picking through the shell script as well.
Again, thanks all. I have more than enoough now.
Darrell Tschakert