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.

Picture 1 of Habits to Keep Linux System Resource Usage Low

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

Picture 2 of Habits to Keep Linux System Resource Usage Low

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

Picture 3 of Habits to Keep Linux System Resource Usage Low

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.

Update 09 December 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile