- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to gather system information?
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
05-10-2004 11:14 PM
05-10-2004 11:14 PM
How to gather system information?
1) Serial No.
2) System-Handle
3) Physical memory (no glance-plus installed)
4) Internal disk
5) external disk
Please help. Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:17 PM
05-10-2004 11:17 PM
Re: How to gather system information?
Additionally, you can use these little scripts -
Memory:
HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi
MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM
CPU Speed:
HPUX=/stand/vmunix
MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo $MHZ
Internal and external disk you kind of have to figure out yourself using ioscan and knowledge of you paths.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:19 PM
05-10-2004 11:19 PM
Re: How to gather system information?
do you have print_manifest? it comes with Ignite-UX.
if not, sam -> Performance Monitor -> System Properties or mstm command.
however, do not think you will know (2), this you got to go to the vendor or HP. As for (4) and (5), it gets a bit complicated.
regards.
(p.s. some points will help a long way)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:20 PM
05-10-2004 11:20 PM
Re: How to gather system information?
/opt/ignite/bin/print_manifest
to get most of the info.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:35 PM
05-10-2004 11:35 PM
Re: How to gather system information?
The best one is however using the STM utility.
With best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:39 PM
05-10-2004 11:39 PM
Re: How to gather system information?
HP has also another tool for gathering configuration:
nickel,
Its a shar archive that installes itself in /opt/contrib:
# sh nickel.shar
mkdir - /opt/contrib
mkdir - /opt/contrib/bin
x - /opt/contrib/bin/nickel [compressed]
mkdir - /opt/contrib/man
mkdir - /opt/contrib/man/man1m
x - /opt/contrib/man/man1m/nickel.1m [compressed]
Look at the man pages
Good luck
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:49 PM
05-10-2004 11:49 PM
Re: How to gather system information?
For all the above information please use xstm.Please select the devices and right click and get the information.
Also if ignite is installed use print_manifest command.
++++++++++++++++++++++++++++++++++++++++++++
Other than xstm you can find out the
3) Physical memory either by top or dmesg.
4) Internal and external disks by
#ioscan -fnC disk
But you should be aware of the paths of internal and external scsi.
++++++++++++++++++++++++++++++++++++++++++++
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 11:50 PM
05-10-2004 11:50 PM
Re: How to gather system information?
I just checked to be sure and print_manifest will not give you the system serial number. You can use stm on recent model servers (some older ones will not report the serial number at all):
# echo "map ; sel dev 1 ; il" | cstm | grep "System Serial"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 12:18 AM
05-11-2004 12:18 AM
Re: How to gather system information?
1) Serial No. is possible to obtain only for L and N class.
Launch
# mstm
and after Ok select system ---> from menu 'tools' ---> information ---> run
After few seconds you will obtain system serial number.
2) it is not possible to get it from system, it is an information on contract by HP. Anyway HP from serial number can get system handle.
3) by mstm yet, by select memory component and again tools ---> information ---> run
or
# REAL_MEM=`echo 'phys_mem_pages/D '| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{ print $2/256}'`
# echo $REAL_MEM
4) and 5)
# ioscan -fnC disk
It obtains all disks, internal and external.
It is not possible to obtain a difference by ioscan, just remember scsi paths.
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 12:28 AM
05-11-2004 12:28 AM
Re: How to gather system information?
echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm
The above is all on one line. If /usr/sbin/cstm is not found, you do not have the online diagnostics installed and that should be your top priority (get them installed from your Core/Install or Support Plus CD).
For your physical disks:
ioscan -kfC disk
However, it is more useful to see the mounted disks:
bdf
and for a much bigger view of the entire system, use print_manifest. If you do not have /opt/ignite/bin/print_manifest installed (or you have a version older than 6 months), download the latest version (free) from http://www.software.hp.com/products/IUX/download.html
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 12:37 AM
05-11-2004 12:37 AM
Re: How to gather system information?
also, cfg2html:
Cfg2html is a UNIX shell script that creates a HTML (and ASCII) system documentation for HP-UX 10+11, AIX, SCO-UX, SunOS and Linux systems. Plugins for SAP, Oracle, Informix, MC/SG, FibreChannel, TIP/ix, Mass Storage like XP48/256/512, Network Node Manager and OmniBack etc. are included.
http://come.to/cfg2html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 12:39 AM
05-11-2004 12:39 AM
Re: How to gather system information?
I use the cfg2html script, it provides much more information than what you were looking for. I like it because I have copies for all of my servers burned onto a CD in each of our Disaster Recovery boxes. Although the serial number is not included in this information. Here is a link to where you can download the script:
http://come.to/cfg2html
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 06:10 PM
05-12-2004 06:10 PM
Re: How to gather system information?
Thanks a lot!!!