RSSCategory: LINUX HOWTO

About Semaphores In Linux ? Use ipcs Command With Examples

  A semaphore is a mechanism that allows contending process or thread to alter, monitor queries, and control shared system resources. A semaphore is a solution to race condition in multiprocessing system. Race condition occurs when multiple processes try to access shared resources. If the multi-threaded feature is needed by the application, then it comes with a set of […]

April 30, 2011 | By
| Reply More

How To Check LUN or SAN Disk In Linux

To check the attached LUN from a storage device in Linux, we have explained this with few commands. It is just to understand better how to manage attached storage. #cat /proc/scsi/scsi file, it will give you information as shown below: Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HP 36.4G Model: MAN3367MC Rev: HP05 Type: […]

April 30, 2011 | By
| Reply More

Linux Command Rpcinfo - Check Nfs Client Connection

1) Issue the following command on the NFS client to make sure the server is running all the NFS server processes: /usr/bin/rpcinfo -p servername The rpcinfo command should display the following processes: rpcbind nfs mountd status nlockmgr llockmgr 2) Issue the following command on the NFS client to make sure the rpc.mountd processed on the NFS server […]

April 30, 2011 | By
| Reply More

What All Command Used To Find Architecture Of Linux OS and CPU

Assume that administrator is in need to alter the existing system configuration or simply he wants to install a new software or hardware device before performing his needful task, he has to know the details of the system to make sure that the new software/hardware will work fine with the system environment. To get the […]

April 30, 2011 | By
| Reply More

Error: modprobe: Can't locate module block-major-22

The message is simply informational and most of the time harmless to the system. Messages like this usually occur after a kernel update and appear when a module that was used by the kernel previously is not being used or is not loaded anymore. However, sometimes this message appears because the system is probing for […]

April 24, 2011 | By
| Reply More

Everyday Linux ps command Examples for System Admin

Linux/Unix system administrator should be very proficient in performance monitoring and tuning. For performance monitoring, administrator should understand how various Linux component and processes works (like CPU, Memory, I/O and Network). Process status (PS) is a command used to display current running processes on Unix/Linux operating systems. This command is commonly used for process monitoring. Whenever […]

April 24, 2011 | By
| Reply More

How To Enable Log For Ssh Login In Linux

To access the particular system on a network or to operate required device or to execute the commands through a remote system, we use several protocols like rlogin, rsh, rcp, rdist and ssh. Among those programmes, Secure Shell (SSH) protocol is the best for secure communications over insecure channels. SSH provides strong authentication for communication. […]

April 24, 2011 | By
| Reply More

How To Configure Netdump Client On Linux

1. To check whether “netdump” package has already been installed or not: # rpm –qa | grep netdump 2. If it is not installed, install netdump using the following command: # up2date -i netdump 3.  To double check the installed package and configuration files: # rpm –qa | grep netdump Note: Netdump configuration file path. Configuration […]

April 24, 2011 | By
| Reply More

Need For User bash_profile File In Linux

Every user in Linux has a profile. The profile is a set of facilities or rights provided to the particular user accounts. For example, if root user has different profile, then you can compare with normal users. If you login with normal user, some of the commands will not be executed because the path of the command is not […]

April 24, 2011 | By
| Reply More

How To List Linux Pci Devices Using lspci Command

Peripheral component interface is a computer bus used for attaching the hardware devices in a computer. “lspci” command is used in Linux operating system to display all the information about these PCI buses of the system and devices which are attached to the system. By this lspci command, we can get the full detailed information like […]

April 23, 2011 | By
| Reply More

What is LVM Mirroring? Steps To Create LVM Mirror in Linux

In the computer world, storage is the most important factor. If data is lost, then everything is lost for the organization or company. Initially data is stored in normal disks, it does not have flexibility to manage the data and it is very complicated and disaster for recovery management. To achieve flexibility and goal of the disaster […]

April 23, 2011 | By
| 1 Reply More

How To Use Screen And Script Command In Linux

The screen is a terminal multiplexer. Using this, you can run any number of console-based-applications, interactive command shells, course-based applications, etc. You can use screen to keep running program after you accidentally close the terminal, or even after you log out and later resume right wherever you are. You can start screen just by typing screen at […]

April 23, 2011 | By
| Reply More

12 Different Options of Rsync Command in Linux With Examples

For organizations and companies, data is the most important factor. Especially for E-commerce business, data is very critical for them. Rsysnc is a tool or software which helps taking backup of critical data over the network. It is also used to network protocol for Unix-like and Windows systems that synchronizes files and directories from one system […]

April 23, 2011 | By
| Reply More

How To Use Linux Route Add Command

Routing is the way that computers communicate on a local network or over internet. When you want to talk to someone, you need to know his position and how you can join it. To communicate over a network (big or not), computers need to know the path to take and this is possible with routers […]

April 23, 2011 | By
| Reply More