HEADS UP: procstat(1) MFC to RELENG_7 in progress

Robert Watson rwatson at FreeBSD.org
Thu Apr 10 21:49:57 UTC 2008


FYI: I've begun the MFC of procstat(1) from HEAD to RELENG_7.  This requires 
merging a number of kernel changes, and then the command line tool, so it will 
occur over the next day or so.  I'll send out a further e-mail when the merge 
is done.

Robert N M Watson
Computer Laboratory
University of Cambridge

---------- Forwarded message ----------
Date: Sun, 2 Dec 2007 23:38:45 +0000 (GMT)
From: Robert Watson <rwatson at FreeBSD.org>
To: current at FreeBSD.org
Cc: hackers at FreeBSD.org
Subject: procstat(1) committed to CVS HEAD


Dear all, (and FYI to hackers@ where I previousl sought feedback):

I've now committed procstat(1) to CVS.  I've found it to be quite a helpful 
debugging tool, am particularly pleased with -k/-kk, and would welcome feedback 
and ideas on further improving it.

Robert N M Watson
Computer Laboratory
University of Cambridge

---------- Forwarded message ----------
Date: Sun, 2 Dec 2007 23:31:46 +0000 (UTC)
From: Robert Watson <rwatson at FreeBSD.org>
To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at FreeBSD.org
Subject: cvs commit: src/usr.bin/procstat Makefile procstat.1 procstat.c
      procstat.h procstat_args.c procstat_basic.c procstat_bin.c
     procstat_cred.c procstat_files.c procstat_kstack.c
     procstat_threads.c procstat_vm.c

rwatson     2007-12-02 23:31:46 UTC

   FreeBSD src repository

   Added files:
     usr.bin/procstat     Makefile procstat.1 procstat.c procstat.h
                          procstat_args.c procstat_basic.c
                          procstat_bin.c procstat_cred.c
                          procstat_files.c procstat_kstack.c
                          procstat_threads.c procstat_vm.c
   Log:
   Add procstat(1), a process inspection utility.  This provides both some
   of the missing functionality from procfs(4) and new functionality for
   monitoring and debugging specific processes.  procstat(1) operates in
   the following modes:

     -b  Display binary information for the process.
     -c  Display command line arguments for the process.
     -f  Display file descriptor information for the process.
     -k  Display the stacks of kernel threads in the process.
     -s  Display security credential information for the process.
     -t  Display thread information for the process.
     -v  Display virtual memory mappings for the process.

   Further revision and modes are expected.

   Testing, ideas, etc:    cognet, sam, Skip Ford <skip at menantico dot com>
                           Wesley Shields <wxs at atarininja dot org>

   Revision  Changes    Path
   1.1       +15 -0     src/usr.bin/procstat/Makefile (new)
   1.1       +114 -0    src/usr.bin/procstat/procstat.1 (new)
   1.1       +252 -0    src/usr.bin/procstat/procstat.c (new)
   1.1       +46 -0     src/usr.bin/procstat/procstat.h (new)
   1.1       +74 -0     src/usr.bin/procstat/procstat_args.c (new)
   1.1       +64 -0     src/usr.bin/procstat/procstat_basic.c (new)
   1.1       +68 -0     src/usr.bin/procstat/procstat_bin.c (new)
   1.1       +57 -0     src/usr.bin/procstat/procstat_cred.c (new)
   1.1       +303 -0    src/usr.bin/procstat/procstat_files.c (new)
   1.1       +198 -0    src/usr.bin/procstat/procstat_kstack.c (new)
   1.1       +138 -0    src/usr.bin/procstat/procstat_threads.c (new)
   1.1       +130 -0    src/usr.bin/procstat/procstat_vm.c (new)


More information about the freebsd-stable mailing list