- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: knowing physical memory
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
тАО06-22-2008 03:50 AM
тАО06-22-2008 03:50 AM
i just want to know whether a a normal user in HP UX having no sudo priviledges can see how much physical memory the system have ? if yes, whats the way to know that ?
thanx in advance..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 04:13 AM
тАО06-22-2008 04:13 AM
Re: knowing physical memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 04:14 AM
тАО06-22-2008 04:14 AM
Re: knowing physical memory
dmesg |grep Physical
or if ignite is installed
print_manifest |grep ├в i memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 04:17 AM
тАО06-22-2008 04:17 AM
Re: knowing physical memory
print_manifest |grep -i memory
It is doubtfull that a normal user will be able to run them, but you could try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 04:34 AM
тАО06-22-2008 04:34 AM
Re: knowing physical memory
dmesg |grep Physical
print_manifest |grep -i memory
cannot be run by the normal user
any other option ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 04:44 AM
тАО06-22-2008 04:44 AM
Re: knowing physical memory
swapinfo -at
it shows physical memory as well as swap usage
- Tags:
- swapinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 05:04 AM
тАО06-22-2008 05:04 AM
Re: knowing physical memory
Rather than asking "how?" I'd would ask "why?".
Why would a user need to know how much physical memory is on a server? Given that any processes he runs will be fenced (limited) by kernel parameters that govern (for example) the maximum stack (maxssiz) and data (maxdsiz) sizes of a process, it would be much more meaningful to program knowing these limits. As a normal user you can use 'ulimit' to display (and change the soft limit value). See the 'sh-posix' manpages under 'ulimit'.
In answer to the original question of how can a normal user know how much physical memory a system has, the answer is *ask* the system administrator.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 05:32 AM
тАО06-22-2008 05:32 AM
Re: knowing physical memory
Remember a little bit of knowledge can be dangerous ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 07:23 AM
тАО06-22-2008 07:23 AM
Re: knowing physical memory
Well, "swapinfo -tam" will give a good estimate of it. Also, I'm not sure whether pstat(2) will provide this info. It gives the VM stats.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2008 03:56 PM
тАО06-22-2008 03:56 PM
Re: knowing physical memory
- Tags:
- pstat