cvs commit: src/sys/compat/linprocfs linprocfs.c

Alexander Leidinger netchild at FreeBSD.org
Tue Jun 27 20:11:59 UTC 2006


netchild    2006-06-27 20:11:58 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linprocfs linprocfs.c 
  Log:
  Improve linprovfs to provide/fix the
   - process state (idle, sleeping, running, ...) [1]
   - the process group ID of the process which owns the connected tty
   - some page fault stats
   - time spend in kernel/userland
   - priority/nice value
   - starttime [1]
   - memory/swap stats
   - scheduling policy
  
  Additionally add some new fields and correct some not filled out ones.
  
  This brings us down to 15 dummy fields.
  
  The fields marked with [1] are needed to get Oracle 10 running. The starttime
  field is not completely right, since it displays the _same_ starttime for
  _every_ process, but at least it is not 0 and Oracle accepts this.
  
  This is a RELENG_x_y candidate.
  
  Noticed by:     Dmitry Ganenko <dima at apk-inform.com> [1]
  Reviewed by:    des, rdivacky
  MFC after:      1 week
  
  Revision  Changes    Path
  1.96      +51 -27    src/sys/compat/linprocfs/linprocfs.c


More information about the cvs-src mailing list