You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit doc/mgr/crash.rst. Add prompts and correct some of the inelegant
English present in the file.
This commit is part of a project to separate out the twenty-five files
that were committed to ceph#62782.
Credit for this initiative should go to Ville Ojamo.
Signed-off-by: Zac Dover <[email protected]>
@@ -39,57 +43,61 @@ and a keyring needs to be in ``/etc/ceph``.
39
43
40
44
Commands
41
45
--------
42
-
::
43
46
44
-
ceph crash post -i <metafile>
47
+
.. prompt:: bash #
48
+
49
+
ceph crash post -i <metafile>
45
50
46
51
Save a crash dump. The metadata file is a JSON blob stored in the crash
47
52
dir as ``meta``. As usual, the ceph command can be invoked with ``-i -``,
48
53
and will read from stdin.
49
54
50
-
::
55
+
.. prompt:: bash #
51
56
52
-
ceph crash rm <crashid>
57
+
ceph crash rm <crashid>
53
58
54
59
Remove a specific crash dump.
55
60
56
-
::
61
+
.. prompt:: bash #
57
62
58
-
ceph crash ls
63
+
ceph crash ls
59
64
60
65
List the timestamp/uuid crashids for all new and archived crash info.
61
66
62
-
::
63
67
64
-
ceph crash ls-new
68
+
.. prompt:: bash #
69
+
70
+
ceph crash ls-new
65
71
66
72
List the timestamp/uuid crashids for all newcrash info.
67
73
68
-
::
69
74
70
-
ceph crash stat
75
+
.. prompt:: bash #
76
+
77
+
ceph crash stat
71
78
72
79
Show a summary of saved crash info grouped by age.
73
80
74
-
::
81
+
.. prompt:: bash #
75
82
76
-
ceph crash info <crashid>
83
+
ceph crash info <crashid>
77
84
78
85
Show all details of a saved crash.
79
86
80
-
::
87
+
88
+
.. prompt:: bash #
81
89
82
90
ceph crash prune <keep>
83
91
84
92
Remove saved crashes older than 'keep' days. <keep> must be an integer.
85
93
86
-
::
94
+
.. prompt:: bash #
87
95
88
96
ceph crash archive <crashid>
89
97
90
98
Archive a crash report so that it is no longer considered for the ``RECENT_CRASH`` health check and does not appear in the ``crash ls-new`` output (it will still appear in the ``crash ls`` output).
0 commit comments