Operating System - HP-UX
1838122 Members
3658 Online
110124 Solutions
New Discussion

Re: Total Memory is not displayed on top

 
Pablo Salazar
Advisor

Total Memory is not displayed on top

Hi Admins,

I have a doubt about the total memory on my rp7410.

At begin, have 6 Gb.

Now have 10 Gb of Memory, but the top utility show only 6 Gb.

This it a one part of top utility:
Memory: 6657500K (5363964K) real, 8309524K (6701264K) virtual, 1114096K free Pa
ge# 1/47


At begin, i think that top utility have a bug or similar, but today i install the Spotlight by Quest Software and the tool monitor Spotlight show me just 5 Gb (real on top utility).

My doubt it's:

I need to tunning some on kernel parameters??
I need to execute a command line utility for do a upgrade on information system????


Thanks in advanced

Pablo Salazar

Saber lo que uno busca, es vivir con la conviccion de saber lo que uno es.
13 REPLIES 13
Mark Grant
Honored Contributor

Re: Total Memory is not displayed on top

Bear in mind "top" doesn't actually give you a real figure but it should have increased.

Did you have enough swap for the new RAM you have insatlled?
Never preceed any demonstration with anything more predictive than "watch this"
Bill Hassell
Honored Contributor

Re: Total Memory is not displayed on top

top never reports the installed memory. It has it's own (quite archaic) definitions of how memory is counted and it doesn't add up. To see the installed memory, run SAM and go to Performance Monitors->System Properties and select the Memory tab. Or run the command print_manifest. NOTE: If print_manifest is not found (/opt/ignite/bin/print_manifest) you do not have the most important utility for HP-UX recovery. Download it as soon as possible from http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB


Bill Hassell, sysadmin
Jean-Luc Oudart
Honored Contributor

Re: Total Memory is not displayed on top

Pablo

from : http://hpux.ws/merijn/


How much memory do I have
a5:/ 112 # echo "selclass qualifier memory;info;wait;infolog" | cstm | grep 'Total Configured'
Total Configured Memory : 2048 MB
a5:/ 113 # echo 'memory_installed_in_machine/D' | adb -k /stand/vmunix /dev/mem | perl -nle'/(\d+)/&&print$1*4,"k"'
2097152k
a5:/ 114 # grep Physical /var/adm/syslog/syslog.log
Aug 25 08:01:07 a5 vmunix: Physical: 2097152 Kbytes, lockable: 1562360 Kbytes, available: 1801856 Kbytes

Regards,
Jean-Luc
fiat lux
Elena Leontieva
Esteemed Contributor

Re: Total Memory is not displayed on top

Pablo,

You may runthis command to verify you memory configuration:

echo "selclass qualifier memory;info;wait;infolog" |cstm > /tmp/meminfo

Elena.
RolandH
Honored Contributor

Re: Total Memory is not displayed on top

Real Memory!

1. dmesg|grep Phy
2. If you have Online Diag installed:
echo "selclass qualifier Memory;info;wait;il"|cstm |grep -i "System Total"

Roland
Sometimes you lose and sometimes the others win
Jeff Schussele
Honored Contributor

Re: Total Memory is not displayed on top

Hi Pablo,

Since this is a cell-based system, how many nPars does this system have?
If only 1, do you have 1 or 2 cell boards in this system?
If 2 are both cell boards attached to the cell #0 partition?
I'm wondering if the memory was added to the second cell board & it's not in the cell #0 complex.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Geoff Wild
Honored Contributor

Re: Total Memory is not displayed on top

Try this script...

Output like:

# hpmem
HP-UX pc0003 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 806 MB
maxuprc: 800
maxvgs: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 16384
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 8


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
SS_6
Valued Contributor

Re: Total Memory is not displayed on top

#grep -i physical /var/adm/syslog/syslog.log
OR do
#dmesg |grep -i physical
Use Galnce if you have on system
#glance
do ? to see for options
By providing solutions I am helping myself
Pablo Salazar
Advisor

Re: Total Memory is not displayed on top

Well,

Thanks to all people.

I see that all people say me that i execute some commands or utilitys and on efect, all commands show me 10 Gb installed.

Now, my question is, i never will see all memory configured on my system information or in this case SpotLight????

Regards,

Pablo Salazar
Saber lo que uno busca, es vivir con la conviccion de saber lo que uno es.
Jeff Schussele
Honored Contributor

Re: Total Memory is not displayed on top

OK - since the stm command shows proper memory count, you may want to consider the latest top cumulative patch - PHCO_29072

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_29072&context=hpux:800:11:11

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bill Hassell
Honored Contributor

Re: Total Memory is not displayed on top

Memory is HP-UX is used by dozens of different components. The HP-UX kernel occupies many megs, the buffer cache may occupy as much as 5 Gb if you don't change the badly chosen default kernel parameter of dbc_max_pct=50), proceses will consume some memory, some processes will share memory areas, and so on.

Now, an application such as Spolight will work as the manufacturer designed it. That means that it may report installed memory by looking at hardware information, or it may wander through kernel tables like top does...there's nothing you can do to influence the way the application works. As mentioned, there are numerous HP tools that come with the system to view installed memory and other components.


Bill Hassell, sysadmin
Pablo Salazar
Advisor

Re: Total Memory is not displayed on top

Well,

I see that i never will see the total memory installed.

Just running command-line utilities.

Thanks to all people that response to me.

Pablo Salazar
Saber lo que uno busca, es vivir con la conviccion de saber lo que uno es.
Pablo Salazar
Advisor

Re: Total Memory is not displayed on top

Just with Glance and STM i can see total memory.
Saber lo que uno busca, es vivir con la conviccion de saber lo que uno es.