Operating System - HP-UX
1833187 Members
3206 Online
110051 Solutions
New Discussion

how much RAM is installed on the box

 
SOLVED
Go to solution
Rkumar
Frequent Advisor

how much RAM is installed on the box

Dear experts,


how to find Physical memory on this hp box
uname -a
HP-UX a1244077 B.10.20 A 9000/887 429355241 two-user license

Rahul
12 REPLIES 12
Johnson Punniyalingam
Honored Contributor
Solution

Re: how much RAM is installed on the box

# dmesg |grep -i Physical
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: how much RAM is installed on the box

SAM -> Performance Monitors->System Properties->Use TAB -> Memory
Problems are common to all, but attitude makes the difference
Rkumar
Frequent Advisor

Re: how much RAM is installed on the box

thanks a lot,

how to find that my system requires more memory. I mean installed RAM is not sufficient.
i mposting some outputs as much as i know.
==========================================
a1244078:root dmesg |grep -i Physical
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 524288 Kbytes, lockable: 399024 Kbytes, available: 460636 Kbytes


============================
a1244078:root vmstat
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
0 0 0 18525 7411 25 23 0 0 0 0 0 343 1586 145 11 7 82

=======================================

a1244078:root swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 528 18 510 3% 0 - 1 /dev/vg00/lvol2
reserve - 368 -368
memory 392 278 114 71%
total 920 664 256 72% - 0 -

======================================
Load averages: 0.56, 0.55, 0.45
272 processes: 265 sleeping, 4 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.69 20.8% 1.0% 78.2% 0.0% 0.0% 0.0% 0.0% 0.0%
1 0.43 84.2% 0.0% 15.8% 0.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.56 52.5% 0.0% 47.5% 0.0% 0.0% 0.0% 0.0% 0.0%

Memory: 136528K (104828K) real, 116900K (76856K) virtual, 29040K free Page# 1/9

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 7138 root 201 20 4796K 3136K run 87:16 6.11 6.10 caiUxOs
0 ? 7904 root 182 20 1280K 988K run 170:23 6.11 6.10 selogrd
1 ? 7118 root 154 20 11036K 8388K sleep 88:40 3.47 3.46 aws_sadmin
1 ? 920 root 1 2 10548K 1292K sleep 83:03 3.45 3.45 seosd
0 ? 19082 root 180 20 272K 228K run 0:00 7.83 1.42 ksh
1 ? 19128 lisuser 168 20 184K 188K sleep 0:00 11.56 1.10 SWCHMB1GRP2_cs
0 ? 6999 root 154 20 4728K 3160K sleep 20:45 0.76 0.75 aws_orb
0 ? 6340 root 154 20 2180K 2108K sleep 6:27 0.64 0.64 caiopr
=====================================

I think system does not need more ram . The RAM in current is enough.

Please suggest me how to find memory bottleneck?. Is there any bottleneck in this system?

Rahul
Johnson Punniyalingam
Honored Contributor

Re: how much RAM is installed on the box

You can start with "Glance" is easy to use ?

# glance


# echo total_lockable_mem/D | adb /stand/vmunix /dev/mem
-- How much lockable memory is being used?

# ipcs -mob
-- What is the shared memory load?


To see what is using all your virtual memory:

$ UNIX95= ps -efo vsz,ruser,pid,ppid,args | sort -rn | more
Problems are common to all, but attitude makes the difference
Steven E. Protter
Exalted Contributor

Re: how much RAM is installed on the box

Shalom,

swapinfo -tam

vmstat

If no paging is happening your system needs no more ram. It is possible even if it is to reduce demand for memory with kernel settings and reducing Oracle SGA.

But we are talking about a 10.20 system. A modern system with a supported OS might simply be able to manage better.

Post the output of the commands for further advice.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rkumar
Frequent Advisor

Re: how much RAM is installed on the box

Here is the output of both commands for u r purpose
===============================

a1244078:root swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 528 18 510 3% 0 - 1 /dev/vg00/lvol2
reserve - 367 -367
memory 392 271 121 69%
total 920 656 264 71% - 0 -

a1244078:root vmstat
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
0 0 0 18492 9116 25 23 0 0 0 0 0 343 1589 146 11 7 82



Rahul
Rkumar
Frequent Advisor

Re: how much RAM is installed on the box

