Utilities

Excellent Utilities: Ananicy – auto nice daemon

This is a new series highlighting best-of-breed utilities. We’ll be covering a wide range of utilities including tools that boost your productivity, help you manage your workflow, and lots more besides. There’s a complete list of the tools in this series in the Summary section.

It’s possible to grant more importance to a process, giving it more time on the CPU. This property of a process is called niceness. A process with high priority is said to be less nice because it’s taking more of the CPU’s time, which leaves less for everything else. Alternatively, a process with low priority (a “nice” process) gets processor time only after other processes with higher priority have been serviced.

Prioritize applications’ CPU and IO scheduling is a good way to improve performance on what really matters. This can be actioned per command with nice and ionice commands, but there’s a better way. Ananicy is a shell daemon created to manage processes’ IO and CPU priorities, with community-driven set of rules for popular applications.

It’s free and open source software written in Python.

Installation

Let’s clone the project’s repository, compile, and install the system with a few simple commands:

$ git clone https://github.com/Nefelim4ag/Ananicy.git
$ cd Ananicy
$ sudo make install

If you want to create your own Debian package, replace sudo make install with make deb.

You’ll find packages for Ananicy in many popular Linux distributions.

You’ll need schedtool installed on your system. This is a utility that sets all CPU scheduling parameters.

Next page: Page 2 – In Operation

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary


Complete list of articles in this series:

Excellent Utilities
AbricotineMarkdown editor with inline preview functionality
AnanicyShell daemon created to manage processes’ IO and CPU priorities
brootNext gen tree explorer and customizable launcher
cheat.shCommunity driven unified cheat sheet
CopyQAdvanced clipboard manager
crocSecurely transfer files and folders from the command-line
DeskreenLive streaming your desktop to a web browser
dufDisk usage utility with more polished presentation than the classic df
exaA turbo-charged alternative to the venerable ls command
Extension ManagerBrowse, install and manage GNOME Shell Extensions
fdWonderful alternative to the venerable find
fkillKill processes quick and easy
fontpreviewQuickly search and preview fonts
horcruxFile splitter with encryption and redundancy
LanguageToolStyle and grammar checker for 30+ languages
Liquid PromptAdaptive prompt for Bash & Zsh
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
lsdLike exa, lsd is a turbo-charged alternative to ls
McFlyNavigate through your bash shell history
mdlessFormatted and highlighted view of Markdown files
OCRmyPDFAdd OCR text layer to scanned PDFs
PaperworkDesigned to simplify the management of your paperwork
PDF Mix ToolPerform common editing operations on PDF files
pecoSimple interactive filtering tool that's remarkably useful
ripgrepRecursively search directories for a regex pattern
scrcpyDisplay and control Android devices
tldrSimplified and community-driven man pages
tmuxA terminal multiplexer that offers a massive boost to your workflow
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
WatsonTrack the time spent on projects
Whoogle SearchSelf-hosted and privacy-focused metasearch engine
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.