DragonFly BSD
DragonFly commits List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libdevstat devstat.3 devstat.c devstat.h src/lib/libkcore Makefile kcore.c kcore.h kcore_file.c kcore_private.h kcore_sched.c kcore_tty.c kcore_vfs.c src/lib/libkinfo Makefile kinfo.h kinfo_sched.c kinfo_tty.c ...


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Dec 2004 03:01:49 -0800 (PST)

joerg       2004/12/22 03:01:49 PST

DragonFly src repository

  Modified files:
    lib/libdevstat       devstat.3 devstat.c devstat.h 
    lib/libkcore         Makefile kcore.c kcore.h kcore_file.c 
                         kcore_private.h kcore_vfs.c 
    lib/libkinfo         Makefile kinfo.h 
    libexec/rpc.rstatd   Makefile rstat_proc.c 
    sys/bus/pci/i386     pci_cfgreg.c 
    sys/dev/raid/vinum   vinumhdr.h 
    sys/emulation/linux/i386/linprocfs linprocfs_misc.c 
    sys/i386/i386        symbols.raw 
    sys/kern             kern_clock.c tty.c 
    sys/sys              dkstat.h kinfo.h time.h 
    usr.bin/systat       Makefile devs.c iostat.c pigs.c vmstat.c 
    usr.bin/time         Makefile time.c 
    usr.bin/top          machine.c 
    usr.bin/vmstat       Makefile vmstat.c 
    usr.sbin/iostat      Makefile iostat.8 iostat.c 
  Added files:
    lib/libkcore         kcore_sched.c kcore_tty.c 
    lib/libkinfo         kinfo_sched.c kinfo_tty.c 
  Log:
  Add new structures for exporting the cputime statistics via 64 bit counters
  and redo the timer frequence export.
  Provide the interface glue for libkinfo and libkcore.
  Additionally provide interfaces to query ccpu, the number of cpus, tk_nin
  and tk_nout.
  Remove those fields from devstat.h's struct statinfo.
  Remove kvm dependency of rpc.rstatd by using the newly added libkinfo
  functions and the sysctl interface for vmmeter.
  Use the new interface in systat, the iostat part is now kvm-free.
  Use kinfo_get_sched_stathz in time.
  Use the kinfo interface for everything beside getting the actual process list
  in top. This also removes the Last PID, which could be added back easily.
  Since the feature is not that useful and breaks e.g. the jail isolation,
  I haven't added a sysctl to read nextpid.
  Use the kinfo interface in vmstat.
  Use the kinfo interface in iostat. iostat is now kvm-free and not
  setgid kmem anymore. This also means that iostat can't be applied to
  coredump anymore. If this functionality is important, the kcore kinfo wrapper
  can be added easily.
  
  Revision  Changes    Path
  1.3       +2 -5      src/lib/libdevstat/devstat.3
  1.4       +0 -1      src/lib/libdevstat/devstat.c
  1.3       +1 -4      src/lib/libdevstat/devstat.h
  1.2       +2 -1      src/lib/libkcore/Makefile
  1.4       +23 -0     src/lib/libkcore/kcore.c
  1.2       +25 -0     src/lib/libkcore/kcore.h
  1.2       +2 -28     src/lib/libkcore/kcore_file.c
  1.2       +5 -0      src/lib/libkcore/kcore_private.h
  1.2       +1 -14     src/lib/libkcore/kcore_vfs.c
  1.3       +1 -1      src/lib/libkinfo/Makefile
  1.4       +8 -0      src/lib/libkinfo/kinfo.h
  1.3       +3 -3      src/libexec/rpc.rstatd/Makefile
  1.4       +17 -50    src/libexec/rpc.rstatd/rstat_proc.c
  1.8       +29 -1     src/sys/bus/pci/i386/pci_cfgreg.c
  1.8       +1 -1      src/sys/dev/raid/vinum/vinumhdr.h
  1.9       +5 -5      src/sys/emulation/linux/i386/linprocfs/linprocfs_misc.c
  1.3       +3 -3      src/sys/i386/i386/symbols.raw
  1.29      +14 -18    src/sys/kern/kern_clock.c
  1.15      +10 -5     src/sys/kern/tty.c
  1.3       +19 -14    src/sys/sys/dkstat.h
  1.2       +16 -0     src/sys/sys/kinfo.h
  1.11      +2 -0      src/sys/sys/time.h
  1.3       +2 -2      src/usr.bin/systat/Makefile
  1.6       +0 -1      src/usr.bin/systat/devs.c
  1.4       +25 -48    src/usr.bin/systat/iostat.c
  1.9       +22 -18    src/usr.bin/systat/pigs.c
  1.8       +58 -47    src/usr.bin/systat/vmstat.c
  1.3       +3 -1      src/usr.bin/time/Makefile
  1.9       +6 -23     src/usr.bin/time/time.c
  1.14      +53 -138   src/usr.bin/top/machine.c
  1.3       +3 -3      src/usr.bin/vmstat/Makefile
  1.14      +38 -47    src/usr.bin/vmstat/vmstat.c
  1.4       +2 -4      src/usr.sbin/iostat/Makefile
  1.3       +1 -22     src/usr.sbin/iostat/iostat.8
  1.5       +44 -83    src/usr.sbin/iostat/iostat.c


http://www.dragonflybsd.org/cvsweb/src/lib/libdevstat/devstat.3.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libdevstat/devstat.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libdevstat/devstat.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/kcore.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/kcore.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/kcore_file.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/kcore_private.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/kcore_vfs.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/libexec/rpc.rstatd/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/libexec/rpc.rstatd/rstat_proc.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/pci/i386/pci_cfgreg.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/vinum/vinumhdr.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_misc.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/symbols.raw.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/dkstat.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kinfo.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/time.h.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/devs.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/iostat.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/pigs.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/vmstat.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/time/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/time/time.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/top/machine.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/vmstat/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/vmstat/vmstat.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/iostat/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/iostat/iostat.8.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/iostat/iostat.c.diff?r1=1.4&r2=1.5&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]