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
mhc(1)							      General Commands Manual							    mhc(1)

NAME
today - Show your today's schedules. SYNOPSIS
today [options] DESCRIPTION
This manual page documents briefly the today commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. today is a program that show your schedules in MHC repository. OPTIONS
A summary of options is included below. -h, --help Show summary of options. --format=FORMAT change output format. FORMAT is 'html' or 'ps. --category=CATEGORY Pick only in CATEGORY. '!' and space separated multiple values are allowed. --date=strig[+n] Set a period of date. String is one of these: today, tomorrow, sun ... sat, yyyymmdd, yyyymm. yyyymm lists all days in the month. list n+1 days of schedules if +n is given. default value is 'today+0' --mail=ADDRESS Send a e-mail to ADDRESS instead of listing to stdout SEE ALSO
adb2mhc(1), gemcal(1), mhc-scan(1), mhc2palm(1), palm2mhc(1), mhc(5). AUTHOR
This program was written by Yoshinari Nomura <nom@quickhack.net> and this manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian GNU/Linux system (but may be used by others). 23 Jun 2000 mhc(1)