Oracle Solaris System Administration (MOSC)

MOSC Banner

Still trying to understand swap -l and -s relationship; please advise

edited Jul 12, 2012 12:45AM in Oracle Solaris System Administration (MOSC) 10 commentsAnswered ✓
Hello,
I think I've already passed by the fundamental swap docs and threads but can you, please, help me again understanding the following swap info from a Solaris 11 (SRU 8.5) box?
$ swap -lh; swap -sh
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 195,2        4K     8.0G     8.0G
total: 4.6G allocated + 420M reserved = 5.0G used, 7.1G available

The question is:
If disk-based swap is practically unused, with 5 GB used (4.6 GB allocated) and 7.1 GB is generally available, then is this available and used swap coming mostly from RAM?
But isn't that the case that swap usage begins by disk instead of RAM?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center