On Sun, 1 Oct 2000, Manor G. wrote:

>  Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1     751   3028000+  83  Linux native
> /dev/hda2           752       787    145152   82  Linux swap

this shows you have a partition of type 'linux swap' defined in your hard
drive's partition table.

> but 'top' shows:
> 
> 9:58pm  up 1 day, 15:54,  5 users,  load average: 2.00, 2.01, 2.02
> 60 processes: 57 sleeping, 3 running, 0 zombie, 0 stopped
> CPU states: 21.3% user, 78.6% system,  0.0% nice,  0.0% idle
> Mem:   127860K av,  121508K used,    6352K free,   56508K shrd,   21256K
> buff
> Swap:       0K av,       0K used,       0K free                   41000K
> cached

this shows your swap partition is not used at all (the 0K free part).

this is probably cause your system's startup scripts does not set this
swap partition into active mode. this setting is usually done when you
tell the install script to use this partition as swap space.

in order to modify this manualy, you should:

1. format this partition, using the 'mkswap' command.

2. setting the swap partition into active state, using the 'swapon'
   command.

3. make sure yur swap partition appears in /etc/fstab . here is my entry:

/dev/hdb2               swap                    swap    defaults       0 0

4. make sure 'swapon' is used in your system's startup scripts, so swap
   space will be used after the next reboot.

guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to