Solved

how to I put a linux machine to sleep

Posted on 2009-07-13
7
347 Views
Last Modified: 2013-11-08
Hello,

I have a HP PC machine with a version of linux enterprise server running.

I want to be able to make this machine go to sleep.

The power button is blue which means that it's active, I know that when it sleeps, the power button turns yellow.

the linux version is Oracle VM Server which is a minimal version of Enterprise Linux based on Xen

it's only command-line linux , there's no graphical
0
Comment
Question by:ora-what
  • 4
  • 2
7 Comments
 
LVL 47

Expert Comment

by:schwertner
ID: 24842768
0
 

Author Comment

by:ora-what
ID: 24842894
hmm that looks good but I don't think it supports my kernel

my kernel is:

2.6.18-8.1.15.3.1.el5xen
0
 

Author Comment

by:ora-what
ID: 24843774
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 24843994
If you pull the power cord out of the wall or out of the power supply, that should put the machine to sleep for a while.

I think your question is not: "How to put a LInux machine to sleep", but really: "How to put an OracleVM virtual machine to sleep".  Is that correct?
0
 

Author Comment

by:ora-what
ID: 24845881
hehehe

Yes, I managed to save power by pressing down on the blue button until it shut off..

I know it would have been better to execute a shutdown command but I didn't want to..

Well it's not an Oracle Virtual Machine,

this software - called Oracle VM Server is a minimilaized version of enterprise linux and xen

it acts as a host to virtual machines which run on this server

so what I'm asking is really how to put a linux machine to sleep - this is a physical HP PC that I want to put to sleep
and not a virtual machine running on it..

but oh yeah, shutting off the power really saves energy haha :)
0
 
LVL 47

Accepted Solution

by:
schwertner earned 500 total points
ID: 24847081
Investigate the HALT command. It has different parameters.
-p - power off
I have Red Hat installation (Oracle Linux Enterprise Server).
If I issue only
% halt
the button continue to light.
So to turn the power off I have to run
% halt -p
Also investigate the BIOS settings. I avoid to put my nose there
but there are power management features that can also help.
Example: automatic start of the machine when the main is turned on
There are different BIOS sets....
0
 

Author Comment

by:ora-what
ID: 25009402
i wound up installing Oracle VM server in VMware workstation so know my machine is running on windows where I can use the power management controls in the windows control panel however thank you for the useful information regarding linux power capabilities
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to recover a database from a user managed backup

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now