sarplotcpu - generates PNG charts from sar CPU data using gnuplot.
Arguments
Author
Bugs
Called By
Description
Documented Version
Exit Status
Options
Permissions
Rcs Information
Rcs.sh Version
Synopsis
Warning(s)
1.9 - 070305
sarplotcpu [-f altfile] [-n] [-s] [-x]* [-X]*
Script to generate charts from sar CPU data.
file (i.e. today); if the path is not specified, it will be assumed to be in the
sar data file directory ($sardir).
-f altfile process sar data from an alternative file instead of the default -n no graph generation (default=generate graphs with genplots) -s sleep for a few seconds; used if called by cron to ensure another task run on the same minute finishes first -x does set -x (may be used in functions and external script calls) -X sets debugging level--the number of times -X is specified"
The alternative file flag (-f) will get the date from the specified file but assume the year is the current year.
00010
$Id: sarplotcpu,v 1.9 2007/03/06 00:16:23 earneson Exp $
$Author: earneson $
$Date: 2007/03/06 00:16:23 $
$Revision: 1.9 $
$Source: /Users/cvs/scripts/all/Users/earneson/bin/sarplotcpu,v $
$State: Exp $
rwxr-xr-x userUID userGID
40 - The localize script could not be found. Global machine settings can not be set.
51 - An unknown option was passed to the script, or syntax of the parameters is wrong.
51 - Unknown option >$errflag<
56 - The USAGE was requested using -z or -?.
52 - Can not read the specified alternative sar data file >$altfile<
earnesons crontab file: 59 * * * * /Users/earneson/bin/sarplotcpu -s
Sandra Henry
sarplotcpu (1) | EJA UTILITY |