This post originated from an RSS feed registered with Java Buzz
by Javin Paul.
Original Post: How to find swap space and usage in Solaris - UNIX command
Feed Title: Java67
Feed URL: http://www.java67.com/feeds/posts/default?alt=rss
Feed Description: Java and technology tutorials, tips, questions for all programmers.
Swap
space in Solaris or any UNIX host is an important disk space which
is used for swapping process from physical memory (RAM) to disk. Virtual memory allowed process to run
even if physical memory gets full by using swap space (which is located
in your hard disk) to swap out memory
pages which are not currently in use. In this UNIX
command tutorial we will see some Solaris commands to find configured and current usage of swap space. Remember if your
machine runs out of swap space then you can not start new process and also old
process which will try to expand themselves will likely to fail. Another
interesting point about swap space is that, every process reserved swap space,
equivalent to its physical memory requirement, so that it can swap out
completely when required. Which means current usage of swap space denotes total
memory used by all process at that time. This UNIX command tutorial is next in
our series of articles e.g. UNIX
command to find links , grep
command examples in UNIX and10
most popular Linux Interview questions.