fs_trend.sh (Filesystem Trends)


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS fs_trend.sh (Filesystem Trends)
# 1  
Old 12-10-2008
fs_trend.sh (Filesystem Trends)

fs_trend.sh This script produces a nice, easy to read, colour coded "trend figure for disk usage report" web page. For each file system, it shows data from today, 1, 2 and 3 days ago, 1 and 2 weeks ago and 1, 3 and 6 months ago Where any historical data is not available, N/A will appear. New file systems are automatically catered for. The script will create a file fs_trend_.html which you can load to your web site. It also creates a file fs_history which will build over time to contain historical data for the html page. You should run the script daily from your crontab (root is not required) It also writes a copy of the web page to /tmp (in case you use something like an ssh keychain as another user to grab the files for your web server, to avoid any permissions problems) If the configuration file does not exist, then it is created with the default values Output_dir= (The output directory) is set to the same directory where the script resides Colour=YES - The option to have coulour coded cells Redpct=90 - Turns the cell red if the FS % is 90% or more Amberpct=80 - Turns the cell Amber if the FS% is between 80% and 90% See screenshot as well: http://www.sun.com/bigadmin/scripts/images/fs_trend.jpg

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. What is on Your Mind?

Google Trends: UNIX

Over the years I have a lot of experience with people and their opinions of technology, toolsets, programming languages, software architectures, and of course forums. These opinions come from all walks of life and range from "unix.com changed my life and got me though the university... thank you... (11 Replies)
Discussion started by: Neo
11 Replies

2. Web Development

Google Trends: react.js angular.js vue.js

While I'm on the subject of Google trends, here is a global trend since 2004 comparing react.js, angular.js, vue.js It's no secret I'm a vue.js fan and coder, but not because of the trend line (which I just saw for the first time a few minutes ago) My experience is that vue.js, a late arrival... (0 Replies)
Discussion started by: Neo
0 Replies

3. Web Development

Top 8 Web Development Trends 2019

Top 8 Web Development Trends 2019 https://www.youtube.com/watch?v=VLm3Y7Odb74 (0 Replies)
Discussion started by: Neo
0 Replies

4. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

5. UNIX for Dummies Questions & Answers

Platform trends (what to aim for to become a sys admin)

I am currently an AIX operator at IBM (Montreal Canada). In my career path, I wish to become a system admin. I know about Linux because I'v had ubuntu at home for 2 years. What platform should I aim for in becoming a system admin ? What book would you recomand ? What certification would... (1 Reply)
Discussion started by: Browser_ice
1 Replies
Login or Register to Ask a Question
Sys::Filesystem::Darwin(3pm)				User Contributed Perl Documentation			      Sys::Filesystem::Darwin(3pm)

NAME
Sys::Filesystem::Darwin - Return Darwin (Mac OS X) filesystem information to Sys::Filesystem SYNOPSIS
See Sys::Filesystem. DESCRIPTION
The filesystem information is taken from diskutil, the system utility supplied on Mac OS X. INHERITANCE
Sys::Filesystem::Darwin ISA Sys::Filesystem::Unix ISA UNIVERSAL METHODS
version () Return the version of the (sub)module. ATTRIBUTES
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object. The property 'label' is also set, but cannot be queried by Sys::Filesystem yet. mount_point The mount point (usually either '/' or '/Volumes/...'). device The mounted device format Describes the type of the filesystem. So far I encountered the following types: hfs The standard Mac OS X HFS(+) filesystem. Disk images (.dmg) and Mac Software DVDs normally also use the HFS(+) format. msdos DOS image files (e.g. floppy disk images) cd9660 CD-ROM image files or real CD-ROMs cddafs Audio CDs udf UDF filesystem (e.g. DVDs) (empty) For mounted FTP servers, disktool returns an empty filesystem type (ie, ''). BUGS
Doesn't take /etc/fstab or /etc/xtab into account right now, since they are normally not used. Contact the author if you need this. SEE ALSO
Sys::Filesystem, diskutil VERSION
$Id: Darwin.pm 128 2010-05-12 13:16:44Z trevor $ AUTHOR
Christian Renz <crenz@web42.com> Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/> COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington. Copyright 2009,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::Darwin(3pm)