Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 17:45:23 -0800 (PST)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ps ps.c
Message-ID:  <200403300145.i2U1jNWQ035343@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2004/03/29 17:45:23 PST

  FreeBSD src repository

  Modified files:
    bin/ps               ps.c 
  Log:
  Replace pscomp() with a cleaner version, mostly written by bde (*).
  This corrects a problem of lost-precision for `-r' (sort-by-CPU).  Also,
  for sort-by-CPU and sort-by-memory, any processes which have the same
  value CPU or MEMORY are now sorted by TTY and then (if needed) by pid.
  
  (* - I just added the NODEV checks, after doing some testing of my own)
  
  Submitted by:   bde
  MFC after:      1 week
  
  Revision  Changes    Path
  1.81      +42 -13    src/bin/ps/ps.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403300145.i2U1jNWQ035343>