Language Selection

English French German Italian Portuguese Spanish

Being Nice

Filed under
HowTos

Most people don’t even know that running processes at at a different priority is an option. Many have never even heard of the nice command. In this article, I will discuss what the nice command can do for your processes.

Every process needs some time on the CPU regardless of its priority. Some get more time or run more often frequently because of their priority. Some are elevated in priority until their turn comes around.

A newly initiated process acquires the priority of it’s parent. For example, If you use the ls command after you log in, the ls process will inherit the priority of your shell. By using the nice command, you can lower the priority of a process. On some systems, the kernel will itself automatically boost the priority of a process when it has been waiting for a long time without being run.

More Here.

Also on same site: Neat crontab tricks.



More in Tux Machines

Android Leftovers

An Early Look At Linux 4.16 Performance On Five Systems

Here are some preliminary benchmarks of the Linux 4.16 development kernel compared to Linux 4.15 stable on five different systems. Last week I began testing out the Linux 4.16 kernel on a few different boxes and it's been going rather well (sans the ongoing AMD Raven Ridge Linux issues...). For some initial Linux 4.16 kernel benchmarks I have results today to share for a Core i5 6600K, Core i7 6800K, Xeon E3-1280 v5, Core i9 7980XE, and Ryzen 7 1800X as a few of the available boxes for testing. Tests on other hardware and a greater variety of tests will be coming in the days and weeks ahead as Linux 4.16 continues to stabilize. Read more

Oracle open-sources DTrace under the GPL

Oracle appears to have open-sourced DTrace, the system instrumentation tool that Sun Microsystems created in the early 2000s and which has been beloved of many-a-sysadmin ever since. As noted by developer Mark J. Wielaard, this commit by an Oracle developer shows that something is afoot. Read more

KDE receives 200,000 USD-donation from the Pineapple Fund

KDE e.V. is announcing today it has received a donation of 200,000 USD from the Pineapple Fund. With this donation, the Pineapple Fund recognizes that KDE as a community creates software which benefits the general public, advances the use of Free Software on all kinds of platforms, and protects users' privacy by putting first-class and easy to use tools in the hands of the people at zero cost. KDE joins a long list of prestigious charities, organizations and communities that the Pineapple Fund has so generously donated to. "KDE is immensely grateful for this donation. We would like to express our deeply felt appreciation towards the Pineapple Fund for their generosity" said Lydia Pinscher, President of KDE e.V.. "We will use the funds to further our cause to make Free Software accessible to everyone and on all platforms. The money will help us realize our vision of creating a world in which everyone has control over their digital life and enjoys freedom and privacy". Read more