Category Archives: Unix – Linux

Configuring NFS to access the files from remote Linux machine as a mount point

I have a 2Tb of storage on a linux box, and i want to use that storage as a mount point from another machine. As a root user on the remote machine, specify the mount point details $cat /etc/exports /scratch *(rw) /fusionapps *(rw,no_root_squash) And restart the NFS sudo /etc/rc.d/init.d/nfs restart (All services should be in  running… Read More »

Linux User Management

ac Print statistics about users’ connect time. accton Turn on accounting of processes. To turn it on type “accton /var/log/pacct”. adduser Ex: adduser mark – Effect: Adds a user to the system named mark chage Used to change the time the user’s password will expire. chfn Change the user full name field finger information chgrp… Read More »

20 pmap Commands Examples in Linux / UNIX | pmap Commands Tutorial

You can find the memory used by a program (process) by looking into /proc directory or using standard command such as ps or top. However, you must calculate all memory usage by hand i.e. add Shared Memory + mapped file + total virtual memory size of the process + Resident Set Size + non-swapped physical… Read More »

If a linux-build-server suddenly starts getting slow, what would you check?

If a linux-build-server suddenly starts getting slow, I would divide my approach / troubleshooting into 3 section as follows; 1. System Level troubleshooting a. RAM related issues b. Disk Space related Issues c. Disk I/O read write issues d. Network Hardware issues e. Mount issues f. Too Many process running in the machine 2. Application Level… Read More »

Linux Commands for User | Linux User Commands Reference

General Commands Not Used Frequently cal – The Calender bc – The Calculator file – knowing the file types cmp – Comparing two files. comm – Common in two files dos2unix and unix2dos – Converting between dos and unix stat – Display file or file system status such as Access, Modify,Change, users and more #… Read More »

Linux Commands for Administrator | Linux Admin Commands Reference

su: Acquiring Superuser Status # su  :- Acquire  Superuser after entering password but home directory does not change # su – l :– Acquire Superuser access after password but home  directory change to ROOT # su  – henry : – To  Login and Recreate a user environment # sudo -s root -c “/bin/bash -l” passwd… Read More »

Linux Performance Monitoring using iostat, mpstat and vmstat | Linux Performance Monitoring Guide

iostat reports CPU, disk I/O, and NFS statistics. mpstat reports processors statictics. vmstat reports virtual memory statistics. vxstat – This Utility can be used as well. iostat reports CPU, disk I/O, and NFS statistics. The iostat command generates two types of reports, the CPU Utilization report and the Device Utilization report. The first report generated… Read More »

Main Responsibilities of the Linux System Administrator | What Linux System Administrators do ?

Main Responsibilities of the Linux System Administrator is as follows: Maintaining User Accounts Security Managing the disk space and Backup Provisiom the new Linux Server based on the need Linux Server Updates and Patching Authentication and Authorization Management Trubleshooting of Linux Severs and QA Deployments Managing the Large number of VMS in VMWARE Montoring all… Read More »

Common unix commands and utilities | unix commands and utilities Guide

To find a program not on this list (and there are hundreds), try the man program with the -k option followed by a keyword, for example, man -k tape to find all on-line manual entries that refer to programs that work with tapes. Terminal control characters for C-shell (csh) ^h, backspace erase previously typed character… Read More »

How to install subversion on Linux?

To install svn in linux and make it fully working , I found it really tough and it has taken my lots of time. I am thankful to Sanjay, who helped me in this and without him it won’t be possible.While installing this you will miss a small thing and you got stuck.But this is… Read More »