Manual Reference Pages  - vips (1)


NAME

vips - greps ps output for vi/vim processes

CONTENTS

Author
Calls
Description
Documented Version
Exit Status
Options
Output
Permissions
Rcs Information
Rcs.sh Version
Restrictions
See Also
Synopsis
Warning(s)

DOCUMENTED VERSION

1.2 - 2007/02/18 16:22:39

SYNOPSIS

vips [-x]* [-X]*

DESCRIPTION

Q&D script to check ps output for vi/vim processes. Handy on MacOSX
where lots of processes contain the string "vi".

OPTIONS

-x does ’set -x’ (may be used in functions and external script calls) (see DIAGNOSTICS below)
-X sets debugging level--the number of times -X is specified" (see DIAGNOSTICS below)

OUTPUT

    First the header from ps. Then any vi/vim lines. Then a count of the number of lines.
    The header and count lines will always be printed.
    e.g.

    RUSER PID PPID %CPU %MEM RSS RSZ VSZ TTY COMMAND     jjohnson 11575 10652 0.0 0.1 1668 1668 19132 stdin vi vips     jjohnson 18805 11372 0.0 0.1 1396 1396 19132 ttyp8 /usr/bin/vi     2 vi/vim processes were found

RESTRICTIONS

  1. It does not try too hard to exclude "vi" or "vim" strings appearing for other reasons (i.e. in a pathname or arguments).
  2. Specifically tested only on Linux, Darwin, and SunOS of unspecified versions.

RCS.SH VERSION

00010

RCS INFORMATION

$Id: vips,v 1.2 2007/02/18 16:22:39 earneson Exp $
$Author: earneson $
$Date: 2007/02/18 16:22:39 $
$Revision: 1.2 $
$Source: /Users/cvs/scripts/all/Users/earneson/bin/vips,v $
$State: Exp $

PERMISSIONS

rwxr-xr-x userUID staff

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 -?.

CALLS

ps, awk

SEE ALSO

    ps(1)

AUTHOR

Edwin Arneson


\\$4  vips (1) EJA UTILITY
Generated by manServer 1.07 from vips.1 using man macros. With tweaks by Edwin Arneson.