Manual Reference Pages  - sarplotcpu (1)


NAME

sarplotcpu - generates PNG charts from sar CPU data using gnuplot.

CONTENTS

Arguments
Author
Bugs
Called By
Description
Documented Version
Exit Status
Options
Permissions
Rcs Information
Rcs.sh Version
Synopsis
Warning(s)

DOCUMENTED VERSION

1.9 - 070305

SYNOPSIS

sarplotcpu [-f altfile] [-n] [-s] [-x]* [-X]*

DESCRIPTION

    Script to generate charts from sar CPU data.

ARGUMENTS

        file (i.e. today); if the path is not specified, it will be assumed to be in the
        sar data file directory ($sardir).

OPTIONS

-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"

BUGS

    The alternative file flag (-f) will get the date from the specified file but assume the year is the current year.

RCS.SH VERSION

00010

RCS INFORMATION

$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 $

PERMISSIONS

rwxr-xr-x userUID userGID

WARNING(S)

40 - The localize script could not be found. Global machine settings can not be set.

EXIT STATUS

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<

CALLED BY

    earneson’s crontab file: 59 * * * * /Users/earneson/bin/sarplotcpu -s

AUTHOR

Sandra Henry


  sarplotcpu (1) EJA UTILITY
Generated by manServer 1.07 from sarplotcpu.1 using man macros. With tweaks by Edwin Arneson.