Operating System - HP-UX
1833780 Members
2627 Online
110063 Solutions
New Discussion

Re: determine free memory

 
Amresh Prasad
Occasional Contributor

determine free memory

Hi all,
I'm trying to find out how to obtain memory usage information (used/free vs total physical memory) on an HPUX 11 box. Is there a utility/command that gets this information easily?
Also, when one uses 'swapinfo' to get the swap space information, does the amount listed under memory include regular memory usage or is it just memory swap space?
5 REPLIES 5
Jim Turner
HPE Pro

Re: determine free memory

Hi Amresh,

You can use "top" to see (among many other things) your memory usage. Top is included with the OS. If you purchased GlancePlus, you can use the memory report (m) in it to observe your data, also.

The "memory" item in a swapinfo output is pseudoswap usage. Pseudoswap is imaginary swap (the OS lying to itself, if you will). It consumes no physical RAM and no disk space.

All The Best,
Jim
Ajitkumar Rane
Trusted Contributor

Re: determine free memory

Hi,
You can use vmstat check man pages for vmstat will give you the details. The memory listed with swapinfo is the system memory avail for paging if I understand correctly.
Also you can use Glance which is more precise.

Goodluck.
Amidsts difficulties lie opportunities
MANOJ SRIVASTAVA
Honored Contributor

Re: determine free memory

Hi Amresh


1. TOP
2. Glance
3. PerfView.

Then there are cobinations of ps commnads which tell you what memeory is being used.

Manoj Srivastava

Joseph C. Denman
Honored Contributor

Re: determine free memory

I would use top (free)

...jcd...
If I had only read the instructions first??
Deshpande Prashant
Honored Contributor

Re: determine free memory

HI
top, vmstat, glance will be able to give you memory utilization.

Prashant.
Take it as it comes.