[pve-devel] [PATCH manager 1/9] report: add kernel command line including boot time
Alexander Zeidler
a.zeidler at proxmox.com
Fri Mar 22 14:59:25 CET 2024
While using `/proc/cmdline` would already provide an initial info for
debugging passthrough and similar, the use of `dmesg` is an easy way
to get the boot date as an absolute value for free (additional to the
relative value in `uptime` from `top`).
Signed-off-by: Alexander Zeidler <a.zeidler at proxmox.com>
---
PVE/Report.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/Report.pm b/PVE/Report.pm
index 53ffdcbb..d4191769 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -31,6 +31,7 @@ my $init_report_cmds = sub {
cmds => [
'hostname',
'date -R',
+ 'dmesg -T | head | grep Command',
'pveversion --verbose',
'cat /etc/hosts',
'pvesubscription get',
--
2.39.2
More information about the pve-devel
mailing list