Hello daniel,

Wednesday, May 29, 2002, 1:35:38 PM, you textually orated:

d> i'm a bit confused about the use of swap space on the linux file system.  i
d> partitioned the disk manually and devoted about 32mb to it, but every time i
d> hit "df" it says that while i have 30464 available, none of it is used...

d> does it ever get used?  do i have to enable something somewhere to make sure
d> it gets used?  here's the output of df:

"df" is the Disk free command. It shows what is available on the file
system.

<snip>
d>   none              30464         0     30464   0% /dev/shm

This is NOT swap space. This is the shared memory device. It is only used
for programs that require POSIX compatible shared memory devices. It will
rarely be used.

Try issuing the "free" command. It should return your memory usage.
Something like...

[brian@gateway brian]$ free
             total       used       free     shared    buffers     cached
Mem:        126708     124776       1932          0      54604      23276
-/+ buffers/cache:      46896      79812
Swap:        72252      35536      36716

d> an additional question:
d> i'm going to be putting more ram in this box, probably totalling 256 (right
d> now it's stuck at 64).  will i have to devote more hard disc to swap?  if
d> so, how?

You should. It is good with 2.4 based kernels to have double available RAM.
Of course it _may_ not be necessary. It depends on your actual usage of the
box.

You may want to check this out as a place to start for how to do it.
http://www.thelinuxgurus.org/swap.shtml
Of course some google searches may give you alternate methods or more
information.

Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 [EMAIL PROTECTED]              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to