Sponsored Content
Operating Systems AIX Performance Monitoring of FileSystem Post 302463378 by shockneck on Sunday 17th of October 2010 07:12:20 AM
Old 10-17-2010
Quote:
Originally Posted by A.Srenivasan
[...]The scenario is.. The filesystem (/drbackup) is getting monitored and if it exceeds the threshold, we will receive an alert from it. The issue is that we receive an alert with the description of "Current Utilization exceeds 90%". But whenever I check in the server, it shows the value of only 10% (Current Utilization). So do we have any performance monitoring tool to find when it goes high and get reduced to low ?
From what you describe I would presume that the /drbackup FS is used for a backup which is copied after completion to another storage system (such as TSM) and then deletet from the /drbackup FS.

So you want to know what is going on in the FS when it gets full and at what time this happens.
You might start by configuring NMON to monitor the Filesystems, write the data into a file and use the NMON-Analyser to convert the data into an Excel sheet. Choose the monitoring intervall according to the time needed to register the backup process. For details about NMON read the man page and look into the information in the NMON wiki. The NMON output should give you a good picture of when this process takes place and to what extent the FS gets filled.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

performance monitoring

hi, can any one tell me, is there is any way i can check the performance of my solaris 8 os on an Ent 3500. Other than top to check for the top most processes, how to make the calculations with vmstat, iostat, mpstat and nfsstat. Or is there any other tools that i can use? cheers. (3 Replies)
Discussion started by: i2admin
3 Replies

2. AIX

Performance monitoring

Hi All I am looking for a script that would collect statistics in a summarised format. CPU, Memory,Swap, Wait queue, Run queue and disk activity. Something that would allow me to profile the environment based on a 1 line output that I could run every 15 min. Thx Junaid (1 Reply)
Discussion started by: jhansrod
1 Replies

3. UNIX for Advanced & Expert Users

Performance Monitoring

Hi all The place I work for is about to to place there database server under heavy load for testing and would like the effect recorded as much as possible. Can anyone point me in the right direction with respect to real time system monitoring. I am aware of of 'sar', vmstat etc and hope to... (2 Replies)
Discussion started by: silvaman
2 Replies

4. UNIX for Dummies Questions & Answers

Performance monitoring

Hello, I am trying to find a way to view current CPU and disk usage. I used to use nmon which worked fine but since an upgrade to our servers this is no longer available. I have tried to get it reinstalled to no avail! Are there any other commands you can use within unix which will allow me... (4 Replies)
Discussion started by: johnwilliams
4 Replies

5. UNIX for Dummies Questions & Answers

Unix Performance Monitoring

In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i need to be watched on, and what value or average value should i watch inorder to determine that im experiencing a cpu bottle neck. What should be my basis. or if you use glance ... (2 Replies)
Discussion started by: kaibiganmi
2 Replies

6. Shell Programming and Scripting

Filesystem Monitoring script problems

Hi there all, #!/usr/bin/ksh Set -x MIN_MB_FREE="100MB" # Min. MB of Free FS Space MAX_PERCENT="85%" # Max. FS percentage value FSTRIGGER="1000MB" # Trigger to switch from % Used to MB Free WORKFILE="/tmp/df.work" # Holds filesystem data >$WORKFILE #... (0 Replies)
Discussion started by: draco
0 Replies

7. Solaris

Performance Monitoring

Hi all, I am planning to give a presentation on performance measure. I have decided to focus on the commands which are used to know the performance of the server. I have a idea of prstat,vmstat,netstat, and iostat. Could anybody suggest me any other commands which are used for perforamance... (7 Replies)
Discussion started by: priky
7 Replies

8. AIX

Help with a filesystem monitoring script.

I'd like to create a cron script that checks filesystems. For example if it reaches 95% USED, I'd like it to send me an email. Can this be possible for up to say 4 filesystems using the df -k command? Any samples to get me started would be much appreciated. (7 Replies)
Discussion started by: NycUnxer
7 Replies

9. Shell Programming and Scripting

Monitoring Script - filesystem

