How to Manage Processes in Linux

No matter your Linux system, be it desktop or server, there will be numerous processes running at any given time. Hopefully those processes are all running as expected. But if not, this article, written by Jack Wallen for TechRepublic Premium, has some tips to get your processes running smoothly again including how to list running processes, how to kill a running process, and how to “nice” a process.

  • Featured text from the download:

    HOW TO “NICE” A PROCESS

    Another handy tool in your Linux toolkit is nice. Because Linux can run a vast amount of simultaneous processes, you can wind up with low priority processes slowing down higher priority processes. For example, say you have a server used for MySQL that also has a number of other services running. However, the most important service is the MySQL daemon. What you might want to do is give mysqld the highest priority and other processes a lower priority.

    The priority of a process on a Linux system is called the “niceness,” and it is rated from 20 down to -20. What’s important to understand is that the lower the niceness value, the higher the priority (in other words, a process is “less nice,” so it’ll demand priority). If you give mysqld a lower niceness value, it will have priority over other processes.

    To start a process with a specific niceness, you’d issue a command like:

    sudo nice -n VALUE PROCESS

Boost your Linux knowledge with our seven-page PDF guide. This is available for download at just $49. Alternatively, enjoy complimentary access with a Premium annual subscription.

TIME SAVED: Crafting this content required 14 hours of dedicated writing, editing, research, and design.

Resource Details

or

* Sign up for a TechRepublic Premium subscription for $299.00/year, and download this content as well as any other content in our library. Cancel anytime. Details here.

Provided by:
TechRepublic Premium
Published:
February 11, 2025
Topic:
Linux
Format:
PDF
or

* Sign up for a TechRepublic Premium subscription for $299.00/year, and download this content as well as any other content in our library. Cancel anytime. Details here.

CLOSE

Create a TechRepublic Account

Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.

Already registered? Sign In
  • Include at least 6 characters
  • Include at least 1 lower case character
  • Include at least 1 upper case character
  • Include at least 1 digit
  • Include at least 1 special character
  • Do not include any spaces

* - indicates required fields

CLOSE

Sign in to TechRepublic

Not a member? Create an account

Lost your password? Request a new password

CLOSE

Reset Password

Please enter your email adress. You will receive an email message with instructions on how to reset your password.

Back to login
1 Finish Profile
2 Newsletter Preferences
CLOSE

Welcome. Tell us a little bit about you.

This will help us provide you with customized content.

No thanks, continue without
1 Finish Profile
2 Newsletter Preferences
CLOSE

Want to receive more TechRepublic news?

Newsletter Name
Subscribe
Daily Tech Insider
Daily Tech Insider AU
TechRepublic UK
TechRepublic News and Special Offers
TechRepublic News and Special Offers International
Executive Briefing
Innovation Insider
Project Management Insider
Microsoft Weekly
Cloud Insider
Data Insider
Developer Insider
TechRepublic Premium
Apple Weekly
Cybersecurity Insider
Google Weekly
Toggle All
No thanks, continue without

You're All Set

Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add newsletters@nl.technologyadvice.com to your contacts list.

Back to Home Page