Habits to Keep Linux System Resource Usage Low
Linux is a great platform for getting the most out of your hardware. But sometimes you may feel like your PC is slowing down or not running as smoothly as it used to, and the problem is more likely than not with the hardware.
Your browser doesn’t support HTML5 audio
Linux is a great platform for getting the most out of your hardware. But sometimes you may feel like your PC is slowing down or not running as smoothly as it used to, and the problem is more likely than not with your hardware. Here are some habits that will help keep your Linux system resource usage low.
Use a lightweight desktop environment
One way to keep Linux resource usage low is to choose a lightweight, simple desktop environment instead of 'flocking' to KDE or GNOME. These are desktop environments designed to run on newer, faster machines with more memory and hard drive space.
Xfce is the choice of many people looking for a lightweight Linux desktop environment. Other notable options include LXQt and Enlightenment. You can also consider just using a regular window manager like Openbox or Fluxbox. These managers are aimed at power users with a lot of command line experience.
Using the command line
Using the command line is a good way to reduce the load on your system. Command line programs, even interactive ones, typically run in a terminal and use fewer resources than graphical programs that contain images, video, or sound.
Resource savings are one reason why many seasoned Linux users always use the command line as much as possible for every task.
It is even possible to use the command line to completely forgo the desktop. Many servers do this to run 'desktop-less' without a monitor or keyboard. You can disable the display manager and launch X or Wayland from the command line if you want, but this is a bit of an 'extreme' option.
Use lightweight programs
As well as a lightweight desktop environment, you should also run lightweight programs on your system. You might use AbiWord for word processing and Gnumeric for spreadsheets instead of LibreOffice. Or you might use Viper instead of Chrome or Firefox for web browsing.
Turn off unused services
Linux systems run a lot of daemons, or background processes, to perform various management tasks. Most of them are necessary, but some of them slow down your system. You can disable some of them, for example with the systemctl command on distributions that use systemd.
If you are testing a web server for an application you are developing, you probably don't need to run it all the time, instead turn it on and off as needed.
It's best to leave any processes installed on your system as they are, especially if you don't know what they do. At the very least, read the manual so you don't disable something important. Reading the documentation about running processes is also a way to learn about Linux.
Monitor progress
You can manage Linux resource usage by monitoring the processes on your machine. You can use the top or htop command to see the processes in real time, and you can also sort by memory or CPU usage to see which processes are taking up the most resources.
With this information, you can try using a different program or disabling the services as mentioned above.
Consider using a minimalist distribution
If you want a really lightweight Linux system, some good Ubuntu-based distros include Xubuntu and Lubuntu. You get the advantage of a lighter environment right from the start. Try installing them on older computers you may have. You can breathe new life into them, and even prevent 'e-waste'.
Install only the programs you need
One simple way to save resources on a Linux system is to install only what you need. This can be easier said than done, as some programs will install multiple dependencies. This is still a testament to the Unix philosophy, with programs built from smaller components.
If you only use your Linux system to send email or browse the web, you probably don't need to install programming tools like a C compiler. If you only do word processing, you don't need to install a video player. Those are just simple examples.
You should read it
- 28 interesting facts about Linux
- 8 best open source NAS operating systems for Linux
- The silent contributions of Linux to human life
- Microsoft admitted it was wrong about open source
- Cisco Linksys WRT160NL - 'toy' specifically for open source people
- 6 reasons Linux makes 'give up' Windows
- 4 reputable Linux hardware manufacturers for open source enthusiasts
- Can open source technology make money?
- 10 reasons to switch to Linux right in 2012
- Learn about the Linux Kernel and their main functions
- How to manage memory to restrict Linux to use too much RAM
- 6 best Linux distributions for Windows users
Maybe you are interested
Write Blog with Microsoft Word 2013 12 weekend routines of successful people in the world How does the weekend become more meaningful? 9 things smart people do on weekends to make things more convenient Funny science: What flavor does your favorite coffee reveal about you? Do you know why wedding rings are always worn on the ring finger?