Notebook as a router/firewall - SUCCESS

George Toft plug-discuss@lists.PLUG.phoenix.az.us
Wed, 20 Jun 2001 07:04:38 -0700


Hi Wayne,

I have a script:
while [ 1 ]; do 
	echo `date` `hdparm -C /dev/hda` > /var/log/drivewatch.log
	sleep 60
done

which is running as root and nohup'ed.

Then I can log in as an upriv user and tail it.

George



Wayne Conrad wrote:
> 
> On Tue, 19 June 2001, George Toft wrote:
> > 6.  Created a script that monitors hard drive activity and dumps the
> > output to /var/log so I can tail it to see how often the hard drive
> > is shut down.
> 
> Neat stuff!  How do you monitor when the hard drive is stopped and started?
>     Wayne Conrad
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> 
> PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss