aboutsummaryrefslogtreecommitdiff
path: root/doc/usage/pstore.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/usage/pstore.rst')
-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 8427d8fd97a..8c4e5274aa1 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"