From a1e91fec2ac77c82a460ae1ae189ffca40ed00b1 Mon Sep 17 00:00:00 2001 From: Shalaka Harne Date: Thu, 11 Sep 2025 11:36:49 +0530 Subject: [PATCH] New Smartdocs for journalctl --- DC-SLES-journalctl | 19 ++++ articles/journalctl.asm.xml | 171 ++++++++++++++++++++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 DC-SLES-journalctl create mode 100644 articles/journalctl.asm.xml diff --git a/DC-SLES-journalctl b/DC-SLES-journalctl new file mode 100644 index 000000000..4dc536b8e --- /dev/null +++ b/DC-SLES-journalctl @@ -0,0 +1,19 @@ +# This file originates from the project https://github.com/openSUSE/doc-kit +# This file can be edited downstream. + +## Basics +MAIN="cockpit.asm.xml" +SRC_DIR="articles" +IMG_SRC_DIR="images" + +## Profiling +PROFOS="sles" +PROFCONDITION="16.0" +STRUCTID="sles-cockpit" +#PROFARCH="x86_64;zseries;power;aarch64" + +DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat" + +## stylesheet location +STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns" +FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2021-ns" \ No newline at end of file diff --git a/articles/journalctl.asm.xml b/articles/journalctl.asm.xml new file mode 100644 index 000000000..df1a84fd3 --- /dev/null +++ b/articles/journalctl.asm.xml @@ -0,0 +1,171 @@ + + + + %entities; +]> + + + + + + + + + + + + + + + + + + + Legal Notice + + + GNU Free Documentation License + + + + + Viewing logs using &journalctl; + + + 2025-09-11 + + + Initial version + + + + + + + + + &x86-64; + &power; + &zseries; + &aarch64; + + + + &sles; + &sles4sap; + &sleha; + + + View logs using &journalctl; + + How to view and manage &productnameshort; logs using &journalctl; + + View &productnameshort; logs using &journalctl; + + + Configuration + Storage + Maintenance + Administration + + + Systems Management + + + Products & Solutions + + + + https://bugzilla.suse.com/enter_bug.cgi + Documentation + SUSE Linux Enterprise Server 16.0 + SUSE Linux Enterprise Server 16.0 + SUSE Linux Enterprise Server 16.0 + shalaka.harne@suse.com + + yes + + + + + WHAT? + + + You can view and analyze logs from &systemd-journald; using the &journalctl; command-line tool. + + + + + WHY? + + + This article is intended to provide a complete overview of + tasks that can be performed using the &journalctl; command-line tool. + + + + + EFFORT + + + The average reading time of this article is approximately 30 minutes. + + + + + GOAL + + + You will be able to view your system logs using &journalctl;. + + + + + REQUIREMENTS + + + To fully view the system-wide logs such as kernel, system services, or other user logs using &journaltl; command-line tool, you must have + &sudo; privileges. + + The &systemd-journald; service must be running as it collects the logs. + For persistent logs across reboots, var/log/journal file must be available. Volatile logs are saved in /run/log/journal + + + + + + + + + + Using the &cockpit; Overview part, you can + perform changes to the default server configuration or the + configuration you provided during the manual installation. In this + part, you can change the host name or change the system date or time + zone. + + + + + + + + + + + + + + + + + + +