07-23-2001
Hi
In SOlaris
init 6 - power down and restart
init 5 - downs the system don't even have to give power-off which needs to be given when you give init 0
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine.
how can i do that and the application currently upon which i am working is a JAVA based application.
I need your help.
regards
Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies
3. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
4. Shell Programming and Scripting
Hi All,
I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies
5. UNIX for Dummies Questions & Answers
scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/
Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies
6. Shell Programming and Scripting
Hi
our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that......
Regards,
Ann (8 Replies)
Discussion started by: fabrine
8 Replies
8. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
9. Solaris
Hi,
I'm having an issue with a SunFire X4140 with it not powering on. I just want to see if anyone has any ideas on what is causing this before I give up and put it down to hardware failure. I upgraded the iLOM firmware to version 3.0.37a. The following are my actions after the firmware upgrade.... (3 Replies)
Discussion started by: Chains
3 Replies
10. UNIX for Dummies Questions & Answers
Hi Folks,
I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials)
xxx -->username
yyy -->password
and another unix box name is
RRR -->username
TTT -->password
NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies
POWERD(8) System Manager's Manual POWERD(8)
NAME
powerd - UPS monitoring daemon
SYNOPSIS
/sbin/powerd [tty]
DESCRIPTION
powerd monitors the serial port connected to an UPS device and will perform an unattended shutdown of the system if the UPS is on battery
longer than a specified number of minutes. powerd needs to watch a tty with modem control properties. Please refer to the powerd documen-
tation for further information.
powerd also has the capabilities of notifying other clients on the network that may have a UPS but not be connected to the serial line that
there is a power outage, and id configured through the powerd.conf file
CONFIGURATION FILE
Here is the configuration format:
Lines beginning with '#' are ignored.
MODE <mode>
specifies the mode the UPS should be in. Valid arguements are MONITOR and PEER MONITOR being the mode to actually watch a UPS serial
port, and PEER being to listen for a connection from a machine in MONITOR mode
MONITOR <device>
Specifies which device to monitor while in MONITOR mode. Specify an actual device file. Example: /dev/ttyS0
POWERFAIL <line> <high|low>
Specifies which lines on the serial ports indicate that the power is out. Valid arguements are DCD, CAR, CTS, and RNG. Also specify
if the line being HIGH or LOW indicates a power failure.
Since most people may not know this arguement, Please use the enclosed upsdetect program to automatically find this line.
NOTIFY <hostname[:port]> <password>
Specified in MONITOR mode to notify a client running in PEER mode. Specify the hostname of the machine, and optional port the daemon
is running on, And the password as specified by their LISTEN command. See below for more details.
LISTEN <hostname> <password>
Specified in PEER mode, specifies a hostname that is allowed to notify us of when the power is out, and the password they shall give
us to authenticate themselves. The 2 passwords should match on the MONITOR mode machines NOTIFY password, and the PEER modes LISTEN
password.
LISTENPORT <port>
Specified in PEER mode, specifies the port that powerd should listen on. If you use this arguement, powerd shall not default to
using port 532, and the machine in MONITOR mode must specify the port you use in their NOTIFY command.
DELAY <delayinseconds>
Specifies how many seconds before notifying init of a power outage. Note that this doesnt mean that the system will shut down in
that many seconds, as it depends on how init is configured. Init usually issues a 2 min shutdown.
USER <username>
Specifies which username to drop to from root. The program will reobtain root access only when it needs to, Like when notifying init
that the power is out. This is simply a security feature, and not needed for powerd to operate. Note: powerd must still be run ini-
tially as root. It will then drop to the user if, and only if, a username is specified.
ARGUMENTS
None: Please use the configuration file /etc/powerd.conf which can be generated with detectups. See detectups(8) for more information
FILES
/etc/powerd.conf powerd configuration file
/etc/powerstatus indicates line power status
/etc/inittab init is what actually issues the shutdown
SEE ALSO
powerd(8), shutdown(8), wall(1), init(8), inittab(5).
AUTHOR
James Brents <James@nistix.com> (with parts of this man page borrowed from all over the Linux community)
POWERD(8)