Saving energy on Linux
17 de julho de 2010 in Etiquetas: Bash/Shell
If you have a PC or a server passing of the time with no activity on the disk, can save a little on the electricity bill if the halt. It's true that can make configuring power management on your desktop environments (KDE, Gnome, etc.) but what I present here is a simple and rapid method for manually configuring this mechanism, ie the operating system Bash.
The tool to use hdparm is used to but to suspend the operation of hard disks can also adjust parameters of cache, DMA, or even acoustic noise, among others.
- Installation: aptitude install hdparm
- Suspend for 2 minutes: hdparm-S 24 /dev/ sda
- Check the condition of the disk: hdparm -C /dev/sda
- Configure the permanent suspension: vim /etc/hdparm.conf - And add at end of file the following code:
/dev/sda {
spindown_time = 24
}
- Then you just have to restart your PC, or the service - /etc/init.d/hdparm reload
Note: the sda is the disk ID in Linux, in your case is hard to see that they have, they can do it as fdisk-l and then with the tool Partition Editor (GParted). If you have only one SATA disk to start is sda if hda is an IDE. If they are not much inside it, then I suggest you to search or ask here on the blog:)
Etiquetas
- Aplicativos (3)
- Bash/Shell (9)
- Berbicachos (3)
- CM (15)
- Debian (17)
- FreeBSD (1)
- Gnome (3)
- Informação (10)
- Jogos (1)
- Kde (3)
- Kubuntu (13)
- LinuxMint (3)
- Multimédia (2)
- MySQL (1)
- openSuse (4)
- Opinião (1)
- PHP (1)
- Rapidinhas (8)
- Tutoriais (3)
- Ubuntu (13)
- Virtualizacao (1)
Seguidores
Interestings Blogs
Popular Posts
-
When it is in principle all councils are few ... So here are some. of who has passed the "as passas do Algarve" to take this to fu...
-
The youtube-dl is a small command-line utility that can download videos from youtube.com too easily. In terms of archives, from the Debian M...
-
If you have problems mounting a floppy drive in linux , you may be receiving the following message : " / dev / tty is not ...
-
If you use XAMPP , can happen to you the problem of MySQL does not start . This usually happens when we copy the XAMPP folde...
-
As you know already available version 3.6 of LibreOffice as announced in pplware . You can read more information about new fe...
-
If you work with more than one computer on your desk, to be sure you felt the need for a utility to share the keyboard and mouse between t...
-
Whenever I need to do something in HTML, PHP and / or MySQL , here comes the problem of character encoding ! In MySQL coding I us...
-
At one time published an article, which can read here on remote display in Linux. Now, I will publish another way that allows remote connec...
-
A major difficulty in adapting to any Linux distribution, is to understand your installation system packages. In K / Ubuntu, ie the distribu...
-
For those who feel the lack of a tool for simple image editing, as it was (I say was, because not used: P) the Windows Paint, the KolourPain...