- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Find out CPU's speed and memory
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
04-05-2002 10:59 AM
04-05-2002 10:59 AM
Your help is highly appreciated.
Regds
Ramesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:02 AM
04-05-2002 11:02 AM
Re: Find out CPU's speed and memory
See the number of CPU's using
the top command. for more information, use glance or swapinfo.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:03 AM
04-05-2002 11:03 AM
Re: Find out CPU's speed and memory
# echo "selall;info;wait;infolog
> view
> done
> "|cstm > sys-info
# more sys-info
OR
# /opt/ignite/bin/print_manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:05 AM
04-05-2002 11:05 AM
Solution1) top - will give you 'how may CPUs'
2) SAM - Resource management - system properties - will give you the CPU speed
3) stm - will give you all hardware details - CPU, memory, speed etc
4) dmesg - will give you memory information
5) swapinfo - swap information
6) ioscan -fn - device informations
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:06 AM
04-05-2002 11:06 AM
Re: Find out CPU's speed and memory
run
xstm
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:07 AM
04-05-2002 11:07 AM
Re: Find out CPU's speed and memory
Available at:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:12 AM
04-05-2002 11:12 AM
Re: Find out CPU's speed and memory
STM(cstm/mstm/xstm) will all give you lots of details, but for this you need to have Online Diagnostics installed.
For more details look at
http://docs.hp.com/hpux/diag/index.html#Online%20Diagnostics:%20Support%20Tools%20Manager%20(STM)
If you are looking for quick way to check number of enabled processors on the system (ioscan -fnC processor |wc -l)
To determine the speed of the processors,
echo itick_per_tick/D | adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/10000 " MHz"}'
-HTH
Rames
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:12 AM
04-05-2002 11:12 AM
Re: Find out CPU's speed and memory
No. 2) in my above answer should be SAM-> Performance Monitors-> System properties.
Also:
# print_manifest - will give you all system specific information, if you have ignite installed.
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem - will give you CPU speed.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:45 AM
04-05-2002 11:45 AM
Re: Find out CPU's speed and memory
sar -Mu 1 1|awk 'END {print NR-5}'
ioscan -kfnC processor
###To obtain the processor speed (MHz):
echo itick_per_usec/D|adb -k stand/vmunix /dev/kmem|awk 'NR==2 {print}'
or
echo itick_per_usec/D | /usr/bin/adb -k /stand/vmunix /dev/kmem
## script get total of memory
#!/bin/ksh
if [ `uname -r` = "B.11.00" ]
then
echo "phys_mem_pages/D" | adb /stand/vmunix /dev/kmem|grep phys|tail -1|awk '{print $2/256 " MB"}'
else
echo "physmem/D" | adb /stand/vmunix /dev/kmem|grep phys|tail -1|awk '{print "Memory size = " $2 / 256 " Megabytes"}'
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 11:45 AM
04-05-2002 11:45 AM
Re: Find out CPU's speed and memory
Here's a script to check memory info
let x=$(grep -i physical: /var/adm/syslog/syslog.log | head -1 | awk '{print $7}
')/1048
let z=$(vmstat|tail -1|awk '{print $5}')*4096;let z=$z/1000000
let free=100000/$x*$z
let free=$free/1000
let free=100-$free
echo "$x Mb physical memory \n$z Mb memory free \n$free % used"
Regards
Steve