a1244078:root ipcs -mob
IPC status from /dev/kmem as of Thu Mar 18 00:12:02 2010
T ID KEY MODE OWNER GROUP NATTCH SEGSZ
Shared Memory:
m 0 0x4110020c --rw-rw-rw- root root 0 348
m 1 0x4e0c0002 --rw-rw-rw- root root 1 31008
m 2 0x411415a5 --rw-rw-rw- root root 1 8192
m 3 0x76465844 --rw-rw-rw- navuser navuser 39 489884
m 4 0x00000000 --rw-rw-rw- navuser navuser 1 740329
m 5 0x66465844 --rw-rw-rw- navuser navuser 1 4800
m 6 0x00000000 --rw-rw-rw- navuser navuser 4 70452
m 7 0x00001e34 --rw------- root sys 1 13200
m 8 0x000154c2 --rw------- root sys 1 7240
m 9 0x0000a516 --rw------- bufit bufit 2 17768
m 8202 0x00001ed2 --rw-rw-rw- lisuser lisuser 0 390000
m 10251 0x23840029 --rw-rw-rw- lisuser lisuser 2 36000
m 3084 0x2484002b --rw-rw-rw- lisuser lisuser 3 27652
m 3085 0x2584002c --rw-rw-rw- lisuser lisuser 2 49200
m 3086 0x2384003b --rw-rw-rw- lisuser lisuser 2 36000
m 3087 0x2484003d --rw-rw-rw- lisuser lisuser 3 27652
m 3088 0x2584003e --rw-rw-rw- lisuser lisuser 2 49200
m 3089 0x23840033 --rw-rw-rw- lisuser lisuser 2 36000
m 3090 0x24840035 --rw-rw-rw- lisuser lisuser 3 27652
m 3091 0x25840036 --rw-rw-rw- lisuser lisuser 2 49200
m 3092 0x23840044 --rw-rw-rw- lisuser lisuser 2 36000
m 3093 0x24840045 --rw-rw-rw- lisuser lisuser 3 27652
m 3094 0x25840046 --rw-rw-rw- lisuser lisuser 2 49200
m 5143 0x23840058 --rw-rw-rw- lisuser lisuser 2 36000
m 3096 0x24840059 --rw-rw-rw- lisuser lisuser 3 27652
m 3097 0x2584005b --rw-rw-rw- lisuser lisuser 2 49200
m 4122 0x2384004b --rw-rw-rw- lisuser lisuser 2 36000
m 3099 0x2484004c --rw-rw-rw- lisuser lisuser 3 27652
m 3100 0x2584004d --rw-rw-rw- lisuser lisuser 2 49200
m 3101 0x23840069 --rw-rw-rw- lisuser lisuser 2 36000
m 3102 0x2484006b --rw-rw-rw- lisuser lisuser 3 27652
m 3103 0x2584006c --rw-rw-rw- lisuser lisuser 2 49200
m 3104 0x2384007d --rw-rw-rw- lisuser lisuser 2 36000
m 3105 0x2484007e --rw-rw-rw- lisuser lisuser 3 27652
m 3106 0x2584007f --rw-rw-rw- lisuser lisuser 2 49200
m 3107 0x23840054 --rw-rw-rw- lisuser lisuser 2 36000
m 3108 0x24840060 --rw-rw-rw- lisuser lisuser 3 27652
m 3109 0x25840061 --rw-rw-rw- lisuser lisuser 2 49200
m 5158 0x23840081 --rw-rw-rw- lisuser lisuser 2 36000
m 3111 0x24840082 --rw-rw-rw- lisuser lisuser 3 27652
m 3112 0x25840083 --rw-rw-rw- lisuser lisuser 2 49200
m 4137 0x2384009a --rw-rw-rw- lisuser lisuser 2 36000
m 3114 0x2484009e --rw-rw-rw- lisuser lisuser 3 27652
m 3115 0x2584009f --rw-rw-rw- lisuser lisuser 2 49200
m 3116 0x238400b2 --rw-rw-rw- lisuser lisuser 2 36000
m 3117 0x248400b6 --rw-rw-rw- lisuser lisuser 3 27652
m 3118 0x258400b8 --rw-rw-rw- lisuser lisuser 2 49200
m 3119 0x238400c9 --rw-rw-rw- lisuser lisuser 2 36000
m 3120 0x248400cb --rw-rw-rw- lisuser lisuser 3 27652
m 3121 0x258400d1 --rw-rw-rw- lisuser lisuser 2 49200
m 3122 0x23840071 --rw-rw-rw- lisuser lisuser 2 36000
m 3123 0x24840086 --rw-rw-rw- lisuser lisuser 3 27652
m 3124 0x25840087 --rw-rw-rw- lisuser lisuser 2 49200
m 53 0x0000000d --rw-rw-rw- root sys 12 397516
m 54 0x00000cae --rw-rw-rw- root sys 0 1364
m 55 0x00000ca7 --rw-rw-rw- root sys 2 69464
m 27704 0x00000000 --rw------- root sys 2 159804
Rkumar
Frequent Advisor

