ionice – renice you IO activity for the process.

2015-04-13 1 min read Learning

ionice is utility provided by the package util-linux. Description of util-linux:

Description : The util-linux package contains a large variety of low-level system
utilities that are necessary for a Linux system to function. Among
others, Util-linux contains the fdisk configuration tool and the login
program.

 

With the help of this utility, you can set the scheduler priority for your IO scheduling upto RealTime, but be careful that can make other process sluggish. Example use:

Continue reading

update for wordpress.com issue

2015-04-03 1 min read Uncategorized

I had issues with my mobile and reset it without taking back up of Google authenticator. Guess what, now I have no access to the worpress.com account to which my blog was linked. Tried everything and when nothing worked, had to create a new account in worespress.com…. Hopefully my subscribers will not have any issues with this change.

PID File for squid in Fedora – 21 ( Fedora.next)

2015-03-24 1 min read Fedora GNOME

So, the other day, I wanted to have squid store its pid in the regular ‘var/run’ directory. Good simple enough – just add the following to “/etc/squid/squid.conf” :

pid_filename /var/run/squid/squid.pid

and create the /var/run/squid directory. Simple, hold on not so fast. Reboot and psssst.. ‘/var/run/squid’ is gone. Finally found that /var/run is handled by systemd-tmpfiles and thus you need to do this as well:

cat <>/lib/tmpfiles.d/squid.conf
d /run/squid 700 squid squid
EOF

So, basically you need to tell tmpfiles to create the squid directory as well.. How complicated things are becoming 🙂

Continue reading

speedtest cli

2015-01-30 1 min read Fedora

To test your speed you can use speetest-cli. Here is the description:

Command line interface for testing internet bandwidth using speedtest.net

and to install and test:

sudo yum install speedtest-cli

#Run
speedtest-cli

The output is like below:

[speetest-cli][1]
speedtest-cli
Older posts Newer posts