dtpstree.1 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
  2. .TH DTPSTREE "1" "August 2011" "dtpstree 1.1.0" "User Commands"
  3. .SH NAME
  4. dtpstree \- display a tree of processes
  5. .SH SYNOPSIS
  6. .B dtpstree
  7. [\fIoptions\fR] [\fIPID|USER\fR]
  8. .SH DESCRIPTION
  9. .B dtpstree
  10. shows running processes as a tree. It is a reimplementation of \fBpstree\fR
  11. from \fIPSmisc\fR for FreeBSD, NetBSD, OpenBSD, DragonFly BSD, and possibly
  12. other modern BSD variants. It also works without \fI/proc\fR and will show the
  13. full set of processes in a jail even if \fBinit\fR is not present.
  14. .SH OPTIONS
  15. .TP
  16. \fB\-a\fR, \fB\-\-arguments\fR
  17. show command line arguments
  18. .TP
  19. \fB\-A\fR, \fB\-\-ascii\fR
  20. use ASCII line drawing characters
  21. .TP
  22. \fB\-c\fR, \fB\-\-no\-compact\fR
  23. don't compact identical subtrees
  24. .TP
  25. \fB\-g\fIPATTERN\fR, \fB\-\-glob\fR=\fIPATTERN\fR
  26. show only trees rooted at processes with names
  27. that match the shell pattern PATTERN
  28. .TP
  29. \fB\-G\fR, \fB\-\-vt100\fR
  30. use VT100 line drawing characters
  31. .TP
  32. \fB\-h\fR, \fB\-\-help\fR
  33. show this help message and exit
  34. .TP
  35. \fB\-H\fR[\fIPID\fR], \fB\-\-highlight\fR[=\fIPID\fR]
  36. highlight the current process (or PID) and its
  37. ancestors
  38. .TP
  39. \fB\-k\fR, \fB\-\-show\-kernel\fR
  40. show kernel processes
  41. .TP
  42. \fB\-l\fR, \fB\-\-long\fR
  43. don't truncate long lines
  44. .TP
  45. \fB\-n\fR, \fB\-\-numeric\-sort\fR
  46. sort output by PID
  47. .TP
  48. \fB\-p\fR, \fB\-\-show\-pids\fR
  49. show PIDs; implies \fB\-c\fR
  50. .TP
  51. \fB\-r\fIPATTERN\fR, \fB\-\-regex\fR=\fIPATTERN\fR
  52. show only trees rooted at processes with names
  53. that match the regular expression PATTERN
  54. .TP
  55. \fB\-s\fR, \fB\-\-show\-parents\fR
  56. show parents of the selected process
  57. .TP
  58. \fB\-t\fR, \fB\-\-show\-titles\fR
  59. show process titles
  60. .TP
  61. \fB\-u\fR, \fB\-\-uid\-changes\fR
  62. show uid transitions
  63. .TP
  64. \fB\-U\fR, \fB\-\-unicode\fR
  65. use Unicode line drawing characters
  66. .TP
  67. \fB\-V\fR, \fB\-\-version\fR
  68. show version information and exit
  69. .TP
  70. \fIPID\fR, \fB\-\-pid\fR=\fIPID\fR
  71. show only the tree rooted at the process PID
  72. .TP
  73. \fIUSER\fR, \fB\-\-user\fR=\fIUSER\fR
  74. show only trees rooted at processes of USER
  75. .SH AUTHOR
  76. Written by \fBDouglas Thrift\fR <\fIdouglas@douglasthrift.net\fR>.
  77. .SH "REPORTING BUGS"
  78. Report bugs at <\fIhttp://code.douglasthrift.net/trac/dtpstree\fR>.
  79. .SH COPYRIGHT
  80. .PP
  81. Copyright 2010 Douglas Thrift
  82. .PP
  83. Licensed under the Apache License, Version 2.0 (the "License");
  84. you may not use this file except in compliance with the License.
  85. You may obtain a copy of the License at
  86. .PP
  87. \fIhttp://www.apache.org/licenses/LICENSE\-2.0\fR
  88. .PP
  89. Unless required by applicable law or agreed to in writing, software
  90. distributed under the License is distributed on an \fB"AS IS" BASIS,
  91. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND\fR, either express or implied.
  92. See the License for the specific language governing permissions and
  93. limitations under the License.
  94. .SH "SEE ALSO"
  95. .PP
  96. \fBps\fR(1), \fBkvm\fR(3), \fBkvm_getargv\fR(3) or \fBkvm_getargv2\fR(3),
  97. \fBkvm_getprocs\fR(3) or \fBkvm_getproc2\fR(3).