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

Robert Watson rwatson at FreeBSD.org
Sun Dec 2 15:31:46 PST 2007


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 cvs-src mailing list