Command swap -s is showing unexpected output for Solaris 10
(Doc ID 2494314.1)
Last updated on JULY 20, 2023
Applies to:
Solaris Operating System - Version 10 1/13 U11 to 10 1/13 U11 [Release 10.0]Oracle Solaris on SPARC (64-bit)
Swap -s command is showing wrong output
bash-3.2# swap -s
total: 54325336k bytes allocated + 18446744073668361992k reserved = 13135712k used, 140041808k available
- Number of kb reserved is enormous and obviously not true. (18446744073668361992k )
- Swap space used is smaller then allocated. From what I know used swap space equals allocated + reserved.
Other reading for reference:
bash-3.2# vmstat 3 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr vc vc vc vc in sy cs us sy id
0 0 0 141170672 159221096 552 2610 0 0 0 0 2 6 4 4 4 2851 9710 2761 0 0 99
0 0 0 140014416 157970616 209 1476 0 0 0 0 0 31 3 6 2 2732 5713 2487 0 0 100
0 0 0 140013512 157969824 688 3553 0 0 0 0 0 17 1 1 1 2925 11954 2853 0 0 100
bash-3.2# swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 256,1 16 31457264 31457264
Symptoms
- Number of kb reserved is enormous and obviously not true. (18446744073668361992k )
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |