farrokhi
Developer
I have a few processes swapped out:
Then I turned off swap space in order to force them to page into RAM:
And the processes are still swapped!
Am I missing something here? How come the processes are still swapped out when there is no swap space available?
Code:
[root@devbox:~]# ps ax | grep W
12 ?? WL 61:00.79 [intr]
161 ?? IWs 0:00.00 adjkerntz -i
32967 1 TWs+ 0:00.00 tcsh
33009 3 TWs+ 0:00.00 tcsh
33105 4 TWs+ 0:00.00 tcsh
[root@devbox:~]# swapinfo
Device 1K-blocks Used Avail Capacity
/dev/da0s1b 1536000 33608 1502392 2%
Then I turned off swap space in order to force them to page into RAM:
Code:
[root@devbox:~]# swapoff -a
swapoff: removing /dev/da0s1b as swap device
[root@devbox:~]# swapinfo
Device 1K-blocks Used Avail Capacity
And the processes are still swapped!
Code:
[root@devbox:~]# ps ax | grep W
12 ?? WL 61:00.98 [intr]
161 ?? IWs 0:00.00 adjkerntz -i
32967 1 TWs+ 0:00.00 tcsh
33009 3 TWs+ 0:00.00 tcsh
33105 4 TWs+ 0:00.00 tcsh
Am I missing something here? How come the processes are still swapped out when there is no swap space available?