by Ramesh Natarajan
on August 20, 2010
Question: How do I lookup the wwn address of my HBA card installed on the Linux system. I need this information to create zoning on my fiber channel switch.
Answer: Use one of the following methods to view the HBA WWN address on Linux.
[continue reading…]
by Balakrishnan Mariyappan
on August 19, 2010
When you install any software from source, you typically execute commands like — “make”, “make install”, “make clean”, etc. Have you wondered what all these make commands are really making? Sure, we know that it is trying to compile and install the software. But, why make? What does it really do?
For compiling a single C program, cc command is very helpful. For compiling multiple C programs, Make utility is very helpful.
Also, C programmers and sysadmins will find it helpful to automate the compilation related tasks using make utility. In this article, let us review how to use make command.
[continue reading…]
by Ramesh Natarajan
on August 18, 2010
Question: I would like to add more swap space to my Linux system. Can you explain with clear examples on how to increase the swap space?
Answer: You can either use a dedicated hard drive partition to add new swap space, or create a swap file on an existing filesystem and use it as swap space.
[continue reading…]
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.
[continue reading…]
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.
[continue reading…]
by Ramesh Natarajan
on August 12, 2010
By default, MySQL does not allow remote clients to connect to the MySQL database.
If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL server” message as shown below.
[continue reading…]
by Balakrishnan Mariyappan
on August 11, 2010
ar is an archive tool used to combine objects to create an archive file with .a extension, also known as library.
In this article, let us discuss about how to create an user defined static library in C programming using the “ar” utility. The examples shows how to create, extract, and modify the archives using Linux ar command.
[continue reading…]
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.
[continue reading…]