Skip to content

HTTPS clone URL

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

    authored
    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. ps_mem.py: refactor access to /proc/...

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

    authored
    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. ps_mem.py: some pylint and pep8 adjustments

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

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

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

    Henry Grebler authored committed
    * scripts/ps_mem.py: 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

    authored
    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/ps_mem.py: 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

    ps_mem.py: support importing as a module

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

    authored
    * scripts/ps_mem.py: s/CLONE_CM/CLONE_VM/
Commits on Feb 16, 2010
  1. @ferringb

    ps_mem.py: support python 3

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

    authored
    * scripts/ps_mem.py: 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 ps_mem.py | grep [p]mon
  2. ps_mem.py: more robust presentation of command name

    authored
    * scripts/ps_mem.py: 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. ps_mem.py: Handle clones with pids in /proc/

    authored
    * scripts/ps_mem.py: 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/

    authored
Something went wrong with that request. Please try again.