Author Login
Post Reply
Ioannis Vranos wrote:
> Bob McConnell wrote:
>>
>> What does free tell you? The swap partition shows up under memory usage
>> not disk usage.
>
>
> john@(protected)
> total used free shared buffers cached
> Mem: 1035616 487784 547832 0 9812 269948
> -/+ buffers/cache: 208024 827592
> Swap: 971924 77968 893956
> john@(protected):~$
>
>
> Well, previously I used CentOS & Scientific Linux, and "df" showed the
> swap partition there. It looks like this isn't the case with Ubuntu Linux.
I don't think so:
[derek@(protected)
CentOS release 4.6 (Final)
Kernel \r on an \m
[derek@(protected)
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 20161084 13561020 5575928 71% /
none 2537828 0 2537828 0% /dev/shm
/dev/md2 218130980 27003928 180046624 14% /home
As somebody else pointed out, since swap isn't a filesystem, it shouldn't
appear in df - even in CentOS.
As long as you have an entry in /etc/fstab like:
<SOMETHING> none swap sw 0 0
you're fine. <SOMETHING> will probably be a UUID= string, as it was created
by the installer, but could just as easily be /dev/hdc1
--
derek
--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users