nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How to find swap in Solaris UNIX

This is a discussion on How to find swap in Solaris UNIX within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; how do i find out swap space? I am using Solaris UNIX...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-12-2006, 01:46 PM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Default How to find swap in Solaris UNIX

how do i find out swap space? I am using Solaris UNIX
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
  #2 (permalink)  
Old 05-02-2007, 06:48 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rbanta
Default to view swap space in solaris

Use following commands to view swap space in solaris-unix
#swap -l
#swap -s
Reply With Quote
  #3 (permalink)  
Old 06-04-2009, 12:52 PM
Junior Member
User
 
Join Date: Apr 2009
OS: redhat
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nvartak is on a distinguished road
Cool

also you can use
df -k swap
top
Reply With Quote
  #4 (permalink)  
Old 14-07-2009, 01:56 PM
Member
User
 
Join Date: Oct 2007
OS: Linux RHEL 5
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vikas027 is on a distinguished road
Lightbulb

Quote:
Originally Posted by nvartak View Post
also you can use
df -k swap
This could give wrong values; like in my case.

Code:
 
# df -kh swap
Filesystem             size   used  avail capacity  Mounted on
swap                   1.9G   288M   1.7G    15%    /tmp

# top -d1 | grep "total swap"
Memory: 2048M phys mem, 306M free mem, 3076M total swap, 2446M free swap

# swap -s
total: 1979944k bytes allocated + 1009544k reserved = 2989488k used, 1733408k available
Best option, as per me would be top -d1 | grep "total swap"

Regards,
VIKAS
Reply With Quote
Reply

Tags
df command , disk space , solaris , swap , unix


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Solaris UNIX Script to Find Users who has logged in for past 30 Days GSRaj Solaris/OpenSolaris 0 05-02-2009 12:59 AM
Solaris UNIX Open comparessed tar file tom Solaris/OpenSolaris 1 27-08-2008 05:50 PM
unix find out ram usage command charvi Solaris/OpenSolaris 4 10-04-2008 02:22 AM
Difference between Linux Swap partition & Swap file hrishikesh Linux software 9 16-03-2007 02:08 AM
Sun Solaris UNIX VI cursor keys problem fix monk Solaris/OpenSolaris 0 04-01-2007 10:54 PM


All times are GMT +5.5. The time now is 01:18 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38