From the category archives:

General

How to Send SMS Using Email to Major US Cellphone Carriers

by Ramesh Natarajan on August 20, 2010

Are you always sending SMS to your friend’s cellphone from your cellphone? Did you know that you can SMS to someone using email?

This list is extremely helpful, if you are outside US and would like to SMS someone in US, you can just send it as an email.
(more…)

{ 15 comments }

10 Things Any Monitoring Software Should Do (Nagios Does it)

by Ramesh Natarajan on August 17, 2010

If you are a system administrator, or IT manager, or someone who is responsible for IT infrastructure, you should implement an enterprise level monitoring solution.

The shell script you’ve written that does a ps -ef and sends you an email might do the basic job, but it doesn’t count as monitoring.

If you want to be proactive, have peace of mind, and sleep well at night, you should implement a robust system and network monitoring solution for your IT infrastructure.
(more…)

{ 10 comments }

10 IPCS Command Examples (With IPC Introduction)

by Sasikala on August 12, 2010

IPC stands for Inter-process Communication.

This technique allows the processes to communicate with each another.

Since each process has its own address space and unique user space, how does the process communicate each other?

The answer is Kernel, the heart of the Linux operating system that has access to the whole memory. So we can request the kernel to allocate the space which can be used to communicate between processes.
(more…)

{ 5 comments }

RAID 0, RAID 1, RAID 5, RAID 10 Explained with Diagrams

by Ramesh Natarajan on August 10, 2010

RAID stands for Redundant Array of Inexpensive (Independent) Disks.

On most situations you will be using one of the following four levels of RAIDs.

  • RAID 0
  • RAID 1
  • RAID 5
  • RAID 10 (also known as RAID 1+0)

This article explains the main difference between these raid levels along with an easy to understand diagram.
(more…)

{ 17 comments }

Snort: 5 Steps to Install and Configure Snort on Linux

by SathiyaMoorthy on August 6, 2010

Snort is a free lightweight network intrusion detection system for both UNIX and Windows.

In this article, let us review how to install snort from source, write rules, and perform basic testing.

(more…)

{ 6 comments }

Log Effectively Using Custom Perl Logger Module

by Balakrishnan Mariyappan on July 29, 2010

For any custom written user services and processes, you should maintain a log file to view the status of the service, or to troubleshoot any issues with the services/processes.

Perl CPAN offers few modules which provides the automated object interface for handling logging for services.

In this article, let us write our own Perl logger module which internally uses Perl CPAN modules: Log::Agent, Log::Agent::Driver::File and Log::Rotate.

This custom perl logger module will perform the following operations.
(more…)

{ 1 comment }

Emacs Macro Tutorial: How to Record and Play

by SathiyaMoorthy on July 28, 2010

Using Emacs Macro feature you can record and play a sequence of actions inside the editor.

This article explains how to perform record and play inside Emacs editor with an example.

If you are a Vim editor fan, refer to our How to record and play inside Vim editor article.
(more…)

{ 1 comment }

How To: Perl TCP / UDP Socket Programming using IO::Socket::INET

by Balakrishnan Mariyappan on July 1, 2010

In this article, let us discuss how to write Perl socket programming using the inbuilt socket modules in Perl.

Perl socket modules provides an object interface that makes it easier to create and use TCP / UPD sockets.

This article covers the following topics:

  • Perl example code for TCP client and server
  • Perl example code for UDP client and server
  • Read and write descriptor list using Select(IO::Select)

(more…)

{ 3 comments }