Re: how much RAM is installed on the box

Dear experts,

Please let me know how to use cstm to gather info related to memory.


Rahul
Dennis Handly
Acclaimed Contributor

Re: how much RAM is installed on the box

>Please suggest me how to find memory bottleneck. Is there any bottleneck in this system?

Why do you think there is a memory bottleneck?
CPU 0 has 78.2% SYS.

>let me know how to use cstm to gather info related to memory.

You have more than 392 Mb. What more do you need to know?
Rkumar
Frequent Advisor

Re: how much RAM is installed on the box

f0224032:root echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version A.16.03

Product Number B4708AA

(C) Copyright Hewlett Packard Co. 1995-1998
All Rights Reserved

Use of this program is subject to the licensing restrictions described
in "Help-->On Version". HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.

cstm>selclass qualifier memory;info;wait;infolog
-- Updating Map --
Updating Map...
-- Converting a (14084) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 63 File ...

.... f0224032 : 90.70.125.42 ....

-- Information Tool Log for MEMORY on path 63 --

Log creation time: Thu Mar 18 05:43:43 2010

Hardware path: 63


Basic Memory Description

Module Type: MEMORY
Total Physical Memory : 512 MB
Total Configured Memory : 512 MB
Page Size: 4096 Bytes

Memory interleaving is not supported on this machine.

Memory Board Inventory

Total Phys Configured Disabled
Board Size (MB) Total (MB) Total (MB)
------------ ---------- ---------- ----------
0A/B 128 128 0
1A/B 128 128 0
4A/B 128 128 0
5A/B 128 128 0
---------- ---------- ----------
System Total: 512 512 0

Memory Controller Inventory

Hard Hardware Hardware Software Software
Physical Model Revision Model Revision Software IODC
Address Number Number Number Number Option Revision
---------- -------- -------- -------- -------- -------- --------
0xfffbf000 0x14 0 0x9 0 0 0

Bank Inventory

Inter
Log. Phys Size leave
Bank Bank Board (MB) Disabled? SPA Range (Hex) Group
---- ---- ------------ ---- --------- --------------------- -----
0 0A/B 64 enabled 0x1c000000 - 1fffffff N/A
1 0A/B 64 enabled 0x08000000 - 0bffffff N/A
0 1A/B 64 enabled 0x18000000 - 1bffffff N/A
1 1A/B 64 enabled 0x0c000000 - 0fffffff N/A
0 4A/B 64 enabled 0x14000000 - 17ffffff N/A
1 4A/B 64 enabled 0x00000000 - 03ffffff N/A
0 5A/B 64 enabled 0x10000000 - 13ffffff N/A
1 5A/B 64 enabled 0x04000000 - 07ffffff N/A

Memory interleaving is not supported on this machine.

SPA - Page Map

SPA Range (Hex) Corresponding Pages
--------------------- --------------------------
0x00000000 - 03ffffff 0 - 16383
0x04000000 - 07ffffff 16384 - 32767
0x08000000 - 0bffffff 32768 - 49151
0x0c000000 - 0fffffff 49152 - 65535
0x10000000 - 13ffffff 65536 - 81919
0x14000000 - 17ffffff 81920 - 98303
0x18000000 - 1bffffff 98304 - 114687
0x1c000000 - 1fffffff 114688 - 131071

Memory Error Log Summary

