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 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
- 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
May be interested
- How to Listen to FM Radio on Linuxthere are many ways to listen to fm radio on linux, the simplest way is through software, radio listening applications, the application that tipsmake wants to mention here is called odio.
- How to switch users on the Linux command linesuppose for some reason you want to switch to another user account, such as the root account to execute specific commands, the article below tipsmake will guide you how to switch users on the linux command line.
- How to set up Wireguard VPN on Linuxwireguard is a powerful open source virtual private network (vpn) daemon that can run on both desktop and mobile devices.
- How to use read command in Linuxsometimes when interacting with a linux system, you may need to prompt users to enter data or read data from files, or even want to set a timeout.
- Reasons to switch to Linuxlinux is often considered a joke by non-users, but there are many reasons to love distributions like ubuntu and opensuse. here's why you should switch to linux!
- How to find large files on Linuxwhat can you do if the memory on your linuxx machine is almost full? you can free up space by deleting or moving some files, and you should probably start with the largest files.