Posted on : 20-10-2011 | By : admin | In : Tips
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.

Hdparm Serial Output
Posted on : 19-10-2011 | By : admin | In : Tips
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….
Posted on : 19-10-2011 | By : admin | In : Monitoring Tools
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
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 command include the following syntax : -b, -k, -m, -g….