Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 1998 09:41:34 -0400 (EDT)
From:      Kevin Crossway <crossway@fang.cs.sunyit.edu>
To:        Spidey <beaupran@JSP.UMontreal.CA>
Cc:        Julian Elischer <julian@whistle.com>, Questions=answers <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Misc (was: Re: Creating the filesystem )
Message-ID:  <Pine.BSF.3.96.980724092428.25991A-100000@fang.cs.sunyit.edu>
In-Reply-To: <Pine.BSF.3.96.980723175711.9911A-100000@outpost.nada.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980724092428.25991A-100000>