summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-shortcuts.pug
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-05-19 17:29:55 +0300
committerMaxim Devaev <[email protected]>2022-05-19 17:29:55 +0300
commitc236cc30167e51404308c18a71466c321b587435 (patch)
tree69323da20f1c5c482062894027476e2317e06d9b /web/kvm/navbar-shortcuts.pug
parent53d0855cf84164e05c91b7c53eb7a98852a2b48d (diff)
pikvm/pikvm#732: added some other linux magic keys
Diffstat (limited to 'web/kvm/navbar-shortcuts.pug')
-rw-r--r--web/kvm/navbar-shortcuts.pug15
1 files changed, 13 insertions, 2 deletions
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
index a9b0f6d9..0b56d611 100644
--- a/web/kvm/navbar-shortcuts.pug
+++ b/web/kvm/navbar-shortcuts.pug
@@ -35,13 +35,24 @@ li(class="right")
div(class="buttons")
div(class="buttons-row")
-
- let sysrq = {
+ let sysrq = {
+ "F": "Call the OOM killer to kill a memory hog process",
+ "M": "Dump current memory info to the console",
+ "D": "Show all locks that are held",
+ "T": "Dump a list of current tasks and their information to the console",
+ }
+ each title, key in sysrq
+ button(data-shortcut=`AltLeft PrintScreen Key${key}` class="row25" title=`${title}`) #{key}
+ hr
+ div(class="buttons-row")
+ -
+ sysrq = {
"R": "Turn off keyboard raw mode, set it to XLATE",
"E": "Send a SIGTERM to all processes, except for init",
"I": "Send a SIGKILL to all processes, except for init",
"S": "Attempt to sync all mounted filesystems",
"U": "Attempt to remount all mounted filesystems read-only",
- "B": "Immediately reboot the system without syncing or unmounting your disks",
+ "B": "Immediately reboot the system without syncing or unmounting disks",
}
each title, key in sysrq
button(data-shortcut=`AltLeft PrintScreen Key${key}` class="row16" title=`${title}`) #{key}