Active Members
TodayLast 7 Daysmore...


Resources » Articles/Knowledge Sharing » Computer & Technology

File System Monitoring in Linux


Posted Date:     Category: Computer & Technology    
Author: Member Level: Gold    Points: 10


File System Monitoring in Linux, Linux environment, the linux command



File System Monitoring


Monitoring the full filesystems is the common monitoring task of all, in Linux environment. Among different Unix the monitoring techniques only the commands and output fields vary. This variation is due to the fact that based on the Unix system the command syntax vary.

This article explains the step by step procedure in building a script to monitor the filesystem usage. Amount of space that has been used or consumed is referred to as the % percentage of space used in each filesystem. Secondly we should deal with the original base code , exceptions capability and set the threshold for a filesystem to a maximum level. As a third part large filesystems are dealt with , which is larger than 2GB. Hence in order to have a unix script megabytes, MB, free space technique can be used. Important trick is to use the exception capability to the MB size. Next step is to combine the % of space used and MB of free space techniques.

Regular filesystems are monitored with % used. For larger filesystems MB of free space. Now the final script step should allow the script that is built for filesystem monitoring to run on HP-UX, AIX, Solaris, Linux, without any modification.

Steps To Write a Linux Script For FileSystem Monitoring


To summarize, we used the following techniques in writing a shell script to monitor a filesystem:

. % Percentage of used space method
. % Percentage of used space with exceptions capability added to it
. Size MB of free space method
. Size MB of free space added with exceptions capability
. Combine % space used and MB free space
. Enable to execute on AIX, HP-UX, Linux, and Solaris

In Linux environment the linux command to know the filesystems in kilobytes, KB blocks is
$ df -k in AIX
Related Resources:


Read related articles: Linux files    Linux commands    Operating systems    Linux    


Did you like this resource? Share it with your friends and show your love!





Responses to "File System Monitoring in Linux"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Avoid missing phone calls
    Previous Resource: Features and review of seven Wynncom dual SIM phones Y10, Y11, Y20, Y21, Y22, Y30, Y50
    Return to Resources
    Post New Resource
    Category: Computer & Technology


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    File System Monitoring in Linux  .  Linux environment  .  The linux command  .  MB of free space method  .  Percentage of used space method  .  Filesystems in kilobytes  .  

    Awards & Gifts

    Online Members

    Ank Arya
    More...
    ISC Technologies, Kochi - India. Copyright © All Rights Reserved.