Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 6, 2013
Commits on May 10, 2013
  1. avoid os.path.realpath issues on RHEL 5

    This fixes issue #10 by avoiding realpath()
    and using the lower level readlink().
    This is fine as the target is canonicalized already.
    Also adjust for the different failures of readlink
    and realpath and improve the caller so that only
    particular errors are caught.
Commits on Feb 1, 2013
Commits on Dec 19, 2012
  1. refactor access to /proc/...

    Add a class to store the base for proc and
    simplify construction and access to /proc/paths...
    Fixes issue 8
Commits on Sep 26, 2012
  1. scripts: document that all are LGPLv2

    I'm using LGPL rather than GPL as I would like
    to encourage incorporating parts of these
    scripts in various projects, while also
    benefitting from any improvements therein
Commits on Aug 31, 2012
  1. @briandegeeter
Commits on May 20, 2012
Commits on Apr 29, 2012
  1. @andresriancho
Commits on Apr 28, 2012
  1. Minor bug fixes.

    dz0 authored
  2. @andresriancho

    Added -p <pid> and -w (watch) features.

    andresriancho authored dz0 committed
    Complete refactoring so it can be used as a module.
Commits on Dec 21, 2011
  1. some pylint and pep8 adjustments

    * scripts/ Suppress some pylint and pep8
    warnings. There was indentation errors fixed which
    may have caused issues.
Commits on Aug 13, 2011
  1. fix exception syntax for python 3

    * scripts/ Adjust exception inspection to
    be compatible with both python 2.4 and 3
    Reported at #3
Commits on Aug 9, 2011
  1. support Linux kernels >= version 3.0

    * scripts/ Parse 2 digit kernel versions (3.0)
    correctly.  Also recognise that kernels >= 3.0 are accurate.
Commits on Mar 9, 2011
  1. support FreeBSD

    Henry Grebler authored committed
    * scripts/ Look for /compat/linux/proc which
    supports up to Linux 2.6.16 as of FreeBSD at least (no smaps)
Commits on Nov 30, 2010
  1. scripts: handle EPIPE in python scripts

    Ignore the standard EPIPE exception which
    is generated like this for example:
    seq 1000 | funcpy uniq | head -n10
    Note os.errno only seems available since python 2.5.2
    and it doesn't seem to be documented in any case,
    so using errno.EPIPE directly
    * scripts/ Update the excepthook
    * scripts/whatrequires: Likewise
    * scripts/funcpy: Move handling to excepthook for consistency
Commits on Oct 6, 2010
Commits on Sep 29, 2010
  1. @io41 support importing as a module

    io41 authored committed
    * scripts/ import ps_mem; ps_mem.sort_list...
Commits on Apr 22, 2010
  1. fix a typo in a comment

    * scripts/ s/CLONE_CM/CLONE_VM/
Commits on Feb 16, 2010
  1. @ferringb support python 3

    ferringb authored committed
    * scripts/ Support py3k while being backwards
    compatibile to python 2.4 at least.
Commits on Jan 20, 2010
  1. add the --split-args option

    * scripts/ Add this option to work on the full command line,
    which could be useful if one wanted to monitor separate oracle databases
    as in this example: sudo | grep [p]mon
  2. more robust presentation of command name

    * scripts/ If the exe symlink contains (deleted),
    then append [deleted] or [updated] as appropriate.  Also if
    the exe link is not present as was the case for the #prelink#
    entry mentioned in the script, then try the first command line
    parameter, as this might contain the full path to the program.
    Note we don't default to using the cmdline as often it just
    contains the name and also arbitrary (information) values
    are often present.
  3. Handle clones with pids in /proc/

    * scripts/ checksum each smaps so if a program
    has many identical smaps, we assume that they all have
    the same VM area. I.E. they're specified CLONE_VM but
    not CLONE_THREAD. This was seen in the wild for some java
    programs at least.
Commits on Nov 4, 2009
  1. Initial commit of /scripts/

Something went wrong with that request. Please try again.