Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 4th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ps(1)

stop(1)

notify(2)

proc(3)

KILL(1)

NAME

kill, slay, broke − print commands to kill processes

SYNOPSIS

­kill ­name ... 

­slay ­name ... 

­broke [ ­user ]

DESCRIPTION

­Kill prints commands that will cause all processes called ­name and owned by the current user to be terminated.  Use the ­send command of rio(1), or pipe the output of ­kill into rc(1) to execute the commands.

­Kill suggests sending a ­kill note to the process; the same message delivered to the process’s ­ctl file (see proc(3)) is a surer, if heavy handed, kill, but is necessary if the offending process is ignoring notes. The ­slay command prints commands to do this. 

­Broke prints commands that will cause all processes in the ­Broken state and owned by ­user (by default, the current user) to go away.  When a process dies because of an error caught by the system, it may linger in the ­Broken state to allow examination with a debugger.  Executing the commands printed by ­broke lets the system reclaim the resources used by the broken processes. 

SOURCE

­/rc/bin/kill
­/rc/bin/broke

SEE ALSO

ps(1), stop(1), notify(2), proc(3)

Plan 9  —  April 09, 2002

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026