1758810 Members
3208 Online
108875 Solutions
New Discussion юеВ

find memory

 
SOLVED
Go to solution
FOREST Michel
Frequent Advisor

find memory

Hello,
how can I find memory if dmesg is full and xstm not install on server ?

Thanks in advance
LL
A rookie in the HP Forum :)
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor
Solution

Re: find memory

Hi:

# grep -i physical /var/adm/syslog/OLDsyslog.log

...JRF...
Pedro Sousa
Honored Contributor

Re: find memory

Here are some ways:
grep -i physical /var/adm/syslog/syslog.log
by SAM - Performance Monitor - System Properties
dmesg |grep -i physic
Thierry Poels_1
Honored Contributor

Re: find memory

Hi,
another option (if syslog has been cleaned up):

HP-UX11
echo "phys_mem_pages/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256 }'

HP-UX10
echo "physmem/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256 }'

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
James R. Ferguson
Acclaimed Contributor

Re: find memory

Hi again:

Thierry's suggestion is also a good one.

I'd like to add, too, that the value in using 'OLDsyslog.log' is that this version of syslog is preserved at startup, notably via /sbin/rc2.d/S220syslogd.

Regards!

...JRF...
Rajeev Tyagi
Valued Contributor

Re: find memory

You can also check in SAM with selection on menu as
Performance monitors
System Properties

You will get full system info where you can choose memory.