Error
Board Error Address Error Type Page Count
------------ ------------------ ---------- --------- -----
4A 0x0000000000941460 Single-Bit 0x0000941 1
1B 0x000000000ecf6c78 Single-Bit 0x000ecf6 1
5B 0x0000000013c19618 Single-Bit 0x0013c19 4
1A 0x000000001afc1b30 Single-Bit 0x001afc1 621
1B 0x000000001a9dccd8 Single-Bit 0x001a9dc 1
4B 0x0000000014444de8 Single-Bit 0x0014444 2
5B 0x000000001135b378 Single-Bit 0x001135b 1
0B 0x000000001d0cb9d8 Single-Bit 0x001d0cb 1
4B 0x0000000000f56338 Single-Bit 0x0000f56 4
1B 0x0000000018b47d18 Single-Bit 0x0018b47 1
4B 0x0000000003cd8b18 Single-Bit 0x0003cd8 1
0B 0x000000000a0a9c48 Single-Bit 0x000a0a9 1
4A 0x00000000037822b0 Single-Bit 0x0003782 13
5B 0x000000000586fe08 Single-Bit 0x000586f 1
1A 0x000000000d388670 Single-Bit 0x000d388 1
4A 0x00000000149272a0 Single-Bit 0x0014927 3
0B 0x000000001e6bce98 Single-Bit 0x001e6bc 4
4A 0x0000000000100340 Single-Bit 0x0000100 696
1B 0x000000000f751e38 Single-Bit 0x000f751 1
1A 0x000000000f093ad0 Single-Bit 0x000f093 1
0B 0x000000000882ce08 Single-Bit 0x000882c 1
1B 0x000000000d78db08 Single-Bit 0x000d78d 1
0B 0x000000001d989198 Single-Bit 0x001d989 1
5A 0x000000000512f2e0 Single-Bit 0x000512f 1
4B 0x0000000017b484c8 Single-Bit 0x0017b48 1
1B 0x000000000e88dec8 Single-Bit 0x000e88d 1
0A 0x0000000009ac8280 Single-Bit 0x0009ac8 1
0A 0x000000000b087e70 Single-Bit 0x000b087 1
0B 0x000000001e508878 Single-Bit 0x001e508 1
4A 0x0000000001b77110 Single-Bit 0x0001b77 1
1B 0x000000001a687be8 Single-Bit 0x001a687 1
4A 0x0000000002501570 Single-Bit 0x0002501 1
4A 0x0000000014e86d80 Single-Bit 0x0014e86 1
4A 0x0000000014c65060 Single-Bit 0x0014c65 1
4A 0x000000001470aa00 Single-Bit 0x001470a 1
4A 0x0000000001321ef0 Single-Bit 0x0001321 577
1A 0x000000000e6f00a0 Single-Bit 0x000e6f0 1
4B 0x0000000002f19ac8 Single-Bit 0x0002f19 1
0B 0x000000001c9f8338 Single-Bit 0x001c9f8 3
5B 0x0000000013f5a638 Single-Bit 0x0013f5a 66
5A 0x000000001378cfb0 Single-Bit 0x001378c 1
4B 0x0000000017afe1b8 Single-Bit 0x0017afe 1
1A 0x000000001b78d240 Single-Bit 0x001b78d 1
1A 0x000000001ae00730 Single-Bit 0x001ae00 2
4B 0x000000001790ff68 Single-Bit 0x001790f 1
1B 0x000000001bc33478 Single-Bit 0x001bc33 1
4A 0x00000000164c6620 Single-Bit 0x00164c6 1
4A 0x00000000140627f0 Single-Bit 0x0014062 1
0B 0x000000000b8ddf08 Single-Bit 0x000b8dd 1
4B 0x0000000003e8ad28 Single-Bit 0x0003e8a 174
1A 0x00000000197002f0 Single-Bit 0x0019700 1

System start: Fri Sep 17 10:45:48 1999.
Last error check: Thu Mar 18 05:23:39 2010.
Logging interval: 3600 seconds.
51 address(es) with errors logged by memory logging daemon.

The Logtool Utility provides full details about the memory error log.

Page Deallocation Table (PDT)

This machine is not designed to have a Page Deallocation Table.
-- Information Tool Log for MEMORY on path 63 --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] #.
Dear Experts Please suggest on this
Pete Randall
Outstanding Contributor

Re: how much RAM is installed on the box

Run vmstat for a longer interval, like every second for 30 seconds:

vmstat 1 30

(or longer) and keep an eye on the "po" column. Ideally, it should remain zero, or at least in the low single digits. Once you get into double digits (above 10) then you've got memory problems.


Pete

Pete
Johnson Punniyalingam
Honored Contributor

Re: how much RAM is installed on the box