summaryrefslogtreecommitdiff
path: root/man/1
diff options
context:
space:
mode:
Diffstat (limited to 'man/1')
-rw-r--r--man/1/tiny55
1 files changed, 52 insertions, 3 deletions
diff --git a/man/1/tiny b/man/1/tiny
index 29072dfd..1afa1131 100644
--- a/man/1/tiny
+++ b/man/1/tiny
@@ -1,6 +1,6 @@
.TH TINY 1
.SH NAME
-tiny: sh, rm \- reduced command line interface to the Inferno system
+tiny: sh, broke, kill, rm \- reduced command line interface to the Inferno system
.SH SYNOPSIS
.B tiny/sh
[
@@ -11,6 +11,19 @@ tiny: sh, rm \- reduced command line interface to the Inferno system
.I file
]
.PP
+.B tiny/broke
+.PP
+.B tiny/kill
+[
+.B -g
+]
+[
+.I pid ...
+]
+[
+.I module ...
+]
+.PP
.B tiny/rm
[
.I file
@@ -24,8 +37,9 @@ They are provided for use on devices where a certain level of functionality
might be useful for configuration or maintenance (or development), but
device constraints are such as to make the use of the normal, fleshier versions
of the commands unattractive.
-For example, the Dis object files are typically 5 times smaller (or better) than the
+For example, the Dis object files can be as much as 5 times smaller (or better) than the
mainstream alternatives.
+They are also useful when initially porting the system.
They live in the directory
.BR /dis/tiny ,
but could be placed in the
@@ -34,6 +48,37 @@ of a small device
(eg, via
.IR root (3))ยท
.PP
+.I Broke
+kills broken processes and prints their process IDs.
+.PP
+.I Kill
+terminates each process (for a numeric
+process ID
+.IR pid )
+or
+process running a given
+.I module
+(for a non-numeric module name),
+by writing a
+.L kill
+message to the corresponding process's control file
+in
+.IR prog (3).
+The
+.B -g
+option causes
+.I kill
+to write a
+.L killgrp
+message instead, killing all processes in the given process's process group
+(see
+.IR sys-pctl (2)).
+Processes running a
+.I module
+are identified by their
+.L status
+file, and the process ID of each such process is printed on standard output.
+.PP
.I Rm
removes files and empty directories, subject to the permission rules given in
.IR rm (1).
@@ -196,9 +241,13 @@ and
.SH FILES
.BI /prog/ n /wait
.SH SOURCE
-.B /appl/tiny/sh.b
+.B /appl/tiny/broke.b
+.br
+.B /appl/tiny/kill.b
.br
.B /appl/tiny/rm.b
+.br
+.B /appl/tiny/sh.b
.SH "SEE ALSO"
.IR bind (1),
.IR sh (1),