cvs commit: src/usr.bin/vmstat vmstat.c src/usr.sbin/iostat iostat.c

John Baldwin jhb at FreeBSD.org
Tue Aug 19 21:37:38 UTC 2008


jhb         2008-08-19 21:33:09 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/vmstat       vmstat.c 
    usr.sbin/iostat      iostat.c 
  Log:
  SVN rev 181881 on 2008-08-19 21:33:09Z by jhb
  
  Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump
  since the 'cp_time' symbol doesn't exist in recent kernels.  This fixes
  iostat and vmstat on crash dumps.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.102     +14 -15    src/usr.bin/vmstat/vmstat.c
  1.42      +14 -8     src/usr.sbin/iostat/iostat.c


More information about the cvs-src mailing list