From: Lukas Wagner <l.wagner@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-api] report: add `date -R` to general system info section
Date: Thu, 23 Feb 2023 16:37:52 +0100 [thread overview]
Message-ID: <20230223153752.575336-1-l.wagner@proxmox.com> (raw)
Sometimes it can be quite useful to know when exactly a system report
was generated. Adds the following output quite prominently in the
beginning:
# date -R
Thu, 23 Feb 2023 16:21:12 +0100
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
src/PMG/Report.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PMG/Report.pm b/src/PMG/Report.pm
index 5e06b68..aeda802 100644
--- a/src/PMG/Report.pm
+++ b/src/PMG/Report.pm
@@ -15,6 +15,7 @@ my $report_def = {
title => 'general system info',
cmds => [
'hostname',
+ 'date -R',
'pmgversion --verbose',
'cat /etc/hosts',
'cat /etc/resolv.conf',
--
2.30.2
next reply other threads:[~2023-02-23 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 15:37 Lukas Wagner [this message]
2023-03-27 10:34 ` [pmg-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230223153752.575336-1-l.wagner@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox