Retrieve CPU and Memory Information on FreeBSD

Server running slow and how to check CPU/Processor and RAM/Memory info on FreeBSD? There are couple of ways to retrieve the information, by dmesg or sysctl.

Check CPU/Processor Speed on FreeBSD

Get CPU info by sysctl;

Read the rest of this entry »

How to Remove MySQL Binary Log

By default, MySQL 5.0 and above enables MySQL Binary Log. Keeping MySQL Binary Log might take up a lot of disk space for long run. Older MySQL Binary log can be removed in order to keep your hard disk space free.

Read the rest of this entry »

Install and Configure Thold on Cacti

There are a bunch of Cacti’s plugins which can do better monitoring. One of the recommended and popular plugin for Cacti is Thold. Thold is a plugin to monitor bandwidth usage and trigger an alert when it reaches the threshold. Plugin Architecture needs to be installed in order to activate it on Cacti.

Let’s start the installation and configuration.

Read the rest of this entry »

Force Email Delivery on Exim

Hundred emails are queuing on your mail relay server, and you have to push the email to the destination mail server after it has came online. Using exim -M can helps you to delivery the email instantly.

Read the rest of this entry »

Arrays in Bash

Arrays is useful when it comes to data processing. Using Arrays in Bash is quite easy, and most importantly is to get your job done with the data loaded into the Arrays.

Read the rest of this entry »