LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Is my swap gone? (https://www.linuxquestions.org/questions/linux-general-1/is-my-swap-gone-317798/)

jasone 04-27-2005 02:40 PM

Is my swap gone?
 
Hi!

I have a problem with freezing under big scaling in gimp2.2. My Gkrellm says swap: 0mb free 0mb and df -h gives me:

Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hdb1            7.7G  4.6G  2.9G  62% /
/dev/hdb6            7.7G  1.9G  5.6G  26% /home
/dev/hdb7              27G  15G  13G  54% /mnt/win1
/dev/hdb8              32G  32G  227M 100% /mnt/win2
/dev/hda1              13G  11G  2.4G  82% /mnt/winC

I recently upgraded kernel and wonder if someone know if or how to fix this?

eternallySecure 04-27-2005 02:55 PM

The GIMP uses its own swap file: Check File | Preferences, then click Folders in the left pane. See what the Swap dir is set to.

If that isn't it, I don't know
Hope you figure it out (Good luck).

--RF

jasone 04-27-2005 03:16 PM

Thanks for the reply!

Shouldn't swap be listed when I use the df -h command? Or be shown in gkrellm?

tormented_one 04-27-2005 03:42 PM

no. Use top to see your swap, cpu cycles, and many other things. df -h does not show swap.

Matir 04-27-2005 03:57 PM

swapon -s does a good job of showing swap by partition/file, if you have many. :)

jasone 04-27-2005 04:03 PM

Ok thank you!

Code:

Swap:        0k total,        0k used,        0k free,    48520k cached
What does this mean? Is it not mounted or what?

Matir 04-27-2005 04:07 PM

You have no mounted swap.

Try 'swapon -a' to try mounting all swap in /etc/fstab. If that doesn't help, make sure your swap partitions are listed in fstab. :)


All times are GMT -5. The time now is 04:22 PM.