New Member FAQ
|
Forums
|
Earn Revenue
|
Distance Education
|
Help Topics
|
Admissions 2013
Login
Register
Articles
Practice Tests
Ask Experts
Question Papers
Jobs
Universities
Colleges
Courses
Schools
Gift Shop
|
Bookmarks
|
Reviews
|
Learn English
|
Social Hub
|
Training
|
New Posts
|
My India
|
Members
|
Polls
|
Active Members
Today
Dipak
(340)
Oza Mihir
(180)
Dhairya Khant
(145)
Last 7 Days
R Pramod
(1174)
K Mohan
(690)
Dipak
(500)
more...
Resources
»
Articles/Knowledge Sharing
»
Computer & Technology
File System Monitoring in Linux
Posted Date:
26-May-2010
Category:
Computer & Technology
Author:
Joseph A
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:
How to Access Linux Files in Windows
Types Of Operating System
Few basic things you must know about Linux operating system
How To Search a string in Linux ?| Use grep Linux Command To Search A String | Linux command grep
Meaning, Procedure and working of Operating system
Transmission not downloading but uploading problem solved in Ubuntu linux
Permissions in Linux operating system
Why Linux is the best open source software in the market right now
Linux Installation Guide - Know How to Install Linux
Read related articles:
Linux files
Linux commands
Operating systems
Linux
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "File System Monitoring in Linux"
No responses found. Be the first to respond...
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
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
Avoid missing phone calls
Keyword Analysis - How to do Keyword Analysis and their Importance in SEO
Free Open Source Software Download site
Selecting Classess in Noun Phrase Approach
Program Efficiency
CodeWarrior Products | CodeWarrior Development Tools
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
.
Subscribe to Email
Get Jobs by Email
Forum posts by Email
Articles by Email
Awards & Gifts
Online Members
Ank Arya
More...