Sponsored Content
Full Discussion: power off during weekend
Operating Systems Linux power off during weekend Post 302419901 by @dagio on Monday 10th of May 2010 04:02:34 AM
Old 05-10-2010
power off during weekend

Hello,
I would like to turn off (mean no energy consumption) some servers during the weekend.
I would like to do it automatically so i thought to create macro commands to a shell client.The problem is that giving shutdown (shutdown -h now) the server(Sun X4200 M2) turn off but the fans are still working.Do you have any idea how to power off the element?
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Weekend Data Log

I've been searching here, and other places for a solid script that would generate a weekend log. Mainly how would I combine 24hr data for the weekend days? I've came across scripts for day, days, month, but none that selects just the weekend. Thanks for any help! (0 Replies)
Discussion started by: ravzter
0 Replies

2. What is on Your Mind?

what are you doing this weekend?

does someone have any plans? (7 Replies)
Discussion started by: yarx
7 Replies
REBOOT(8)						    BSD System Manager's Manual 						 REBOOT(8)

NAME
halt, reboot -- stopping and restarting the system SYNOPSIS
halt [-lnqu] reboot [-lnq] DESCRIPTION
The halt and reboot utilities flush the file system cache to disk, send all running processes a SIGTERM (and subsequently a SIGKILL) and, respectively, halt or restart the system. The action is logged, including entering a shutdown record into the wtmp(5) file. When the system is halted with the halt command, the system is powered off. The options are as follows: -l The halt or reboot is not recorded in the system log. This option is intended for applications such as shutdown(8), that call reboot or halt and log this themselves. -n The file system cache is not flushed. This option should probably not be used. -q The system is halted or restarted quickly and ungracefully, and only the flushing of the file system cache is performed (if the -n option is not specified). This option should probably not be used. -u The system is halted up until the point of removing system power, but waits before removing power for 5 minutes so that an external UPS (uninterruptible power supply) can forcibly remove power. This simulates a dirty shutdown to permit a later automatic power on. OS X uses this mode automatically with supported UPSs in emergency shutdowns. Normally, the shutdown(8) utility is used when the system needs to be halted or restarted, giving users advance warning of their impending doom and cleanly terminating specific programs. SIGTERM TO SIGKILL INTERVAL
The SIGKILL will follow the SIGTERM by an intentionally indeterminate period of time. Programs are expected to take only enough time to flush all dirty data and exit. Developers are encouraged to file a bug with the OS vendor, should they encounter an issue with this func- tionality. SEE ALSO
wtmp(5), shutdown(8), sync(8) HISTORY
A reboot utility appeared in Version 6 AT&T UNIX. BSD
June 9, 1993 BSD
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy