cgroups – use to control your cpu and memory

2014-01-06 2 min read Fedora Firefox Learning

cgroups is a kernel feature and with userspace utilities, we can use the feature to control the cpu and memory for per process. So, lets first install the required tools.

sudo yum install libcgroup-tools

Now, we need to enable the service.

sudo systemctl enable cgconfig.service
sudo systemctl enable cgred.service

cgconfig.service is to enable configuration for cgroups and
cgred.service is to enable configuration for cgroups for processes depending on the name.

Continue reading

more clients for mpd.

2013-12-26 1 min read Fedora Linux

Here are some more clients that you can use with mpd.

sudo yum install mpd mpc qmpdclient.x86_64 gmpc.x86_64 sonata.x86_64

mpd is ::

Music Player Daemon (MPD) is a flexible, powerful, server-side application for
playing music. Through plugins and libraries it can play a variety of sound
files (e.g., OGG, MP3, FLAC, AAC, WAV) and can be controlled remotely via its
network protocol. It can be used as a desktop music player, but is also great
for streaming music to a stereo system over a local network. There are many
GUI and command-line applications to choose from that act as a front-end for
browsing and playing your MPD music collection.

Continue reading

get systemd journal entries on web interface.

2013-12-12 1 min read Fedora

Just in case you need it, you can get the journalctl entries from systemd in the web page.

First install :

yum install systemd-journal-gateway

Once you have done this you can get the journal entries with wget as well with

wget http://localhost:19531/entries

or if you prefer, you can browse with a browser at http://localhost:19531/. It has a nice little interface for browsing the entries, nothing too fancy but just sufficient.

Continue reading

sxiv – image viewer

2013-12-06 1 min read Fedora Photo

sxiv is a nice alternative to feh. It is very light weight and quite useful. Here is the description:

Description :
sxiv is an alternative to feh and qiv. Its only dependency besides xlib
is imlib2. The primary goal for writing sxiv is to create an image viewer,
which only has the most basic features required for fast image viewing (the
ones I want). It works nicely with tiling window managers and its code base
should be kept small and clean to make it easy for you to dig into it and
customize it for your needs.

Continue reading

Monitor your system with sysusage.

2013-12-02 2 min read Fedora

First some information on sysusage:

Description :
SysUsage continuously monitor your systems informations and generate
periodical graph reports using rrdtool or javascript jqplot library.
All reports are shown throught a web interface.

SysUsage grabs all system activities using Sar and system commands allowing
you to keep tracks of your computer or server activity during his life.
It is a great help for performance analysis and resources management. The
threshold notification can alarm you when the system capabilities are
reached by sending SMTP messages or throught Nagios reports.

Continue reading
Older posts Newer posts