- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- physmem : symbol not found.
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
08-02-2002 05:03 AM
08-02-2002 05:03 AM
one of my scripts is coming up with this:
echo physmem/D | adb64 -k /stand/vmunix /dev/mem | tail -1 | awk '{print $2/256 " Mbytes"}'
0 Mbytes
!
echo physmem/D | adb64 -k /stand/vmunix /dev/mem
symbol not found
echo phys_mem_pages/D | adb64 -k /stand/vmunix /dev/mem | tail -1 | awk '{print $2/256 " Mbytes"}'
1024 Mbytes
Also,
/usr/sam/lbin/getmem
48
48 whats??
# swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
reserve - 301 -301
memory 320 130 190 41%
total 1344 431 913 32% - 0 -
It used to work long time ago!..
pereal - /home/trsh/.files # model
9000/800/A500-5X
pereal - /home/trsh/.files # uname -a
HP-UX pereal B.11.00 U 9000/800 1518780528 unlimited-user license
So, who can tell me how much RAM, I have in this box.
Thanks,
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:13 AM
08-02-2002 05:13 AM
Re: physmem : symbol not found.
It is weird but /usr/sam/lbin/getmem should return your RAM (in MB). That number is too low on your system.
This is "what" outputs on getmem on my system, HP-UX 11.0, 9000/800.
# what /usr/sam/lbin/getmem
/usr/sam/lbin/getmem:
HP System Administration Manager Version 3.5
built on date: 05/20/99 16:21:00
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:13 AM
08-02-2002 05:13 AM
Re: physmem : symbol not found.
Here's what I use:
HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi
MYMEM=$(echo "${MYSYMBOL}/D" | adb $HPUX /dev/kmem | grep "${MYSYMBOL}: *." | awk '{print $2*4/1024}')
echo $MYMEM
What's your OS version?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:16 AM
08-02-2002 05:16 AM
Re: physmem : symbol not found.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:17 AM
08-02-2002 05:17 AM
Re: physmem : symbol not found.
/usr/sam/lbin/getmem:
HP System Administration Manager Version 3.5
built on date: 05/20/99 16:21:00
--
QPK1100 B.11.00.54.7 Quality Pack for HP-UX 11.00, September 2001
XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)
XSWHWCR1100 B.11.00.54.6 HP-UX Hardware Enablement and Critical Patches, September 2001
--
# uname -a
HP-UX pereal B.11.00 U 9000/800 1518780528 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:19 AM
08-02-2002 05:19 AM
Re: physmem : symbol not found.
0 0.67 0.6% 0.0% 0.0% 99.4% 0.0% 0.0% 0.0% 0.0%
1 0.93 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.80 0.2% 0.0% 0.2% 99.6% 0.0% 0.0% 0.0% 0.0%
Memory: 154640K (76980K) real, 156188K (107056K) virtual, 149288K free Page# 1/4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:27 AM
08-02-2002 05:27 AM
Re: physmem : symbol not found.
Do you have glance on your box? If so, you can try:
# /opt/perf/bin/glance -m
and look for "Phys Mem:" at the end of the line next to the last. To quit glance, type "q".
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:34 AM
08-02-2002 05:34 AM
Re: physmem : symbol not found.
Is there not an easy way? or at least one that works?!
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:37 AM
08-02-2002 05:37 AM
Re: physmem : symbol not found.
I really can't read, I guess. You did try phys_mem_pages. I tried both my method and yours on my 11.0 N-class and came up with 8192 Mbytes. /usr/sam/lbin/getmem, however, came up with 192.
So, I'm with you - 192 what?
What does dmesg say about memory?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:41 AM
08-02-2002 05:41 AM
Re: physmem : symbol not found.
How about this?
# dmesg | grep "Physical:"
The first value is your RAM in KB.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:43 AM
08-02-2002 05:43 AM
Re: physmem : symbol not found.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:44 AM
08-02-2002 05:44 AM
Re: physmem : symbol not found.
This might do the trick :
#echo "selclass qualifier memory;info;wait;infolog" | cstm | grep "Total Conf"
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:44 AM
08-02-2002 05:44 AM
Re: physmem : symbol not found.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:44 AM
08-02-2002 05:44 AM
Re: physmem : symbol not found.
And what about Ignite's print_manifest |grep Main?
Main Memory: 8192 MB
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:45 AM
08-02-2002 05:45 AM
Re: physmem : symbol not found.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:48 AM
08-02-2002 05:48 AM
Re: physmem : symbol not found.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:49 AM
08-02-2002 05:49 AM
Re: physmem : symbol not found.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 05:49 AM
08-02-2002 05:49 AM
Re: physmem : symbol not found.
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,