Re: [uug] Disable Disk Caching

2011-04-04 Thread Robert LeBlanc
On Mon, Apr 4, 2011 at 5:07 PM, Jeff Anderson wrote: > On Mon, Apr 04, 2011 at 04:18:00PM -0600, Alberto Trevi?o wrote: > > On Monday, April 04, 2011 3:02:19 PM Jeff Anderson wrote: > > > Hello, > > > > > > This question is frequently posed by those new to Linux: "Where has all > > > my ram gone?!

Re: [uug] Disable Disk Caching

2011-04-04 Thread Jeff Anderson
On Mon, Apr 04, 2011 at 04:18:00PM -0600, Alberto Trevi?o wrote: > On Monday, April 04, 2011 3:02:19 PM Jeff Anderson wrote: > > Hello, > > > > This question is frequently posed by those new to Linux: "Where has all > > my ram gone?!" > > > > The answer is disk caching! > > > > I'd like to do so

Re: [uug] Disable Disk Caching

2011-04-04 Thread Alberto TreviƱo
On Monday, April 04, 2011 3:02:19 PM Jeff Anderson wrote: > Hello, > > This question is frequently posed by those new to Linux: "Where has all > my ram gone?!" > > The answer is disk caching! > > I'd like to do some testing where I'll be firing up about 7 virtual > machines on my workstation. I'

Re: [uug] Disable Disk Caching

2011-04-04 Thread Andrew McNabb
On Mon, Apr 04, 2011 at 03:02:19PM -0600, Jeff Anderson wrote: > > This question is frequently posed by those new to Linux: "Where has all my ram > gone?!" > > The answer is disk caching! Which, of course, is almost always a good thing. > I'd like to do some testing where I'll be firing up abo

Re: [uug] Disable Disk Caching

2011-04-04 Thread Todd Millecam
On Mon, Apr 4, 2011 at 3:02 PM, Jeff Anderson wrote: > > I've found the /proc/sys/vm/drop_caches location, but I'm not clear on > whether > this is a one-shot drop, or if it'll actually disable caching. If it's a > one > shot drop, it isn't terribly useful, but will help some if I drop once a > min

[uug] Disable Disk Caching

2011-04-04 Thread Jeff Anderson
Hello, This question is frequently posed by those new to Linux: "Where has all my ram gone?!" The answer is disk caching! I'd like to do some testing where I'll be firing up about 7 virtual machines on my workstation. I'm using qemu+kvm, which does a good job about not grabbing ram until it is u

Re: [uug] Compare ZSH and BASH was [Re: Magic non-cat-able file]

2011-04-04 Thread Matthew Gardner
On Mon, Apr 4, 2011 at 11:35 AM, Andrew McNabb wrote: > Many other commands don't and > shouldn't have special cases. Try "ls .*" or "mv .* some-other-dir" or > any other command using the ".*" glob. To get the desired behavior in > general for such situations, you have to specify ".??* .[^.]"

Re: [uug] Compare ZSH and BASH was [Re: Magic non-cat-able file]

2011-04-04 Thread Richard Esplin
This one has caught me twice over the years: chmod -R go-rwx subdir/.* On the next reboot things fail because the entire file system is no longer readable to anyone but the file owner. I switched to ZSH after this conversation last week, and I am liking it. I just wish that on Ubuntu the defau

Re: [uug] Compare ZSH and BASH was [Re: Magic non-cat-able file]

2011-04-04 Thread Andrew McNabb
On Sun, Apr 03, 2011 at 09:58:04AM -0600, Peter McNabb wrote: > > I tried it: > > $ mkdir /tmp/foo; cd /tmp/foo; touch .a; touch b; rm -rf .*; ls -al > rm: cannot remove directory: `.' > rm: cannot remove directory: `..' > total 8 > drwxrwxr-x 2 pmcnabb pmcnabb 4096 Apr 3 09:59 . > drwxrwxrwt.