cvs commit: src/bin/ps extern.h print.c ps.c

Hiten Pandya hmp at crater.dragonflybsd.org
Sun Jun 20 17:50:05 PDT 2004


hmp         2004/06/20 17:47:57 PDT

DragonFly src repository

  Modified files:
    bin/ps               extern.h print.c ps.c 
  Log:
  Use the kern.boottime sysctl for retrieving the system boot time as a
  struct timeval.  This is used to fix the STARTED column for pure kernel
  threads.
  
  Note, currently, we do not set the start time for pure threads due to
  safety issues with microtime(9), although this change conditionalizes
  the thread start time appropriately, so that in the future when pure
  threads will account their start time, we wouldn't need to change anything
  in this utility (with regard to the start time, ofcourse).
  
  Discussed-with: 	Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.6       +1 -0      src/bin/ps/extern.h
  1.12      +9 -1      src/bin/ps/print.c
  1.8       +12 -0     src/bin/ps/ps.c


http://www.dragonflybsd.org/cvsweb/src/bin/ps/extern.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/print.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list