Category Archives: Linux

about linux kernel, shell command, service, …

A C++ multi-threaded application crashed: how to find the problem by GDB and fix it.

It is not hard to understand mutex, condition variable, semophore, etc. in Linux with pthread library, but you might not remember it for ever. A failure in multi-threaded application can give you a deep impression of these concept and on … Continue reading

Posted in c/c++, Linux, Operating system, Programming | Leave a comment

Build syslog-ng for Redhat Enterprise Linux 5.5

In RHEL -5.5, it is installed the default syslog server, but most often we use syslog-ng server, and it is hard to find an existing syslog-ng rpm, so I have to build it by myself. You can follow most open … Continue reading

Posted in Linux | Leave a comment