GithubHelp home page GithubHelp logo

xyproto / supernice Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 37 KB

Set the I/O-scheduling class, priority and niceness to relaxed values when launching a process

License: GNU General Public License v2.0

Makefile 6.29% C 82.07% Shell 11.65%
ionice linux nice processes system utility

supernice's Introduction

Supernice

Set the I/O-scheduling class, priority and niceness to relaxed values when launching a process.

This was originally a fork of ionice from util-linux.

Running supernice is the equivalent of running both ionice -c3 and nice -n20.

This can be useful to prevent processes from hogging the CPU and the I/O capabilities of a system, with a command that is extremely easy to remember.

If you have ever watched the mouse cursor freeze when compiling a large project, this utility is for you.

Example use

supernice make

Requirements

  • Linux
  • make
  • A working C compiler, like gcc

Installation

Build

make

Install (use sudo, doas or run as root):

sudo make install

License

The original source code of ionice is dual-licenced under either GPL2:

Copyright (C) 2004 Jens Axboe <[email protected]>
Released under the terms of the GNU General Public License version 2

Or under No copyright is claimed. This code is in the public domain; do with it what you wish:

Copyright (C) 2010 Karel Zak <[email protected]>
Copyright (C) 2010 Davidlohr Bueso <[email protected]>
No copyright is claimed. This code is in the public domain; do with it what you wish.

I wish to relicense all code under these terms as GPL2.

The changes made in 2021 and beyond are:

Copyright (C) 2021-2023 Alexander F. Rødseth <[email protected]>
Released under the terms of the GNU General Public License version 2

The entire code of supernice is released under GPL2.

The full license text is in the COPYING file.

General info

  • Version: 1.0.0
  • License: GPL2

supernice's People

Contributors

xyproto avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.