summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-12 09:00:12 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-15 09:35:29 +0100
commit9ebb71f70d8367b7f5030d507a43acb34252a984 (patch)
tree67241d07421929e7df43aafcccf7724f26c12b5d /doc
parentd2472dedbd1682dfb618204ae289deee253506ad (diff)
doc: use code-block in pstore.rst
Use syntax highlighting for a Linux console session. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/usage/pstore.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/usage/pstore.rst b/doc/usage/pstore.rst
index 8427d8fd97..8c4e5274aa 100644
--- a/doc/usage/pstore.rst
+++ b/doc/usage/pstore.rst
@@ -57,7 +57,9 @@ Generate kernel crash
~~~~~~~~~~~~~~~~~~~~~
For test purpose, you can generate a kernel crash by setting reboot timeout to
-10 seconds and trigger a panic::
+10 seconds and trigger a panic
+
+.. code-block:: console
$ sudo sh -c "echo 1 > /proc/sys/kernel/sysrq"
$ sudo sh -c "echo 10 > /proc/sys/kernel/panic"