Featured Posts

GoAccess is an interactive and website / web-server log analyzer tool currently better than the ApacheTop interface. It provides fast and valuable HTTP statistics for system administrators that require a visual...

Readmore

AjaxMyTop AjaxMyTop is a Web-based tool featuring an AJAX user interface for monitoring a MySQL server. Installing and configuring is fairly simple which you can done it within 2 minutes. [caption id="attachment_587"...

Readmore

Mod_spin is a content handler and/or a filter, meaning, for a specified file extension, mod_spin will read the file (or other input), parse it into an Abstract Syntax Tree (AST) and then replace the occurrences...

Readmore

Server Monitoring using DSTAT DSTAT an excellent tool which combines the overall stats of vmstat, iostat, netstat and ifstat. Dstat allows us to view all of the system resources in the real-time including the network bandwidth, network...

Readmore

BWM-NG Monitoring Network Bandwidth and Disk I/O using BWM-NG BWN-NG (Bandwidth-NG) is old and simple tool to monitor the bandwidth and disk I/O including the RAMdisk usage, this tool really helps the...

Readmore

  • Prev
  • Next

Finding Harddrive Serial Using hdparm

Posted on : 20-10-2011 | By : admin | In : Tips

Tags:

1

Hdparm ( get/set hard disk parameters ) can be used to find hard drive serials. If you have several hard drives installed and if you want to list all the model and serial numbers of the installed drive. You can retrieve them using    

  • # hdparm -I /dev/sd?|grep -E “Number|/dev”

  If you dont have hdparm installed in your system, just use yum install hdparm to install it from rpm repos. The output will look similar to below.    

Finding Harddrive Serial Using hdparm

Hdparm Serial Output

   

Mounting filesystem as readonly

Posted on : 19-10-2011 | By : admin | In : Tips

Tags:

1

Archived; click post to view.
Excerpt: There are different ways to mount / remount the file system as readonly. Here are few simple steps which might be helpful if you want to remount your filesystem/partition as readonly. This is especially  useful if you want to run fsck on a selective partition for example /home , /var etc from init 3 runlevel.   # mount -o remount,ro / (or) # mount -o remount,ro /dev/sdaX /   The above command will remount the / root file system as read-only where sdaX is the partiton number. If you want to remount only your /home or /var mounted on a seperate partion. Just use     # mount -o….

Linux Free Command

Posted on : 19-10-2011 | By : admin | In : Monitoring Tools

Tags:

0

Archived; click post to view.
Excerpt: The command /bin/free or /usr/bin/free displays information about the total amount of free and used memory (including swap) on the system. It also includes information about the buffers and cache used by the kernel. Helpful for the admins to get the quick information about the memory usage in their servers. Sample output  

Free Command

  When using free, remember the Linux memory architecture and the way the virtual memory manager works. Below is the screen-caps of free command output stats (system with 4GB of RAM)  

Free stats

  Free command include the following syntax : -b, -k, -m, -g….