cvs commit: src/contrib/top commands.c machine.h top.c src/usr.bin/top machine.c

Giorgos Keramidas keramida at FreeBSD.org
Wed May 18 13:30:12 GMT 2005


keramida    2005-05-18 13:30:08 UTC

  FreeBSD src repository (doc committer)

  Modified files:
    contrib/top          commands.c machine.h top.c 
    usr.bin/top          machine.c 
  Log:
  Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C'
  command that toggles between the two and update the ORDER_PCTCPU()
  macro to sort correctly by the visible "cpu" value.
  
  This saves 6 more columns in 80-column terminals, making things a lot
  better for the COMMAND column.
  
  Tested on:      i386, sparc64 (panther), amd64 (sledge)
  Approved by:    davidxu (in principle)
  
  Revision  Changes    Path
  1.12      +1 -0      src/contrib/top/commands.c
  1.7       +1 -0      src/contrib/top/machine.h
  1.17      +22 -7     src/contrib/top/top.c
  1.73      +23 -17    src/usr.bin/top/machine.c


More information about the cvs-src mailing list