How do I know how much freespace do I have on disk?
Fajar Priyanto
fajarpri at cbn.net.id
Mon Oct 22 14:25:02 UTC 2007
On Monday 22 October 2007 17:09:36 Gunawan wrote:
> Hi All,
> I would like to know how much freespace that I still have on my harddisk.
> And also I would like to change the swap volume size, how can I do that?
Hello Gun,
sudo dd if=/dev/zero of=/swapfile2 bs=1k count=512000
sudo mkswap /swapfile2
sudo swapon /swapfile2
Cek with command: top
See if the memory has been added
Put this into /etc/fstab:
sudo vi /etc/fstab
/swapfile2 swap defaults 0 0
Don't edit /etc/fstab if you're not sure how to do it, because if you make a
typo, you will risk your ubuntu unbootable. Use the sudo swapon /swapfile2
everytime you need it instead.
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
21:24:58 up 1:12, 2.6.20-16-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071022/8013b421/attachment.sig>
More information about the ubuntu-users
mailing list