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
Solved

swap/tmp on solaris

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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.

766 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