about summary refs log tree commit diff
path: root/fail.1
diff options
context:
space:
mode:
Diffstat (limited to 'fail.1')
-rw-r--r--fail.19
1 files changed, 8 insertions, 1 deletions
diff --git a/fail.1 b/fail.1
index c5af510..d63ea57 100644
--- a/fail.1
+++ b/fail.1
@@ -6,7 +6,7 @@
 .Nd crash in various possible ways
 .Sh SYNOPSIS
 .Nm
-.Op Fl 123Oacdikrst
+.Op Fl 123DOacdikrst
 .Sh DESCRIPTION
 .Nm
 crashes in various possible ways to
@@ -27,6 +27,13 @@ Return with exit status -1.
 Return with exit status 2.
 .It Fl 3
 Return with exit status 111.
+.It Fl D
+Create a process that is in uninterruptible sleep (state D) and
+print its pid.
+(This uses
+.Xr vfork 2
+and
+.Xr pause 2 . )
 .It Fl O
 Allocate memory in an infinite loop,
 to trigger an out of memory situation.