Operating System - HP-UX
1758859 Members
3147 Online
108876 Solutions
New Discussion юеВ

Re: physmem : symbol not found.

 
SOLVED
Go to solution
Bill McNAMARA_1
Honored Contributor

Re: physmem : symbol not found.

echo phys_mem_pages/D | adb64 -k /stand/vmunix /dev/mem
result is 1024.

Glance is installed:

Total VM : 161.1mb Sys Mem : 70.8mb User Mem: 311.4mb Phys Mem: 1024mb
Active VM: 113.2mb Buf Cache: 512.0mb Free Mem: 129.8mb


But I don't believe it...
I think I've got more like 256 MB RAM installed?
Unless someone added some?

Bill
It works for me (tm)
Tom Geudens
Honored Contributor

Re: physmem : symbol not found.

Hi,
This might do the trick :
#echo "selclass qualifier memory;info;wait;infolog" | cstm | grep "Total Conf"

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Sajid_1
Honored Contributor

Re: physmem : symbol not found.

Bill,

I think the system came up with less RAM first when it installed and you 've added some more memory in that. In this case the 'getmem' utility will give you wrong answers. If you invoke sam, performance monitors, system properties, you will get the correct value.

learn unix ..
Pete Randall
Outstanding Contributor

Re: physmem : symbol not found.

Bill,

And what about Ignite's print_manifest |grep Main?

Main Memory: 8192 MB

Pete

Pete
Bill McNAMARA_1
Honored Contributor

Re: physmem : symbol not found.

From syslog.log (dmesg full of other garbage)

Jul 30 09:59:45 pereal vmunix: Memory Information:
Jul 30 09:59:45 pereal vmunix: physical page size = 4096 bytes, logical page size = 4096 bytes
Jul 30 09:59:45 pereal vmunix: Physical: 1048576 Kbytes, lockable: 325372 Kbytes, available: 385300 Kbytes
It works for me (tm)
Pete Randall
Outstanding Contributor
Solution

Re: physmem : symbol not found.

Bill,

It's really beginning to look like you've got 1GB. Must be the memory fairy paid you a visit.

Pete

Pete
Bill McNAMARA_1
Honored Contributor

Re: physmem : symbol not found.

STM:



Basic Memory Description

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

Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

DIMM Slot Size (MB)
--------- ---------
01 512
02 512
--------- ---------
System Total (MB): 1024

I guess we do have 1G..
I'm kinda wondering where it came from!

Great!

so swapinfo output then, how can I interpret that?

Later,
Bill
It works for me (tm)
Hai Nguyen_1
Honored Contributor

Re: physmem : symbol not found.

Bill,

At least now dmesg in syslog.log and glance agreed on the amount of RAM you got on the box.

I'm looking for some other way to cross-check.

Hai
Sajid_1
Honored Contributor

Re: physmem : symbol not found.

From TKB document - A5564404 - "At version 11.0 of HP-UX, the physmem parameter has
been replaced by the phys_mem_pages.

You should therefore rework your command syntax as
follows:

echo phys_mem_pages /D | adb /stand/vmunix /dev/kmem "

Other options are:
# stm
# sam
# reboot and interrupt it, then go to information menu.

gl,
learn unix ..