Unix/Linux Go Back    

SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Power off on SCO 5.0.6


Thread Tools Search this Thread Display Modes
Old Unix and Linux 1 Week Ago   -   Original Discussion by mjgeddo
mjgeddo's Unix or Linux Image
mjgeddo mjgeddo is offline
Registered User
Join Date: Mar 2018
Last Activity: 20 March 2018, 5:42 PM EDT
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Power off on SCO 5.0.6

hi all i have a doubt,
have a server sco 5.0.6 and i need him do a shutdown in at night

but not only shutdown ,, shutdown a poweroff. is possible?

shutdown -g0 -i0 only make a shutdown but steel need some to press a button
any command to make power off???
Sponsored Links
Old Unix and Linux 1 Week Ago   -   Original Discussion by mjgeddo
hicksd8's Unix or Linux Image
hicksd8 hicksd8 is offline Forum Staff  
Join Date: Feb 2012
Last Activity: 21 March 2018, 5:22 PM EDT
Location: Devon, UK
Posts: 1,816
Thanks: 269
Thanked 477 Times in 408 Posts
Firstly, your hardware must support the power-off operation which means having a suitable PSU and the function suitably enabled in the BIOS.

Secondly, you need an operating system that supports powering off and is configured to allow that.

Thirdly, you need to issue that appropriate command. This is usually the 'init' command with the correct init level (depending on O/S) which for SCO, as far as I remember, is:

# init 0

(means shutdown the O/S)

# init 6

(means reboot the O/S)

# init 5

(means shutdown and power off)

# init n

(means change to runlevel 'n')

So whether it will work or not depends on a number of things. All you can do is try it and see what happens.
Sponsored Links
Old Unix and Linux 1 Week Ago   -   Original Discussion by mjgeddo
MadeInGermany's Unix or Linux Image
MadeInGermany MadeInGermany is online now Forum Staff  
Join Date: May 2012
Last Activity: 22 March 2018, 3:52 AM EDT
Location: Simplicity
Posts: 4,010
Thanks: 343
Thanked 1,346 Times in 1,214 Posts
shutdown -iLevel and init Level use the level definition from /etc/inittab.
Run the following command to see its mam page (or click to browse the URL):
man inittab
Old Unix and Linux 1 Week Ago   -   Original Discussion by mjgeddo
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
Join Date: Apr 2007
Last Activity: 21 March 2018, 9:48 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 2,037
Thanks: 2
Thanked 280 Times in 262 Posts
Read the following section of the init command man page.

       Shut the machine down so it is safe to remove the power.              
       Have the machine remove power if it can. This state can be            
       executed only from the console.                                       
       Note that init 0 should not be used if you have a USB                 
       keyboard attached to the console. During an init 0, the               
       USB stack gets shut down and the system then waits for a              
       keyboard keypress interrupt before rebooting. Since USB is            
       gone, there's no way for a keypress on the USB keyboard to            
       get serviced, and the system does not respond. If this                
       occurs, you must either press the hardware reset button or            
       power cycle the system.                                               
       Put the system in single-user mode. Unmount all file                  
       systems except the root filesystem. All user processes are            
       killed except those connected to the console. It is                   
       recommended that this state be executed only from the                 
       Put the system in multiuser mode. All multiuser                       
       environment terminal processes and daemons are spawned.               
          Stop the UNIX system and go to the firmware monitor.                  
          Stop the UNIX system and reboot to the run-level defined              
          by the initdefault entry in /etc/inittab.

The above is from the 6.0.0 documentation but is backwards compatible to Xenix.

---------- Post updated at 01:14 PM ---------- Previous update was at 01:09 PM ----------

If you are unable to power down the system, because the cmos does not support it, you may be able to create a workaround using a UPS that you can send a "power off in 5 minutes" command to just prior to shutting down the SCO system.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
boot up failure unix sco after power failure fredthayer UNIX for Dummies Questions & Answers 11 03-29-2012 10:24 PM

All times are GMT -4. The time now is 04:10 AM.