コンソールサーバー

情報システム営業部TOP-LogicalSolutions-コンソールサーバー- man powerd-お問い合わせ-資料請求フォーム

ロジカル
ソリューションズ
最終更新:2013年1月7日

Think Logical SCSコンソールサーバ powerd の man ページ

powerd(8)                        Admin Command                       powerd(8)

NAME
       powerd - LSI power supply monitoring daemon.

SYNOPSIS
       powerd  [options]

DESCRIPTION
       powerd monitors LSI devices that have more than 1 power supply. It will
       not run on units with just 1 supply. If a supply fails, several report-
       ing  mechanisms  are available.  These include sending email, running a
       user-supplied program/script, or modifying the file /etc/power.failure.
       Status  messages  will  always  be sent to syslog, although the logging
       level can be modified.

       The  startup  script  /etc/init.d/powerd  sets  powerd's  command  line
       options from the file /etc/sysconfig/powerd.

OPTIONS
       --email[=comma-separated-list-of-recipients]
              sendmail must be running for this option to be effective;  send-
              mail  can  be started using the chkconfig and service utilities.
              If no names are given, then the mail is sent to  root@localhost.
              Editing the file /etc/aliases can redirect mail from root@local-
              host to some other (remote) user.  If  names  are  given,  there
              must  be  no  spaces before or after the equal sign '=', and the
              names  must  be  comma  separated,  and  quoted.  For   example:
              --email='aaa@xyz.com,bbb@abc.com,ccc@somwhere.net'

       --helper=program-name
              When a power event occurs, program-name will be run. Two parame-
              ters will be passed to the helper: the first is either  Left  or
              Right, and the second is either failed or restored. This program
              is not run as root, but run with as operator (uid of 11) and  as
              group daemon (gid of 2).

       --uid=number
              If a helper app. has been selected to run, run it with the user-
              id of number. The default uid of 11 (operator) is used  is  this
              option is omitted. The root uid of 0 is not allowed.

       --gid=number
              Similar  to the --uid option, this defines the group-id used for
              the helper app. The default gid of 2 (daemon) is  used  if  this
              option is omitted. The root gid of 0 is not allowed.

       --loglevel n
              Change  the priority of the messages sent to the system log. The
              value can range from 0, the highest level (Emerg),   to  7,  the
              lowest level (Debug). The default level is 2 (Critical).  powerd
              will always send messages to the system log, this option is only
              needed to change the logging priority.

       --file | --motd (obsolete)
              This option causes powerd to overwrite the file /etc/power.fail-
              ure with the current power status. This status line tells  which
              supply  (left  or right) either lost power (failed) or had power
              restored and when.  This is the same format as the message  sent
              to  the  system log.  Earlier releases of powerd would overwrite
              the file /etc/motd. This no longer happens.  The  option  --motd
              has  been  replaced  with --file, although the --motd will still
              work.

              The  file  /etc/power.failure  is  deleted  whenever  powerd  is
              started  or  stopped.  While  it is running, status messages are
              appended to the file.

              /etc/profile has been modified to  print  out  the  contents  of
              /etc/power.failure if is exists.

       -h | --help
              Print program usage information message and exit.

       -v | --version
              Print the program version number and exit.

Example
       A  sample  powerd  helper app is /usr/local/sbin/powerd.helper. It will
       send a snmp trap when a power event occurs.

FILES
       /etc/aliases
       /etc/power.failure
       /etc/sysconfig/powerd
       /proc/lsi_config/power_status
       /usr/local/sbin/powerd.helper

BUGS
       Please report bugs to support@thinklogical.com.

COPYRIGHT
       powerd and its man page are Copyright 2003 Logical Solutions, Inc., and
       are licensed under the GNU General Public License (Version 2 or later).

SEE ALSO
       aliases(5), chkconfig(8), mail(1), sendmail(1), syslogd(8)

powerd                           7 March 2005                        powerd(8)

LINUXサーバへの接続に関するFAQ

こちらをクリックしてください.