################################################################################
#                                                                              #
#  ext|scripts (C) 2000-2004 Pavel Novikov (pavel@ext.by)                      #
#                                                                              #
################################################################################

################################################################################
#
#  This one makes "ps(1)" and then maps pids to jails.
#


NOTES:

  This a perl wrapper to "ps(1)" that gets its output and maps pids to jails.

  The wrapper takes all "ps(1)" options and passed then to the "ps(1)" if some
  specified. When no options specified the wrapper uses default options.

  No additional software or tools like "jailer(8)" needed.

INSTALL:

  --8<----------------------------------------------------------------------
  make install
  --8<----------------------------------------------------------------------

  or

  --8<----------------------------------------------------------------------
  make install PFX=/usr/local
  --8<----------------------------------------------------------------------

DEINSTALL:

  --8<----------------------------------------------------------------------
  make deinstall
  --8<----------------------------------------------------------------------

  or

  --8<----------------------------------------------------------------------
  make deinstall PFX=/usr/local
  --8<----------------------------------------------------------------------

USAGE:

  Usage: ./jps.pl [<ps options>] [lj|long_jails] [ll|long_lines] [i|install]

    <ps options> - ps(1) options to be passed to
    lj|long_jails - use full jail hostnames
    ll|long_lines - do not cut long lines
    i|install - install Term::ReadKey from ports
