- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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-21-2002 09:21 PM
05-21-2002 09:21 PM
Does anyone what command to use to retrieve information like number of CPU, speed of CPU, type of CPU chips, amount of memory, and etc.. from the system.
regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 09:35 PM
05-21-2002 09:35 PM
Re: System information
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
no.of processors
echo runningprocs/D | adb -k /stand/vmunix /dev/mem
amount of memory
echo 'phys_mem_pages/D'|adb -k /stand/vmunix /dev/kmem
or
cat /var/adm/syslog/syslog.log|grep Phy
Also you can use
SAM--->performance monitor---->system prop
to view all the information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 09:35 PM
05-21-2002 09:35 PM
Re: System information
Have a look at this link, at has an abundance of system gathering information, scripts and links.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1a6646ff9277d511abcd0090277a778c,00.html
Here are some extra commands to verify system resources:
for HP-UX 10x
example:
echo physmem/D | adb -k /stand/vmunix /dev/kmem
physmem:
physmem: 24576
for HP-UX 11.x systems running on 32 bit architecture:
example:
echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
phys_mem_pages:
phys_mem_pages: 24576
for HP-UX 11.x systems running on 64 bit architecture:
example:
echo phys_mem_pages/D | adb64 -k /stand/vmunix /dev/mem
phys_mem_pages:
phys_mem_pages: 262144
The results of these commands are in memory pages, multiply by 4096
to obtain the size in bytes.
To determine the amount of lockable memory:
example:
echo total_lockable_mem/D | adb -k /stand/vmunix /dev/mem
total_lockable_mem:
total_lockable_mem: 185280
To determine the number of free swap pages :
example:
echo swapspc_cnt/D | adb -k /stand/vmunix /dev/kmem
swapspc_cnt:
swapspc_cnt: 216447
This will display the number of free swap pages.
Multiply the number returned by 4096 for the number of free swap bytes.
To determine the processor speed:
example:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
itick_per_usec:
itick_per_usec: 360
To determine the number of processors in use:
example:
echo "runningprocs/D" | adb -k /stand/vmunix /dev/mem
runningprocs:
runningprocs: 2
To determine the number of pages of buffer cache ( 4Kb in size)
example:
echo bufpages/D | adb -k /stand/vmunix /dev/mem
bufpages:
bufpages: 18848
To display kernel parameters using adb use the parameter name :
example:
echo nproc/D | adb -k /stand/vmunix /dev/mem
nproc:
nproc: 276
To determine the kernel your booted from:
example:
10.x
echo 'boot_string/S' | adb /stand/vmunix /dev/mem
boot_string:
boot_string: disc(52.6.0;0)/stand/vmunix
11.x
echo 'boot_string/S' | adb /stand/vmunix /dev/mem
boot_string:
boot_string: disk(0/0/2/0.6.0.0.0.0.0;0)/stand/vmunix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 09:37 PM
05-21-2002 09:37 PM
Re: System information
Install the Support Tools.
Then you can find all this info by using "cstm".
Hope this helps,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 09:47 PM
05-21-2002 09:47 PM
Re: System information
# /opt/ignite/bin/print_manifest
==> General info about your system.
Try the simplest ones ..
# dmesg
then..
Using cstm ..
# cstm
cstm>map
cstm>sel dev
cstm>info
cstm>infolog
OR
cstm>selall
cstm>info
cstm>infolog
Using adb ..
processor speed
---------------
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
number of processors in use
----------------------------
# echo runningprocs/D | adb -k /stand/vmunix /dev/mem
amount of memory (10.x)
-----------------------
# echo "physmem/D" | adb -k /stand/vmunix /dev/kmem
physmem: 28672
# echo "28672 * 4 / 1024" | bc
112MB
amount of memory (11.x)
-----------------------
# echo "memory_installed_in_machine/D"| adb -k /stand/vmunix /dev/kmem
memory_installed_in_machine: 524288
# echo "524288*4/1024"|bc
2048MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 01:43 AM
05-22-2002 01:43 AM
Re: System information
getconf MACHINE_MODEL
getconf CPU_CHIP_TYPE
getconf CPU_CHIP_TYPE
-Raimo-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 02:17 AM
05-22-2002 02:17 AM
Re: System information
once you have installed the support tools ODE. you can use xstm as well as cstm this will you a windows gui with the same results as cstm.
JOhn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 02:18 AM
05-22-2002 02:18 AM
Re: System information
also "top" command will quickly give you number of cpu's
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2002 05:51 AM
05-22-2002 05:51 AM
Re: System information
Very good product to see everything about your systems.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/