44 lines
908 B
JSON
44 lines
908 B
JSON
{
|
|
"name": "kill",
|
|
"section": 1,
|
|
"title": "send signals to synthetic Bare OS processes",
|
|
"synopsis": [
|
|
"kill [-s SIGNAL | -SIGNAL] <pid|name>...",
|
|
"kill -l"
|
|
],
|
|
"description": "Send POSIX-like signals to Bare OS synthetic process targets. Supported targets are pids 1..3 and names kernel, booter, shell.",
|
|
"options": [
|
|
{
|
|
"flag": "-s, --signal SIGNAL",
|
|
"meaning": "Signal name (HUP, INT, KILL, TERM, or 0)."
|
|
},
|
|
{
|
|
"flag": "-l, --list",
|
|
"meaning": "List supported signals."
|
|
}
|
|
],
|
|
"keywords": [
|
|
"kill",
|
|
"signal",
|
|
"process",
|
|
"bare-os",
|
|
"coreutils"
|
|
],
|
|
"examples": [
|
|
{
|
|
"caption": "gracefully end shell session",
|
|
"code": "kill -TERM 3"
|
|
},
|
|
{
|
|
"caption": "send SIGINT to shell by name",
|
|
"code": "kill -INT shell"
|
|
}
|
|
],
|
|
"seeAlso": [
|
|
{
|
|
"name": "ps",
|
|
"section": 1
|
|
}
|
|
]
|
|
}
|