- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find system info
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
тАО03-13-2003 09:49 AM
тАО03-13-2003 09:49 AM
Does a single command provide all the information or multiple commands.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:52 AM
тАО03-13-2003 09:52 AM
Re: How to find system info
If you use CDE export your display and use "xstm"
It will give you all.
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:57 AM
тАО03-13-2003 09:57 AM
Re: How to find system info
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 09:57 AM
тАО03-13-2003 09:57 AM
Re: How to find system info
OS-version - uname -r
patchlevel - swlist
Number of cpu's - ioscan -k |grep -n processor |wc -l
speed -
HPUX=/stand/vmunix
MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ
memory size -
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
All those commands combined in a script can tell you everything you need to know.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 10:00 AM
тАО03-13-2003 10:00 AM
Re: How to find system info
OS Version:
# uname -r
Patch level:
# swlist -l product
# swlist -l bundle
(see man swlist for a full description)
Hardware:
# ioscan -fn
# ioscan -fnCprocessor|grep -c proc (number of CPUs)
Memory:
# echo phys_mem_pages/D|adb -k /stand/vmunix /dev/kmem
This is the number of 4096 byte pages
Processor speed:
echo itick_per_tick/D|adb -k /stand/vmunix /dev/kmem
These commands all assume you are on release >= 11.00.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 10:01 AM
тАО03-13-2003 10:01 AM
Re: How to find system info
If you have Ignite installed, the print_manifest command can provide much of this info in one source. Otherwise, you can patch together several commands in a script to give you what you want.
++++++++++++++++++++++++++++++
OS-version - uname -r
++++++++++++++++++++++++++++++
patchlevel - swlist
++++++++++++++++++++++++++++++
Number of cpu's - ioscan -k |grep -n processor |wc -l
++++++++++++++++++++++++++++++
speed -
HPUX=/stand/vmunix
MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ
++++++++++++++++++++++++++++++
memory size -
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
++++++++++++++++++++++++++++++
All those commands combined in a script can tell you everything you need to know.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 10:05 AM
тАО03-13-2003 10:05 AM
Re: How to find system info
system OS-version : uname -a
patchlevel : swlist (should give you a list of patch bundles been applied)
memory size : dmesg (should tell you the physical ram size in the system)
i'm sure others would pitch in with their suggestions.
hth,
Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 10:25 AM
тАО03-13-2003 10:25 AM
Re: How to find system info
Preformance Monitors
System Properties
And
The swlist command
man swlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2003 11:01 AM
тАО03-13-2003 11:01 AM
Re: How to find system info
Do this for your protection: make routine Ignite recovery tapes:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
*Now*, having done that, for *free* you have a manifest with much of the information you are seeking in:
# /var/opt/ignite/recovery/latest/manifest
Regards!
...JRF...