> I have 2 squeezeboxes but will add more. I am planning to have a
routine
> that runs periodically on the server to check whether any of the SBs
is
> running, but also the server runs SAMBA, serving other PCs for
> file/print serving, so the routine would also need to check whether
any
> client connections are in use before hibernating.

I'm using netstat from a shell script for that.  The script calls
netstat at regular intervals (2 minutes at present), resetting a
timeout if there are inet connections which don't match a predefined
list of don't-care services.

There's a fixed connection showing up on netstat for any connected
Squeezebox, so it's an easy task to not shut down before all of them
are down.  Similarly, any connected PC (member of the same workgroup)
is represented by a netbios connection.  It might be trickier to watch
them for activity - shorter monitor intervals should do in most cases.


===============

Just a sidenote:  I'm using the mailing list interface, and my replies
semm not to go through.  The address seems to be correct:

2006-10-07 19:09:53 1GWFfQ-0004q0-FM => [email protected]
R=smarthost T=remote_smtp_smarthost

Anyone else having that problem?


-- 
hczim
------------------------------------------------------------------------
hczim's Profile: http://forums.slimdevices.com/member.php?userid=6380
View this thread: http://forums.slimdevices.com/showthread.php?t=28403

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to