- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system 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
03-22-2004 06:53 AM
03-22-2004 06:53 AM
system memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 06:53 AM
03-22-2004 06:53 AM
Re: system memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 06:55 AM
03-22-2004 06:55 AM
Re: system memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 07:00 AM
03-22-2004 07:00 AM
Re: system memory
# echo "selclass qualifier memory ; il" | cstm | grep -i "Total Physical Memory"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 07:01 AM
03-22-2004 07:01 AM
Re: system memory
That will yield the number of 4K pages of memory installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 07:20 AM
03-22-2004 07:20 AM
Re: system memory
--------------------------------cut here ----------------------
# cat hpmem
#!/bin/ksh
#
# Taken from the HP/UniGraphics FAQ
# You must be ROOT to execute this since it uses adb to
# examine the running kernel
#
GetKernelSymbol()
{
echo "$1/D" | \
adb -k $hpux /dev/kmem | \
tr "\012" " " | \
read junk junk2 kval
}
hpux=/hp-ux
rev=$(uname -r | cut -d. -f2)
if ((rev > 9)); then hpux=/stand/vmunix ;fi
/bin/uname -a
GetKernelSymbol "processor_count"
print CPU Count: $kval
GetKernelSymbol "itick_per_tick"
let speed=kval/10000
print CPU Speed: $speed MHz
if ((rev > 10)); then
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
else
GetKernelSymbol "physmem"
fi
let mb=kval*4/1024 # convert pages to MB
print RAM Size: $mb MB
GetKernelSymbol "bufpages"
let mb=kval*4/1024 # convert pages to MB
print bufpages: $mb MB
GetKernelSymbol "maxuprc"
print maxuprc: $kval
GetKernelSymbol "maxvgs"
print maxvgs: $kval
GetKernelSymbol "maxfiles"
print maxfiles: $kval
GetKernelSymbol "max_thread_proc"
print max_thread_proc: $kval
GetKernelSymbol "nfile"
print nfile: $kval
GetKernelSymbol "nflocks"
print nflock: $kval
GetKernelSymbol "nproc"
print nproc: $kval
GetKernelSymbol "ninode"
print ninode: $kval
GetKernelSymbol "vfd_cw"
print shmmax: $kval
GetKernelSymbol "shmmni"
print shmmni: $kval
GetKernelSymbol "dbc_max_pct"
print dbc_max_pct: $kval
--------------------------------cut here ----------------------
gives output like this:
# ./hpmem
HP-UX
CPU Count: 8
CPU Speed: 550 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 24576 MB
bufpages: 983 MB
maxuprc: 4000
maxvgs: 255
maxfiles: 500
max_thread_proc: 256
nfile: 29539
nflock: 1024
nproc: 16020
ninode: 18468
shmmax: 1073741824
shmmni: 200
dbc_max_pct: 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 12:33 AM
03-23-2004 12:33 AM
Re: system memory
go to sam
go to performance monitors
go to system information
There is a tab about memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 12:48 AM
03-23-2004 12:48 AM
Re: system memory
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 01:39 AM
03-23-2004 01:39 AM
Re: system memory
I run it from cron like:
0 6 1 * * /usr/local/sysinfo/sysinfo -a -b -o /usr/tmp/`hostname`.sysinfo >/tmp/sysinfo.cron 2>&1
Here's some of the utput:
SysInfo 3.01 by HP ESSO
Configuration data for svr003
Collected on Fri Mar 12 13:02:58 MST 2004
SYSTEM DATA
===========
HOSTNAME: svr003
SYSTEM: 9000
MODEL: 9000/800/rp7410
SERIAL #: USRXXXXXX
SYSTEM ID: 2504392627
CPU SPEED: 750 MHz
CPUS: 6 active processor(s)
MEMORY: 10080 Mbytes of memory.
HP-UX VERSION: B.11.11 64 Bit
USER LICENSE: unlimited-user license
LAST BOOT: Jan 31 20:24
LAST PATCH: Aug 31 2003
VOLUME MANAGER: Logical Volume Manager (LVM)
=== END Basic System Data ===
System H/W data
===============
Processor data
--------------
H/W PDC Cache Size TLB Size
path slot rev level Inst Data Inst Data
-----------------------------------------------------
0/10 0 16.9 768 1536 240 240
0/11 1 16.9 768 1536 240 240
1/10 4 16.9 768 1536 240 240
1/11 5 16.9 768 1536 240 240
1/12 6 16.9 N/A N/A N/A N/A
1/13 7 16.9 768 1536 240 240
=== END System H/W data ===
Memory Information
==================
Basic Memory Description
Module Type: MEMORY
Total Configured Memory : 10240 MB
Page Size: 4096 Bytes
Memory interleaving is supported on this machine and is ON.
Memory Board Inventory
CAB/CELL: 0/1
DIMM A DIMM B DIMM C DIMM D
Slot Size (MB) Size (MB) Size (MB) Size (MB)
---- --------- --------- --------- ---------
0 512 512 512 512
1 512 512 512 512
2 512 512 512 512
3 0 0 0 0
4 0 0 0 0
5 0 0 0 0
6 0 0 0 0
7 0 0 0 0
Cell Total (MB): 6144
-------------------------------------------------
CAB/CELL: 0/0
DIMM A DIMM B DIMM C DIMM D
Slot Size (MB) Size (MB) Size (MB) Size (MB)
---- --------- --------- --------- ---------
0 512 512 512 512
1 512 512 512 512
2 0 0 0 0
3 0 0 0 0
4 0 0 0 0
5 0 0 0 0
6 0 0 0 0
7 0 0 0 0
Cell Total (MB): 4096
-------------------------------------------------
System Total (MB): 10240
Memory Error Log Summary
Error
CAB/CELL DIMM Error Address Error Type Page Count
------------- ----------------- ---------- --------- -----
0/0 0C 0x00000000b760ca00 Single-Bit 0x00b760c 1
System start: Fri Aug 30 10:01:28 2002.
Last error check: Fri Mar 12 12:32:42 2004.
Logging interval: 3600 seconds.
1 address(es) with errors logged by memory logging daemon.
The Logtool Utility provides full details about the memory error log.
Page Deallocation Table (PDT)
PDT Entries Used: 0
PDT Entries Free: 100
PDT Total Size: 100
=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=
-- Information Tool Log for MEMORY on path 1/5 --
Log creation time: Fri Mar 12 13:03:12 2004
Hardware path: 1/5
Basic Memory Description
Module Type: MEMORY
Total Configured Memory : 10240 MB
Page Size: 4096 Bytes
Memory interleaving is supported on this machine and is ON.
Rgds...Geoff