Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts

Saturday, September 12, 2015

Check Disk space in Linux

To check disk space in linux operating system through command line use the following command.

df -h //show all the media and the total amount of space available and total space used.

du -h --max-depth=1 //foldername (for eg var, html, data)

This command shows you the space occupied by the folder till level 1.
If you want to see more deep than you can replace the depth=1 by any number for nth level.

MS SQL : How to identify fragmentation in your indexes?

Almost all of us know what fragmentation in SQL indexes are and how it can affect the performance. For those who are new Index fragmentation...