Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

detectups(8) [suse man page]

DETECTUPS(8)						      System Manager's Manual						      DETECTUPS(8)

NAME
detectups - UPS detection/powerd configuration generator SYNOPSIS
/sbin/detectups [tty] DESCRIPTION
detectups monitors the serial port connected to an UPS device and will attempt to determine the method of UPS notification of power outage. It will ask you to remove the power cord from the wall to the UPS, or push the UPS's test button. It will then determine what all has hap- pened and ask to generate a config file based on your UPS and cable configuration. detectups needs to watch a tty with modem control prop- erties. Please refer to the powerd documentation for further information. ARGUMENTS
Serial-Device Some serial port that is not being used by some other device, and does not share an interrupt with any other serial port. /etc/powerd.conf FILES
/etc/powerd.conf powerd configuration file that detectups generates /etc/inittab init is what actually issues the shutdown SEE ALSO
powerd(8), shutdown(8), wall(1), inittab(5). AUTHOR
James Brents <James@nistix.com> (with parts of this man page borrowed from all over the Linux community) DETECTUPS(8)

Check Out this Related Man Page

powerd(1M)																powerd(1M)

NAME
powerd - power manager daemon SYNOPSIS
/usr/lib/power/powerd [-n] The powerd daemon is started by pmconfig(1M) to monitor system activity and perform an automatic shutdown using the suspend-resume feature. When the system is suspended, complete current state is saved on the disk before power is removed. On reboot, the system automatically starts a resume operation and the system is restored to the same state it was in immediately prior to suspend. Immediately prior to system shutdown, the daemon notifies syslogd(1M) of the shutdown, which broadcasts a notification. The following option is supported: -n No broadcast mode. The daemon silently shuts down the system without notifying syslogd(1M). /etc/power.conf Power Management configuration information file See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpmu | +-----------------------------+-----------------------------+ |Interface Stability |Unstable | +-----------------------------+-----------------------------+ pmconfig(1M), dtpower(1M), syslogd(1M), power.conf(4), attributes(5), cpr(7), pm(7D) Using Power Management 15 Oct 1999 powerd(1M)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris Sparc5 and connecting with a PC via Hyper terminal

I am trying to connect to a sparc5 with my PC via a null modem cable from serial port to serial port. I do not have a sun monitor so I am trying to use my PC. I am unsuccessful in even making the basic connection to the sparc box. Any ideas on how to work around this? (7 Replies)
Discussion started by: adrian
7 Replies

2. Solaris

Dead SUN

My SUN V210 refuses to fully boot up. We had a power outage (ie. someone tripped the cord) and thereafter the Sun will not come up, and the OS is not starting. The LED on the front is not lit. Monitor gets no feed, so I plugged in via the management port. The system comes up to: Trap 3e. and... (7 Replies)
Discussion started by: ireeneek
7 Replies

3. Programming

Programming serial port

Hello! Can someone advice me which method I will use if I want to communicate with device via RS232 serial port with this requirements: 1. Serial port is opened in non-canonical mode. 2. All the time I need to check is there something to read. 3. If I have to write something I need to write it... (6 Replies)
Discussion started by: jvrlic
6 Replies

4. Solaris

Serial port on the T5140

What is the serial port on the T5140 used for. (4 Replies)
Discussion started by: pgsanders
4 Replies

5. Solaris

Solaris 10 container graceful shutdown?

Hi, I've got a UPS connected to my Solaris 10 machine and I'm planning to run containers/zones on there. At the moment if the UPS agent sends the signal to the solaris machine to shutdown, all the apps shutdown gracefully and then the host goes down. If I setup containers for the apps, does... (9 Replies)
Discussion started by: fastexit
9 Replies

6. Shell Programming and Scripting

Tcl: How to communicate serial port remotely

Hi all: i wanna automate a test written in Tcl, but stuck in serial communication. I had 2 PC, one is my local Windows machine, the other one is my test Linux server. The Linux box is connected to the test board via serial port. So I wanna send commands and get output through the... (4 Replies)
Discussion started by: allenxiao7
4 Replies

7. Linux

Administrator responsibilities, in case of power outage?

Hi guys, I was wondering if you could share some of your knowledge, in the event of a power outage. Let presume you are on duty and you get a call at midnight because half of your cabinets have no power, air conditioning is down and you deal with a ton of 500 error messages on your boxes. ... (9 Replies)
Discussion started by: TECK
9 Replies

8. Solaris

"Device busy" When Reopening Serial Port

Any help much appreciated. I am a Java developer, not a Solaris adept. I'm having an issue reopening serial port with the Java app I am developing. I develop in Windows and deploy the app on Solaris 10 (Sunfire X4170 with Xeon.) On the target machine my app uses the two serial ports... (11 Replies)
Discussion started by: Jim Ryan
11 Replies

9. UNIX for Advanced & Expert Users

How to Switch off a Unix machine abruptly

Hi Folks, My UNIX machine is placed geographically in another location. I have a remote access towards it. I want to abruptly switch off my unix machine through remote connection. Is it possible through any UNIX commands? I practically want to power off a PC , something like unplugging a power... (12 Replies)
Discussion started by: gjasper
12 Replies

10. AIX

No VGA card and I need to know server IP

Dear All, I have Power7 server, and I want to know its IP address. The server have no VGA card, only serial port. Kindly tell me how to know its IP using serial cable? Thanks a lot (5 Replies)
Discussion started by: Mohannad
5 Replies

11. Web Development

Setup Serial Port

I need to set a serial port to 9600 7E1. How do I accomplish this? I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 Replies

12. AIX

System can't boot up after power outage

Hello Forum, I am very newbie with AIX. We have 2 AIX 9111-285 servers. The OS version is 5.3. After the power outage, they did not come up. I try to unplug the power cable and re-connect after 1 minutes but do not help. Both display the same reference code 110000AC on the front panel... (6 Replies)
Discussion started by: lilyn
6 Replies

13. AIX

Automatic Server bootup after power outage?

Hi everyone, We had a power outage few days ago, and I got the servers up and running but I was informed to look into, if there is a way to bring up the servers automatically/defaultly. I was told the windows admin has their server set up where the servers are up automatically if there is a... (11 Replies)
Discussion started by: Adnans2k
11 Replies

14. Red Hat

Setting serial port configuration

I have 1 serial port (9 Pin) attached with my Linux server.If I give $dmesg | grep tty , it provides me the following. ttyS0 and ttyS1. I have 1 COM port with my server mother board. I have 1 customized application that requires this COM port to be used. The parameter to be set for COM port... (4 Replies)
Discussion started by: Anjan Ganguly
4 Replies

15. AIX

Connect GPS to serial port AIX 5.x

HI, Does anyone installed a GPS from his Serial port to an IBM Server serial port with AIX 5.X I would like the rs232 configuration you used on the GPS, and the ttys configuration from your server. Thanks in advance !!! (8 Replies)
Discussion started by: trevian3969
8 Replies