[HPADM] Summary: shutdown and poweroff L-class and N-class

From: Corné Beerse (cbeerse_at_lycos.nl)
Date: 05/26/04

  • Next message: Ben Le: "[HPADM] PuTTy (SSH client) vs Emacs question"
    Date: Wed, 26 May 2004 15:59:29 +0200
    To: hpux-admin@DutchWorks.nl
    
    

    Corné Beerse wrote:

    > Hello,
    >
    > Is it possible to issue a shutdown that also does a poweroff on the
    > L1000, L2000 and N4000 machines? If so, how can that be issued from
    > HP-UX 11.0?

    4 out of 7 replies indicate there is no poweroff option from a shutdown. Most
    mention the power-command in the gsp (^b at the console to enter the gsp and
    `pc` to switch the power)

    `shutdown -i 5` was one, not tried, option. On our HP-UX 11.0, the -i option is
    not documented and not recognized.

    `shutdown -hy 0` comes close but does not flip the switches.

    In the end, Bill Hassell convinced me that I don't want a total poweroff: it
    also disables the lanconsole.

    >
    > Background: the current UPS will be changed and during a poweroutage, we
    > like to save power for the realy needed systems by switching others off.

    Since the OS is down there is no use of disks and such. Hopefully they stop
    spinning. That will reduce the heat generation and hence stop the blowjob of the
    fans. So powerconsumption will most likely take place.

    Since the gsp is accessable from the inside of the OS and its powercontroll can
    be timed, I think about writing a little script that is called from the OS at
    the verry last moment that will issue a poweroff after 1 or 2 minutes.

    If someone can point me to example scripts to access the gsp from the OS and
    realy issue some commands in there, I will post a resulting script for
    interesting collegues.

    CBee

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Ben Le: "[HPADM] PuTTy (SSH client) vs Emacs question"

    Relevant Pages

    • Solaris 10 11/06 x86_64: almost impossible to shutdown the system
      ... After upgrade to 11/06 it became almost impossible to shutdown the ... I do not have console login avaiable when this ... so I can type "poweroff" from there - machine ... Single user mode also doesn't work. ...
      (comp.unix.solaris)
    • Re: Introducing a poweroff(8) command
      ... > script that runs shutdown or as a link to shutdown... ... Here's a version of the poweroff command implemented as a hard ... retrieving revision 1.8 ... diff -u -r1.23 shutdown.8 ...
      (freebsd-arch)
    • Re: how to shutdown computer?
      ... ' Use "PowerOff" for a poweroff ... ' Use "Shutdown" for a shutdown ... ' Use "Reboot" for a reboot ... iCmd = EWX_LOGOFF + EWX_FORCE ...
      (microsoft.public.windows.server.scripting)
    • Re: Shutdown from a VBS file?
      ... WMI builtin, on Win9x you will need to install the WMI core first. ... ' PowerOff as default value ... ShutDown ".", "PowerOff" ... iCmd = EWX_LOGOFF + EWX_FORCE ...
      (microsoft.public.scripting.wsh)
    • Re: shutdown wont shutdown
      ... Nothing will seem to poweroff my PC. ... > commands, ... run lilo again and then reboot. ... to shutdown and have the computer actually turn itself off. ...
      (Debian-User)