Hi all, I got an error when running this script (from BigAdmin community) the error is test: argument expected my server version is SunOS XXX 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V890 any idea on it? #! /usr/bin/ksh ### ### This script can be run from cron to... (9 Replies)
Discussion started by: SmartAntz
9 Replies

10. UNIX for Dummies Questions & Answers

Script for Monitoring Root Filesystem

I am on SCO UNIX, I need to write a script to monitor root file system. For some reason it's not working for me. #!/bin/sh df -B / | awk '{ print $5 " " $1 }' | while read output; do echo $output if ; then echo "Running out of space \ HOSTNAME" # mail -s "Alert: Almost out of... (8 Replies)
Discussion started by: samnyc
8 Replies
Sys::Filesystem(3pm)					User Contributed Perl Documentation				      Sys::Filesystem(3pm)

NAME
Sys::Filesystem - Retrieve list of filesystems and their properties SYNOPSIS
use strict; use Sys::Filesystem (); # Method 1 my $fs = Sys::Filesystem->new(); my @filesystems = $fs->filesystems(); for (@filesystems) { printf("%s is a %s filesystem mounted on %s ", $fs->mount_point($_), $fs->format($_), $fs->device($_) ); } # Method 2 my $weird_fs = Sys::Filesystem->new( fstab => '/etc/weird/vfstab.conf', mtab => '/etc/active_mounts', xtab => '/etc/nfs/mounts' ); my @weird_filesystems = $weird_fs->filesystems(); # Method 3 (nice but naughty) my @filesystems = Sys::Filesystem->filesystems(); DESCRIPTION
Sys::Filesystem is intended to be a portable interface to list and query filesystem names and their properties. At the time of writing there were only Solaris and Win32 modules available on CPAN to perform this kind of operation. This module hopes to provide a consistant API to list all, mounted, unmounted and special filesystems on a system, and query as many properties as possible with common aliases wherever possible. INHERITANCE
Sys::Filesystem ISA UNIVERSAL METHODS
new Creates a new Sys::Filesystem object. new() accepts 3 optional key pair values to help or force where mount information is gathered from. These values are not otherwise defaulted by the main Sys::Filesystem object, but left to the platform specific helper modules to determine as an exercise of common sense. fstab Specify the full path and filename of the filesystem table (or fstab for short). mtab Specify the full path and filename of the mounted filesystem table (or mtab for short). Not all platforms have such a file and so this option may be ignored on some systems. xtab Specify the full path and filename of the mounted NFS filesystem table (or xtab for short). This is usually only pertinant to Unix bases systems. Not all helper modules will query NFS mounts as a separate exercise, and therefore this option may be ignored on some systems. supported Returns true if the operating system is supported by Sys::Filesystem. Unsupported operating systems may get less information, e.g. the mount state couldn't determined or which file system type is special ins't known. Listing Filesystems filesystems() Returns a list of all filesystem. May accept an optional list of key pair values in order to filter/restrict the results which are returned. The restrictions are evaluated to match as much as possible, so asking for regular and special file system (or mounted and special file systems), you'll get all. For better understanding, please imagine the parameters like: @fslist = $fs->filesystems( mounted => 1, special => 1 ); # results similar as SELECT mountpoint FROM filesystems WHERE mounted = 1 OR special = 1 If you need other selection choices, please take a look at DBD::Sys. Valid values are as follows: device => "string" Returns only filesystems that are mounted using the device of "string". For example: my $fdd_filesytem = Sys::Filesystem->filesystems(device => "/dev/fd0"); mounted => 1 Returns only filesystems which can be confirmed as actively mounted. (Filesystems which are mounted). The mounted_filesystems() method is an alias for this syntax. unmounted => 1 Returns only filesystems which cannot be confirmed as actively mounted. (Filesystems which are not mounted). The unmounted_filesystems() method is an alias for this syntax. special => 1 Returns only filesystems which are regarded as special in some way. A filesystem is marked as special by the operating specific helper module. For example, a tmpfs type filesystem on one operating system might be regarded as a special filesystem, but not on others. Consult the documentation of the operating system specific helper module for further information about your system. (Sys::Filesystem::Linux for Linux or Sys::Filesystem::Solaris for Solaris etc). This parameter is mutually exclusive to "regular". The special_filesystems() method is an alias for this syntax. regular => 1 Returns only fileystems which are not regarded as special. (Normal filesystems). This parameter is mutually exclusive to "special". The regular_filesystems() method is an alias for this syntax. mounted_filesystems() Returns a list of all filesystems which can be verified as currently being mounted. unmounted_filesystems() Returns a list of all filesystems which cannot be verified as currently being mounted. special_filesystems() Returns a list of all fileystems which are considered special. This will usually contain meta and swap partitions like /proc and /dev/shm on Linux. regular_filesystems() Returns a list of all filesystems which are not considered to be special. Filesystem Properties Available filesystem properties and their names vary wildly between platforms. Common aliases have been provided wherever possible. You should check the documentation of the specific platform helper module to list all of the properties which are available for that platform. For example, read the Sys::Filesystem::Linux documentation for a list of all filesystem properties available to query under Linux. mount_point() or filesystem() Returns the friendly name of the filesystem. This will usually be the same name as appears in the list returned by the filesystems() method. mounted() Returns boolean true if the filesystem is mounted. label() Returns the fileystem label. This functionality may need to be retrofitted to some original OS specific helper modules as of Sys::Filesystem 1.12. volume() Returns the volume that the filesystem belongs to or is mounted on. This functionality may need to be retrofitted to some original OS specific helper modules as of Sys::Filesystem 1.12. device() Returns the physical device that the filesystem is connected to. special() Returns boolean true if the filesystem type is considered "special". type() or format() Returns the type of filesystem format. fat32, ntfs, ufs, hpfs, ext3, xfs etc. options() Returns the options that the filesystem was mounted with. This may commonly contain information such as read-write, user and group settings and permissions. mount_order() Returns the order in which this filesystem should be mounted on boot. check_order() Returns the order in which this filesystem should be consistency checked on boot. check_frequency() Returns how often this filesystem is checked for consistency. OS SPECIFIC HELPER MODULES
Dummy The Dummy module is there to provide a default failover result to the main Sys::Filesystem module if no suitable platform specific module can be found or successfully loaded. This is the last module to be tried, in order of platform, Unix (if not on Win32), and then Dummy. Unix The Unix module is intended to provide a "best guess" failover result to the main Sys::Filesystem module if no suitable platform specific module can be found, and the platform is not 'MSWin32'. This module requires additional work to improve it's guestimation abilities. Darwin First written by Christian Renz <crenz@web42.com>. Win32 Provides "mount_point" and "device" of mounted filesystems on Windows. AIX Please be aware that the AIX /etc/filesystems file has both a "type" and "vfs" field. The "type" field should not be confused with the filesystem format/type (that is stored in the "vfs" field). You may wish to use the "format" field when querying for filesystem types, since it is aliased to be more reliable accross different platforms. Other Linux, Solaris, Cygwin, FreeBSD, NetBSD, HP-UX. OS Identifiers The following list is taken from perlport. Please refer to the original source for the most up to date version. This information should help anyone who wishes to write a helper module for a new platform. Modules should have the same name as ^O in title caps. Thus 'openbsd' becomes 'Openbsd.pm'. REQUIREMENTS
Sys::Filesystem requires Perl >= 5.6 to run. TODO
Add support for Tru64, MidnightBSD, Haiku, Minix, DragonflyBSD and OpenBSD. Please contact me if you would like to provide code for these operating systems. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Sys::Filesystem You can also look for information at: o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Sys-Filesystem> o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Sys-Filesystem> o CPAN Ratings <http://cpanratings.perl.org/s/Sys-Filesystem> o Search CPAN <http://search.cpan.org/dist/Sys-Filesystem/> SEE ALSO
perlport, Solaris::DeviceTree, Win32::DriveInfo VERSION
$Id: Filesystem.pm 141 2010-05-14 16:04:41Z trevor $ AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk> Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/> ACKNOWLEDGEMENTS
See CREDITS in the distribution tarball. COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington. Copyright 2008-2010 Jens Rehsack. This software is licensed under The Apache Software License, Version 2.0. <http://www.apache.org/licenses/LICENSE-2.0> perl v5.10.1 2010-05-18 Sys::Filesystem(3pm)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy