Sponsored Content
Special Forums Hardware Desktop computer is only turning on for a few seconds Post 303021840 by cokedude on Saturday 18th of August 2018 04:24:12 AM
Old 08-18-2018
Desktop computer is only turning on for a few seconds

My desktop computer is only turning on for a few seconds after that it turns off. I assumed it was the power supply so I bought another one. Last night I installed the power supply. It took awhile with me reseating everything and taking out the cmos battery to get the computer running. After that I used it for about an hour. I went home and came back to the office the next day. Unfortunately it reverted back to the behavior of only turning on for a few seconds after that it turns off. Can I please get some suggestions on what to do?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Turning off the CDE

I am running Solaris 9 and wanted the CDE stopped when my users login. Can this be done by adding something to the .profile? Basically when they login they should be at the command line and have to start the CDE themselves. Thanks (11 Replies)
Discussion started by: meyersp
11 Replies

2. Shell Programming and Scripting

turning case into a if statement

How can i convert this case statement that i made to an if statement? Do not write script, just give a hint on how to do something below. #!/bin/sh hi="$1" case "$hi" in ) exit 0;; * ) exit 1;; esac echo "$hi" Here is what i got so far for... (2 Replies)
Discussion started by: brentdeback
2 Replies

3. Gentoo

Turning on/off the network interface

Hi all, I'm trying to write a script that will turn off the network interface eth0 on a linux Gentoo machine and then turn it back on, any help? Thanks, Neked (1 Reply)
Discussion started by: neked
1 Replies

4. UNIX for Dummies Questions & Answers

Turning Echo off

Hi, Is there any way like in dos to turn the echo off in a script? i have some lines popping up that i dont wish to be viewed when i am unziping a file it brings up the message updating: log.txt (deflated 72%) and extracting: log.txt i dont want these be viewed. Andy (4 Replies)
Discussion started by: chapmana
4 Replies

5. Solaris

Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now. Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies

6. SCO

Need help turning off bootpd

OSR 5.0.7 patched with MP 5 The syslog is flooded with messages: May 9 13:42:12 asiwc bootpd: IP address not found: 192.168.230.215 May 9 13:42:13 asiwc bootpd: IP address not found: 192.168.230.142 May 9 13:42:50 asiwc bootpd: IP address not found: 192.168.230.202 The system... (4 Replies)
Discussion started by: migurus
4 Replies

7. Shell Programming and Scripting

Turning given date to epoch

i can probably script this in bash, but, i was wondering, does anyone know of a simple way to translate a given time to epoch? date -d@"29/Oct/2013:17:53:11" the user would specify the date: 29/Oct/2013:17:53:11 and the script will simply interpret that to epoch: 1348838383 (this is just... (4 Replies)
Discussion started by: SkySmart
4 Replies

8. Hardware

Which desktop computer is the better deal?

I wasn't sure where to post this. Please move this as is fitting. My 10yr old laptop's (Dell, Latitude E5530, 4G ram, 2.5Ghz x 2 CPU) spin drive has died (currently running TinyCore Linux on USB in ram). I would be running Linux, compiling the kernel, and programming in C++. I do not do... (0 Replies)
Discussion started by: bedtime
0 Replies

9. Red Hat

Remote access computer system as a whole not just desktop with GUI

Hi All, I've been looking at various options at administering several servers remotely like: - VNC (don't like the lax security of 8 characters max for a password) and - NX (awesome piece of kit but still limited to a per desktop viewer)... What I'm looking for is a GUI that... (7 Replies)
Discussion started by: ASGR
7 Replies
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
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy