Towards the end of last year a development version of a big new version of SuperTuxKart was released that brought a new OpenGL 3.1+ graphics engine and other improvements. The new SuperTuxKart game looks great (especially for being an open-source game) and is now closer to being officially released with now having an RC version out…
Acer Taking Chrome OS, Cloud Apps to the Desktop
Although many people think of them as older participants in the portable computing market, the fact is that Chromebooks based on Google’s Chrome OS first went on sale in June of 2011–not long ago. Since then, portable systems based on Chrome OS have done fairly well, selling particularly well over the holidays, and helping to introduce many consumers to the basics of cloud computing.
Acer has been one of the permanent players in Chrome OS portables, but the company has now announced a desktop flavor. Its Chromebase device is announced right after Google and partners unveiled a new line of Chrome-related products targeted to launch shortly.
Blender 2.74 Brings Many Improvements
Blender 2.74 was released yesterday as the newest version of this leading open-source 3D/modeling software…
Development Release: Simplicity Linux 15.4 Beta
David Purse has announced the availability of the alpha release of Simplicity Linux 15.4, a lightweight Puppy-based distribution – now also available in a 64-bit flavour: “We are pleased to announce that Simplicity Linux 15.4 beta is now available to download. We are releasing Netbook and Desktop betas.”
Qt Creator 3.4 Is Near
The first release candidate to Qt Creator 3.4 is now available…
Chef Software Cooks Up New Chef Delivery DevOps Product
New workflow system covers app deployment as well as server config
ChefConf Chef Software has announced a new product for automating software deployment and the workflow of change management. Called Chef Delivery, it extends the company’s existing infrastructure automation product.…
Canonical Closes LibTIFF Issues in All Ubuntu Systems
Canonical announced that quite of few LibTIFF vulnerabilities have been corrected for Ubuntu 14.10, Ubuntu 14.04 LTS, Ubuntu 12.04 LTS, and Ubuntu 10.04 LTS distros.
LibTIFF stands for Tag Image File Format (TIFF) library and it seems that LibTIFF could have been made to crash if it opened a specially created file.
“William Robinet discovered that LibTIFF incorrectly handled certain malformed images. If a user or automated system were tricked into opening a specially cra… (read more)
Security Breaches, Malware Major Concerns for IT Pros
Other major concerns include third party access to the organization’s environment as well as the biggest worry, application layer security.
Microsoft Admits It’s Been Using a Modified Linux Kernel for Years
Microsoft made a surprising announcement yesterday when they said that they would increase their contributions to the Linux kernel. The company admitted that it’s been using a heavily modified Linux kernel for years, although it’s a very old version.
It’s common knowledge that Microsoft is a contributor to the Linux kernel and up until a few years ago it was one of the top ones. Their input on the Linux kernel has been reduced since then, but now they intend to put more eff… (read more)
How To Analyze HaProxy Logs
HALog is a small and very powerful tool to analyze HaProxy log lines.Installation is pretty simple, as described bellow:
cd /usr/src
wget http://haproxy.1wt.eu/download/1.5/src/devel/haproxy-1.5-dev11.tar.gz
tar xzf haproxy-1.5-dev11.tar.gz
cd haproxy-1.5-dev11/contrib/halog
make
cp halog /usr/bin/
and we are done and ready to analyse the HaProxy Logs. Below are few examples
List servers by number of requests treated
The command below lists the servers by the number of requests they treated. The server name is
prefixed by the backend name.
The eighth columns “tot_req” gives the number of requests treated by the server.
cat filename.log | halog -srv -H -q |awk ’NR==1; NR > 1 {print $0 | “sort -n -r -k 9”}’ |column -t
2. List servers by response time
The command below lists the servers by response time. The server name is prefixed by the backend
name.
The response time is in milliseconds and the latest columns “avg_rt” gives the average response time
for all the URLs forwarded to this server in this backend.
cat filename.log | halog -srv -H -q |awk ’NR==1; NR > 1 {print $0 | “sort -n -r -k 12”}’ |column -t
3. List servers by application errors: HTTP status code 5xx
The command below lists the servers by number of application errors. The server name is prefixed by
the backend name.
The sixth column “5xx” gives the number of application errors generated by the server.
cat filename.log |halog -srv -H -q | awk ’NR==1; NR > 1 {print $0 | “sort -n -r -k 6”}’ | column -t
4. List servers by errors
The command below lists the servers by number of errors not related to the application. The server
name is prefixed by the backend name.
cat filename.log |halog -srv -H -q | awk ’NR==1; NR > 1 {print $0 | “sort -n -r -k 5”}’ | column -t
5. List URLs by server computation time
The command below lists the URLs by the average computation time, whatever the server which treated
it.
The sixth column “okavg” provides the URL average computation time in milliseconds.
cat filename.log | halog -ut -H -q | column -t
6. List URLs by errors
The command below lists the URLs by the number of errors they have generated, whatever the server
which treated it or the type of error.
The second column “err” provides the number of errors generated by the given URL (latest column).
cat filename.log | halog -ue -H -q | column -t
7 . List URLs by missing files: HTTP status code 404
The command below lists the URLs by the number of missing files error they have generated, whatever
the server which treated it.
The first column “req” provides the number of 404 returned for the given URL (latest column).
cat filename.log | halog -u -H -q -hs 404 | column -t
8. List URLs by number of request
The command below lists the URLs by the number of time they have been requested on the platform.
The first column “req” provides the number of time the URLs was called.
cat filename.log | halog -u -H -q | awk ’NR==1; NR > 1 {print $0 | “sort -n -r -k 1”}’ | column -t