[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need help.....



"jason" <jason@kt.wox.org> writes:

> I use Linux file server which shares several samba directory for
> M$-clients.:p>
> 
>  I'm wanna check directory quantity that I choice one, so that I can give
> the alarm to M$-client.:p>
> 
> The alarm is such as ¡°you don¡¯t have any room, so it¡¯s time to
> backup¡±:p>

There are disk-space-watching programs available on http://freshmeat.net/ ,
or alternatively you can see what I use at
<http://spodzone.org.uk/packages/space.pl.txt>.
Adjust it to spawn `echo eek\! | smbclient -M hostname' and you'll get a
popup message on a windoze host, otherwise as-is it'll send mail to
`admins'. Runs from cron(8).

~Tim
-- 
| Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++ 
| w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y-	     
| The sun is melting over the hills,         | http://piglet.is.dreaming.org/
| All our roads are waiting / To be revealed | piglet@glutinous.custard.org



Reply to: