- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory question
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
11-08-2006 06:34 AM
11-08-2006 06:34 AM
Memory question
Also, how do I change the size of the swap size to match the amount of installed RAM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 06:45 AM
11-08-2006 06:45 AM
Re: Memory question
# echo 'scl q memory;if;wait;il;done' | cstm
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 06:47 AM
11-08-2006 06:47 AM
Re: Memory question
To ascertain what memory you have:
# echo "selclass qualifier memory;info;wait;infolog"|cstm > /tmp/meminfo
To increase your swap space (by example):
# lvcreate -C y -r n -L 8192 -n lvolX /dev/vgNN
# swapon -p 0 /dev/vgNN/lvolX
Then, add the following to '/etc/fstab':
/dev/vgNN/lvolX ... swap pri=0 0 0
No reboot is necessary.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 06:48 AM
11-08-2006 06:48 AM
Re: Memory question
2. You can create another lvol and make it your primary swap. do a man on swapon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 09:51 PM
11-08-2006 09:51 PM
Re: Memory question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 09:56 PM
11-08-2006 09:56 PM
Re: Memory question
cstm is the best tool because it and I think mstm can show you simm/dimm slots and size of memory chips.
xstm for the gui enabled minds does the same thing.
swapinfo -tam
displays swap.
I do swap changes so seldomly I still rely on sam for that. A boot is required for changes to take effect.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 10:10 PM
11-09-2006 10:10 PM
Re: Memory question
You can try dmesg too i think.
The last part of dmesg gives a memory report.
Siva