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::Freebsd(3pm)				User Contributed Perl Documentation			     Sys::Filesystem::Freebsd(3pm)

NAME
Sys::Filesystem::Freebsd - Return Freebsd filesystem information to Sys::Filesystem SYNOPSIS
See Sys::Filesystem. INHERITANCE
Sys::Filesystem::Freebsd 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. fs_spec Describes the block special device or remote filesystem to be mounted. fs_file Describes the mount point for the filesystem. For swap partitions, this field should be specified as none. If the name of the mount point contains spaces these can be escaped as 40. fs_vfstype Dscribes the type of the filesystem. fs_mntops Describes the mount options associated with the filesystem. fs_freq Used for these filesystems by the dump(8) command to determine which filesystems need to be dumped. fs_passno Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. SEE ALSO
Sys::Filesystem, Sys::Filesystem::Unix, fstab(5) VERSION
$Id: Freebsd.pm 128 2010-05-12 13:16:44Z trevor $ AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk> 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::Freebsd(3pm)