git: dmesg - Add -f option for continuous monitoring

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 9 10:19:17 PDT 2013


commit d08d23b244f63293251b82ca56cbd051ff44b276
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 9 10:15:56 2013 -0700

    dmesg - Add -f option for continuous monitoring
    
    * Add the -f option to dmesg.  After the initial message buffer dump
      dmesg monitors the kernel for additional data and displays it as it
      arrives.  dmesg will not terminate until killed in this mode.
    
    * The sysctl() is deficient so libkvm is forced when this option is
      specified.

Summary of changes:
 sbin/dmesg/dmesg.8 |   7 +++
 sbin/dmesg/dmesg.c | 130 ++++++++++++++++++++++++++++++++++++++---------------
 2 files changed, 101 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d08d23b244f63293251b82ca56cbd051ff44b276


-- 
DragonFly BSD source repository


More information about the Commits mailing list