by Ramesh Natarajan on November 30, 2011
NIS stands for Network Information Service.
NIS is also called as YP. YP stands for Yellow Pages.
NIS is a lookup service for set of databases. The databases in this cases can be a passwd file, group file, hosts file, etc. This is primarily used as a central repository to hold all username and passwords (i.e /etc/passwd), and different servers can authenticate against this server for the username and password.
(more…)
by Himanshu Arora on November 28, 2011
One major aspect of system programming is to handle memory related issues effectively. The more you work close to the system, the more memory related issues you need to face.
Sometimes these issues are very trivial while many times it becomes a nightmare to debug memory related issues. So, as a practice many tools are used for debugging memory related issues.
In this article, we will discuss the most popular open source memory management framework VALGRIND.
(more…)
by Balakrishnan Mariyappan on November 23, 2011
Strace is a debugging tool that will help you troubleshoot issues.
Strace monitors the system calls and signals of a specific program. It is helpful when you do not have the source code and would like to debug the execution of a program. strace provides you the execution sequence of a binary from start to end.
This article explains 7 strace examples to get you started.
(more…)
by Ramesh Natarajan on November 21, 2011
In most critical production servers, you will be using either RAID 5 or RAID 10.
However there are several non-standard raids, which are not used except in some rare situations. It is good to know what they are.
This article explains with a simple diagram how RAID 2, RAID 3, RAID 4, and RAID 6 works.
(more…)
by Ramesh Natarajan on November 16, 2011
Iām happy to announce the updated 2nd Edition of my free eBook ā Linux 101 Hacks.
There are total of 101 hacks in this book that will help you build a strong foundation in Linux.
All the hacks in this book are explained with appropriate Linux command examples that are easy to follow.
In the 2nd edition of the book, several small hacks from the 1st edition are consolidated, and several new hacks were added.
This free eBook contains 12 chapters with total of 271 pages.
(more…)
by Ramesh Natarajan on November 14, 2011
This article is part of our on-going performance monitoring series of articles.
In this article, let us focus on how to monitor network traffic and log them for later analysis using vnstat utility.
vnstat is a command line utility that displays and logs network traffic of the interfaces on your systems. This depends on the network statistics provided by the kernel. So, vnstat doesn’t add any additional load to your system for monitoring and logging the network traffic.
(more…)
by Ramesh Natarajan on November 9, 2011
Learning and exploring Linux and open source technologies requires lot of free time in hand.
The best way to get free time is to eliminate unnecessary things from your life, and try to organize your life.
Even if you adapt handful of ideas from this list, you’ve taken a huge step towards organizing your life and being productive.
(more…)
by Ramesh Natarajan on November 7, 2011
How important is it for you not to lose your critical documents, pictures and videos of your kids because of a hard disk failure?
If it is important, stop using the single disk external hard drive.
If you are using a single disk external hard-drive, it is just a matter of time before you lose your data. Hard disks will fail, there is no exception to this rule. This is the main reason I switched from a single drive external hard disk to a RAID device for home backup.
(more…)