Solved

swap/tmp on solaris

Posted on 2009-05-05
5
872 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

679 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