Paul Hardcastle wrote:
> Hey Brad,
> 
> Thanks foir the correction - been carrying that missinterpretation for 8 
> years....
> 
> Never used 'free' - neater than 'more /proc/meminfo' that I've been 
> using to see how much ram has been used up.
> 

/proc/meminfo is for real men.
Free is the quiche eaters version, but I wasn't sure what category the average 
readership was in ;)

/tmp as tmpfs is a neat one I've been using for a while.

[EMAIL PROTECTED]:~$ grep /tmp /etc/fstab
none            /tmp            tmpfs   defaults,size=768M      0       0

The size parameter is not required, It defaults to half your ram. I left that 
there from when this 
laptop only had a gig in it. Now it's got 1.5G it's kinda redundant.

[EMAIL PROTECTED]:~$ df -h | grep /tmp
none                  768M   27M  742M   4% /tmp

This way, none of the stuff I use tmp for ever hits the disk, and it's 
automatically cleaned out 
when I reboot (which is pretty much never these days).

On my server, with 2GB of tmpfs I can concatenate .avi's, do kernel compiles 
and all sorts of fun 
stuff. It's shedloads faster than working from disk. Just remember to delete 
your working trees 
afterwards or it'll hit the disk as swap at some point.

On another completely different note. Does anyone know where I can get a couple 
of 512M PC100/133 
standard SDRAM SIMMs from? Got an old Mac PPC here I need to juice up. Willing 
to swap some 512M 
PC3200 DDR simms in exchange if someone's got some lying around.

-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.

Reply via email to