03-23-2007
How Can I To Power Off My Computer?
I have a SCO UNIX 5.0.6. and a computer ATX.
My Question is:
How can i to power off my computer without to push the power button?
Please help me.
Thanks
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a SCO UNIX 5.0.6. and a computer ATX.
My Question is:
How can i to power off my computer without to push the power button? :confused:
Please help me. :(
Thanks :) (11 Replies)
Discussion started by: vhabalos
11 Replies
2. Solaris
Dear expert,
I have one server,in /var/adm/messages everyday present these messages:
Jan 3 06:01:30 SERVERGINTING genunix: WARNING: Device /pci@1d,700000/pci@1/scsi@2,1/sd@5,0 failed to power up.
Jan 3 06:01:31 SERVERGINTING scsi: WARNING: /pci@1d,700000/pci@1/scsi@2,1/sd@5,0 (sd45):... (2 Replies)
Discussion started by: fredginting
2 Replies
3. AIX
I'm looking for a way - from the command line - to tell whether a given AIX system I have is a Power5, Power4 or Power6 machine - it seems like there would be an option to 'uname' but I couldn't find one.
Thanks! (3 Replies)
Discussion started by: thomn8r
3 Replies
4. AIX
I need book or any useful link about POWER hardware architecture .. Thanks :-) (4 Replies)
Discussion started by: Vit0_Corleone
4 Replies
5. What is on Your Mind?
I had some free time at work today so I decided to get a little practice with my shell scripts (I'm pretty new to the whole UNIX thing).
I'm sure I'm not the only college student here so maybe this code will come in handy for future weekends.
#!/bin/sh
if
then
echo "No playlist... (0 Replies)
Discussion started by: thedoobieman5
0 Replies
6. UNIX for Dummies Questions & Answers
I have a Unix server running on a powerPC dating back to 2000. I need to change the computer to something newer. I also need to keep running Unix as the OS in order to run the Medical monitoring software we have. Is there a way to do this? I have the IBM AIX-Unix running a Multiview Workstation... (10 Replies)
Discussion started by: Maverick27
10 Replies
LEARN ABOUT NETBSD
powerhook_establish
POWERHOOK_ESTABLISH(9) BSD Kernel Developer's Manual POWERHOOK_ESTABLISH(9)
NAME
powerhook_establish, powerhook_disestablish -- add or remove a power change hook
SYNOPSIS
void *
powerhook_establish(const char *name, void (*fn)(int why, void *a), void *arg);
void
powerhook_disestablish(void *cookie);
DESCRIPTION
The powerhook_establish API is deprecated.
The powerhook_establish() function adds fn of the list of hooks invoked by dopowerhooks(9) at power change. When invoked, the hook function
fn will be passed the new power state as the first argument and arg as its second argument.
The powerhook_disestablish() function removes the hook described by the opaque pointer cookie from the list of hooks to be invoked at power
change. If cookie is invalid, the result of powerhook_disestablish() is undefined.
Power hooks should be used to perform activities that must happen when the power situation to the computer changes. Because of the environ-
ment in which they are run, power hooks cannot rely on many system services (including file systems, and timeouts and other interrupt-driven
services). The power hooks are typically executed from an interrupt context.
The different reasons for calling the power hooks are: suspend, standby, and resume. The reason is reflected in the why argument and the
values PWR_SOFTSUSPEND, PWR_SUSPEND, PWR_SOFTSTANDBY, PWR_STANDBY, PWR_SOFTRESUME, and PWR_RESUME. It calls with PWR_SOFTxxx in the normal
priority level while the other callings are protected with splhigh(9). At suspend the system is going to lose (almost) all power, standby
retains some power (e.g., minimal power to USB devices), and at resume power is back to normal.
RETURN VALUES
If successful, powerhook_establish() returns an opaque pointer describing the newly-established power hook. Otherwise, it returns NULL.
SEE ALSO
dopowerhooks(9)
BSD
May 14, 2009 BSD