09 Feb 2014
Sysbench allows you to do a quick performance benchmark of several system parameters such as file I/O, CPU, scheduler and others.
Below are the results for running a 100000 prime numbers calculation using 4 threads on my Intel Core i5-3427U CPU:
01 Feb 2014
By using the heredocs format you instruct the shell to read input from the current source until a line containing only a certain word is seen. I find this useful for quickly writing or copying script files. You may find below an example of how you can use this kind of redirection:
01 Feb 2014
Below are the steps you can use in order to be able to create a filesystem on a newly created partition (vda3 in our example) without reboot:
31 Dec 2013
Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:
Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.
It’s an immensely useful tool and one we encourage you to use here with Lanyon.
Find out more by visiting the project on GitHub.
05 Aug 2013
Below is a quick expect script that enables you to autologin on Cisco devices with a predefined clear text password by using an OpenSSH client :