Solved

how to I put a linux machine to sleep

Posted on 2009-07-13
7
411 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
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

Technology Partners: 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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
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.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

719 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