A script for linux or unix. Will shutdown the server after inactivity is detected. Written for Nas4free but may work on other OS too. Can send also email if system will be shutdown.

The system will not shutdown if:
- a ZFS scrub or a resilver is in progress
- uptime is less then specified minutes
- avg cpu load in last 1min, 5min, 15min igher than specified
- any http or ssh session is active, this includes snapshots sent/received over ssh
- more SMB connections than specified
- there are still OPLOCKS on SMB (open files), this may not work reliable (sometimes Win keeps files forever open)

Project Activity

See All Activity >

Follow Idle shutdown

Idle shutdown Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Idle shutdown!

Additional Project Details

Registered

2015-10-01