Solved

how to I put a linux machine to sleep

Posted on 2009-07-13
7
403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as the high-speed power of the cloud.

 
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RHEL7 - Error installing docker compose 2 203
Linux Hosting 16 102
Type 1 hypervisor capable of running a virtualbox machine 6 93
Performance Issue in Oracle 3 43
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 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