Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

swap/tmp on solaris

Posted on 2009-05-05
5
Medium Priority
?
888 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 400 total points
ID: 24308741
df -k /tmp

swap -l
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 400 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 400 total points
ID: 24311418
just an addition

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

Assisted Solution

by:arthurjb
arthurjb earned 400 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 400 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

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…
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 …
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

782 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