Solved

swap/tmp on solaris

Posted on 2009-05-05
5
875 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

751 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