From owner-freebsd-questions Fri Jul 24 06:43:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA08093 for freebsd-questions-outgoing; Fri, 24 Jul 1998 06:43:11 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from fang.cs.sunyit.edu (fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA08088 for ; Fri, 24 Jul 1998 06:43:07 -0700 (PDT) (envelope-from crossway@fang.cs.sunyit.edu) Received: from localhost (crossway@localhost) by fang.cs.sunyit.edu (8.8.8/8.8.8) with SMTP id JAA26067; Fri, 24 Jul 1998 09:41:34 -0400 (EDT) (envelope-from crossway@fang.cs.sunyit.edu) Date: Fri, 24 Jul 1998 09:41:34 -0400 (EDT) From: Kevin Crossway To: Spidey cc: Julian Elischer , Questions=answers Subject: Re: Misc (was: Re: Creating the filesystem ) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi too write a monitor you can use csh try this break: clear df sleep 3 goto break if you type this in what it will do is define a label called break clear screen display df sleep 3 and start over. As for -32Mb I don't think it was the swap, I think it just was the way your inodes and data blocks were being used. Kevin "Le silence 'eternel de ces espaces infinis m'effraye" Blaise Pascal On Thu, 23 Jul 1998, Spidey wrote: > I'm now backing up /usr. By curiosity, when I tried to backup my /usr > using only tar cvf /mnt/usr.tar /usr/. , my df's were showing me the > progression... At one point the filesystem got full, but the tarring kept > on going until it was -32Mb of storage left!!! I guess that was my swap > space that was being swallowed. Is it right? Also, why did it stopped at > 32Mb, and not at 70Mb, the size of my swap? > > And now for the newbie section: :) > > I was wondering if there was an easy way to make a "monitor" that would > do: > > while true > clear > df > > I tried, but never got a correct syntax. Is there good resource (on the > net if possible) for shell-script programming? > > Thanks a lot for everybody who helped me on this list, especially Julian, > Doug, and so much people I can't remember. > > How 'bout a little ride through your own world? > http://www.JSP.UMontreal.CA/~beaupran/ > > Spidey > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message