Solved

swap/tmp on solaris

Posted on 2009-05-05
5
877 Views
Last Modified: 2013-12-27
How do I check how much SWAP and how much TMP I have in a solaris machine in GB
0
Comment
Question by:vishwakarmak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 100 total points
ID: 24308741
df -k /tmp

swap -l
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 100 total points
ID: 24308883
you could use top as well (you may download from sunfreeware.com)
0
 
LVL 4

Assisted Solution

by:joules17
joules17 earned 100 total points
ID: 24311418
just an addition

df -hk would give the output in GB
0
 
LVL 14

Assisted Solution

by:arthurjb
arthurjb earned 100 total points
ID: 24435780
It is important to note that in a native Solaris install, /tmp is a tmpfs file system that uses swap, and so one can affect the other.

If you think that you are having problems running out of swap or tmp you may have one of those few cases where it is a good idea to separate the two.

It is easy to do, but requires an available disk or partition.

Good Luck !
0
 
LVL 6

Assisted Solution

by:javeedabdul
javeedabdul earned 100 total points
ID: 24769184
Memory usage
prtmem -l
prtswap -l

Hope this help

Javeed Abdul
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question