Unix/Linux Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

How much Swap memory do i have ?

HP-UX


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-27-2013
mohtashims mohtashims is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 19 May 2015, 1:10 PM EDT
Posts: 397
Thanks: 92
Thanked 0 Times in 0 Posts
How much Swap memory do i have ?

here is the output of swapinfo command


Code:
==> swapinfo
             Kb      Kb      Kb   PCT  START/      Kb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev     8192000       0 8184000    0%       0       -    1  /dev/vg00/swap
reserve       - 8184000 -8184000
memory  63284056 56268872 7015184   89%


==> swapinfo -tam
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev        8000       0    7992    0%       0       -    1  /dev/vg00/swap
reserve       -    7992   -7992
memory    61801   54960    6841   89%
total     69801   62952    6841   90%       -       0    -

Can you tell me how much FREE swap memory do i have and how do we calculate it ?
Sponsored Links
    #2  
Old Unix and Linux 06-27-2013
Peasant's Unix or Linux Image
Peasant Peasant is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 30 May 2015, 5:12 AM EDT
Posts: 765
Thanks: 19
Thanked 175 Times in 170 Posts
See free column under swapinfo -tam

Regards
Peasant.
Sponsored Links
    #3  
Old Unix and Linux 06-27-2013
mohtashims mohtashims is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 19 May 2015, 1:10 PM EDT
Posts: 397
Thanks: 92
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Peasant View Post
See free column under swapinfo -tam

Regards
Peasant.
I don't understand those numbers can you tell me in % and in KB or MBs
    #4  
Old Unix and Linux 06-27-2013
Peasant's Unix or Linux Image
Peasant Peasant is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 30 May 2015, 5:12 AM EDT
Posts: 765
Thanks: 19
Thanked 175 Times in 170 Posts
It says on the header mb and PCT
Those mean megabytes and %, respectively.

Regards
Peasant.
Sponsored Links
    #5  
Old Unix and Linux 06-27-2013
mohtashims mohtashims is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 19 May 2015, 1:10 PM EDT
Posts: 397
Thanks: 92
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Peasant View Post
It says on the header mb and PCT
Those mean megabytes and %, respectively.

Regards
Peasant.
What is dev,, reserve, memory and total ? how are they different.

I need swap memory so which one of them has the swap info ?
Sponsored Links
    #6  
Old Unix and Linux 06-27-2013
Peasant's Unix or Linux Image
Peasant Peasant is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 30 May 2015, 5:12 AM EDT
Posts: 765
Thanks: 19
Thanked 175 Times in 170 Posts
If you are having issues, it is because you need to configure at least 1x RAM to swap space (or even more, depending).

It is because HPUX reserves swap space for every memory allocation.

This is a nice article explaining why and how to configure swap space on HPUX, it for SAP but can be applied in general.
SAP on HP-UX: Recommendations for swap and pseudo swap

And some further information about swapinfo command itself and it's output, and general HPUX memory handling.
HP-UX-Admin: [HPADM] RE: -SUMMARY- Clarification on swapinfo/glance output

Hope that helps
Regards
Peasant.
The Following User Says Thank You to Peasant For This Useful Post:
Nishant.Jvk (12-12-2013)
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Threshold for swap memory karlochacon UNIX for Dummies Questions & Answers 3 03-20-2012 10:48 AM
swap memory kaushik02018 UNIX for Dummies Questions & Answers 2 01-02-2010 10:17 PM
Solaris 10 - Memory / Swap sbk1972 Solaris 1 10-16-2009 06:12 AM
swap memory sivaramat Solaris 6 12-29-2003 09:59 AM
Total Memory/Swap Memory ghe1 Filesystems, Disks and Memory 4 04-01-2002 09:33 AM



All times are GMT -4. The time now is 10:28 AM.