- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory on server
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
04-13-2004 05:25 AM
04-13-2004 05:25 AM
Memory on server
Please I would like to know how much memory I have on my HP-UX 11i box.
Your asistance will be very much appreciated
BR
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 05:32 AM
04-13-2004 05:32 AM
Re: Memory on server
I use this little script:
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 '{printf "%.0f MB\n",$2/256}')
echo $MYMEM
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 05:37 AM
04-13-2004 05:37 AM
Re: Memory on server
# typset -i PAGES=0 MEM=0
# PAGES=$(echo "phys_mem_pages/D" | adb -k /stsnd/vmunix /dev/kmem | tail -1 | awk '{print $2}')
# (( MEM=PAGES*4/1024 ))
# echo $MEM
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 05:49 AM
04-13-2004 05:49 AM
Re: Memory on server
# echo "selclass qualifier memory ; il" | cstm | grep "Total Physical"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 05:50 AM
04-13-2004 05:50 AM
Re: Memory on server
Try,
grep Physical /var/adm/syslog/syslog.log
or if you have STM/cstm on the system,
echo "selclass qualifier memory;info;wait;infolog" | cstm | grep 'Total Configured'
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 05:55 AM
04-13-2004 05:55 AM
Re: Memory on server
If you have perl installed and in your path, you can also use,
echo 'memory_installed_in_machine/D' | adb -k /stand/vmunix /dev/mem | perl -nle'/(\d+)/&&print$1*4,"k"'
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 05:57 AM
04-13-2004 05:57 AM
Re: Memory on server
dmesg | grep Physical
this should get you what you need
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 06:06 AM
04-13-2004 06:06 AM
Re: Memory on server
if you have glance installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 06:10 AM
04-13-2004 06:10 AM
Re: Memory on server
# hpmem
HP-UX pc0004 B.11.11 U 9000/800 2504392628 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 07:26 AM
04-13-2004 07:26 AM
Re: Memory on server
Please I don't have Perl installed nor other utilities.
The /var/adm/syslog/syslog.log give me 2097152 kbytes.
Could you please interprete this figure for me as it is more than what I expect
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 07:27 AM
04-13-2004 07:27 AM
Re: Memory on server
Please I don't have Perl installed nor other utilities.
The /var/adm/syslog/syslog.log give me Physical:2097152 kbytes.
Could you please interprete this figure for me as it is more than what I expect
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 07:35 AM
04-13-2004 07:35 AM
Re: Memory on server
if you got the ignite ux installed
execute the print_manifest command to get the full system information. You also get to see how much memory is installed in the system.
/opt/ignite/bin/print_manifest
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 07:46 AM
04-13-2004 07:46 AM
Re: Memory on server
I used Naveej's ignite solution. It worked much faster.
BR
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 07:58 AM
04-13-2004 07:58 AM
Re: Memory on server
If i read that right, wouldn't Physical:2097152 kbytes be about
2 gig of physical memory?
Scott