Solved

how to I put a linux machine to sleep

Posted on 2009-07-13
7
390 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 48

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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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 48

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

713 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