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

NAME
saidar - a curses-based tool for viewing system statistics SYNOPSIS
saidar [-d delay] [-c] [-v] [-h] DESCRIPTION
saidar is a curses-based tool for viewing the system statistics available through libstatgrab. Statistics include CPU, processes, load, memory, swap, network I/O, disk I/O, and file system information. OPTIONS
The following options are supported. -d DELAY Wait DELAY seconds between updates (default 3) -c Enables coloured output -v Prints the version number -h Display help and exits COLOURED OUTPUT
When the -c option is used saidar uses colours to display the data. Each area has a different colour to distinguish it from the nearby fields. Bold and reverse video effects are used to emphasis fields where necessary. The load average figures are displayed in bold when they're notably (greater that 1) different to each other. This purely shows that a change in the load is occurring. When CPU usage goes over 60% it will be displayed in bold. At 90% the field is displayed using reverse video. Likewise for memory, swap and disk usage at 75% and 90%. Zombie processes are also highlighted. Other values (paging, disk I/O and network I/O) are not highlighted due to the nature of the values; it's not easy to determine what thresholds are significant. SEE ALSO
statgrab(1) statgrab(3) AUTHORS
This man page was written by Bartosz Fenski for the Debian GNU/Linux distribution. WEBSITE
http://www.i-scream.org/libstatgrab/ i-scream $Date: 2006/11/30 23:42:42 $ saidar(1)