General TC > Tiny Core Netbooks
Manually Format Swap
cute curtis:
Hi, how can I manually format my swap partition? Also I want to know if I'm really using it? Thanks
jazzbiker:
--- Quote from: cute curtis on May 06, 2019, 10:18:33 PM ---Hi, how can I manually format my swap partition? Also I want to know if I'm really using it? Thanks
--- End quote ---
Hi, @cute curtis!
To get info on your memory usage you can do
--- Code: ---cat /proc/meminfo
--- End code ---
If you are using any X server, you can call:
System Tools > Control Panel > System Stats > mem
from application menu.
Do you mean "format my swap" clearing your data for security purposes?
jazzbiker:
There is "noswap" boot code, if you have enough memory for your tasks this will be the simplest solution.
Juanito:
See:
https://linux.die.net/man/8/mkswap
mkswap and swapon are in the util-linux extension
Rich:
Hi cute curtis
--- Quote from: cute curtis on May 06, 2019, 10:18:33 PM --- ... Also I want to know if I'm really using it? ...
--- End quote ---
To get a list of swap devices, their sizes, and how much of each device is in use:
--- Code: ---tc@box:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda2 partition 1047548 181584 -1
tc@box:~$
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version