- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ADB issue on 11iv2
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
Discussions
Discussions
Forums
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
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
тАО05-04-2006 02:03 AM
тАО05-04-2006 02:03 AM
HPUX11i-OE-Ent B.11.23.0505 HP-UX Enterprise Operating Environment Component
I have a script called hpmem (attached).
On one system, works perfect...
On other, I get an adb error - but it still works:
# hpmem
HP-UX pc1104 B.11.23 U 9000/800 3394666127 unlimited-user license
CPU Count: 4
CPU Speed: 999 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
adb: warning: No memory file specified ...
adb: warning: Using 'core'.
adb: warning: Object file not SOM ...
adb: warning: Shared library symbols could not be read.
RAM Size: 6142 MB
bufpages: 963 MB
maxuprc: 3686
maxvgs: 30
maxfiles: 2048
max_thread_proc:
nfile: 63488
nproc: 4096
ninode: 34816
shmmax: 1073741824
shmmni: 512
dbc_max_pct: 18
With set -x
Kernel Support: 64-bit
+ GetKernelSymbol memory_installed_in_machine
+ echo memory_installed_in_machine/D
+ adb /stand/vmunix /dev/kmem
+ read junk junk2 kval
+ tr \012
+ + uname -r
+ cut -d. -f3
ver=23
+ let ver > 22
+ + /usr/sbin/kcpath -x
kernel=/stand/current/vmunix
+ + echo phys_mem_pages/A
+ adb /stand/current/vmunix /dev/kmem
+ awk {print $2}
+ tail +2
hexval=0x17fe00
+ + echo 0x17fe00=D
+ adb
adb: warning: No memory file specified ...
adb: warning: Using 'core'.
adb: warning: Object file not SOM ...
adb: warning: Shared library symbols could not be read.
REAL_MEM= 1572352
+ + expr 1572352 / 256
mb=6142
+ print RAM Size: 6142 MB
RAM Size: 6142 MB
Something up with these lines?
hexval=$(echo "phys_mem_pages/A" | adb $kernel /dev/kmem | tail +2 | awk '{print $2}')
REAL_MEM=$(echo ${hexval}=D | adb)
mb=$(expr ${REAL_MEM} / 256)
From command line:
# echo "phys_mem_pages/A" | adb /stand/current/vmunix /dev/kmem|tail +2 |awk '{print $2}'
0x17fe00
no error - so that seems fine...
Try full:
hexval=$(echo "phys_mem_pages/A" | adb /stand/current/vmunix /dev/kmem|tail +2 |awk '{print $2}')
That's okay...
REAL_MEM=$(echo ${hexval}=D | adb)
adb: warning: No memory file specified ...
adb: warning: Using 'core'.
adb: warning: Object file not SOM ...
adb: warning: Shared library symbols could not be read.
Aha - what gives?
Rgds...Geoff
Solved! Go to Solution.
- Tags:
- adb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 02:49 AM
тАО05-04-2006 02:49 AM
Solutiontry to look core file presence ...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=933449
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 12:37 PM
тАО05-04-2006 12:37 PM
Re: ADB issue on 11iv2
IIRC there is kctune to get the value of those tunables. Not sure about some of the other stuff if there is a way to grab them via a script, but it might be good to investigate to avoid using adb that way.
- Tags:
- kctune
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 05:10 AM
тАО05-05-2006 05:10 AM
Re: ADB issue on 11iv2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 07:47 AM
тАО05-05-2006 07:47 AM
Re: ADB issue on 11iv2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 08:46 AM
тАО05-05-2006 08:46 AM
Re: ADB issue on 11iv2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 09:13 AM
тАО05-05-2006 09:13 AM
Re: ADB issue on 11iv2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 09:56 AM
тАО05-05-2006 09:56 AM
Re: ADB issue on 11iv2
According to the manpages, 'machinfo' is confined to Itanium processors only:
http://www.docs.hp.com/en/B2355-60105/machinfo.1.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 10:17 AM
тАО05-05-2006 10:17 AM
Re: ADB issue on 11iv2
I wrote a similar script to gather info from HP-UX versions 7.xx, 8.xx, 9.xx and 10.xx and there were kernel changes in every revision. Sorry, I don't have a list of the new or changed symbols.
Here's a link for 11v2 Release Notes. adb is covered on page 274:
http://docs.hp.com/en/5990-8153/5990-8153.pdf
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 11:23 AM
тАО05-05-2006 11:23 AM