From: Hannes Duerr <h.duerr@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: Re: [pbs-devel] [PATCH proxmox-backup v2] report: better hardware and system utilization overview.
Date: Tue, 11 Nov 2025 17:09:45 +0100 [thread overview]
Message-ID: <8e008e5a-9ec4-43ea-b719-e44520ccd0c8@proxmox.com> (raw)
In-Reply-To: <20251024121830.172352-1-h.duerr@proxmox.com>
ping.
Would be nice if this gets included in the upcoming release.
On 10/24/25 2:19 PM, Hannes Duerr wrote:
> instead of `ls -l /dev/disk/by-id /dev/disk/by-path` the command
> `bash -c ls -l /dev/disk/by-*` is beeing used which displays the discs not only
> by-id and by-path, but also by-diskseq, by-label, by-uuid, and
> by-partuuid, which can be very helpful when assigning iSCSI and
> multipath devices.
> The execution in bash allows the use of asterisks.
>
> `dmidecode -t bios` outputs the current BIOS version and which allows to
> determine whether certain fixes have already been implemented in the
> version or not.
>
> `lscpu` provides a good overview of the CPU being used, its flags, and
> existing/non-existing mitigations.
>
> `lspci -nnk` displays all PCI devices and the drivers used, which is often
> helpful when troubleshooting.
>
> `ip -details -statistics a` provides a detailed overview of the
> available interfaces and statistics since the last boot. This
> information is often helpful in addressing performance issues and
> assessments.
>
> Suggested-by: Sviatoslav Brylenko <s.brylenko@proxmox.com>
> Signed-off-by: Hannes Duerr <h.duerr@proxmox.com>
> ---
>
> Notes:
> changes since V1:
> * add bash -c to enable the usage of the asterics
>
> src/server/report.rs | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/server/report.rs b/src/server/report.rs
> index ca5f04fc..546555fb 100644
> --- a/src/server/report.rs
> +++ b/src/server/report.rs
> @@ -82,10 +82,14 @@ fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
> "+HOTPLUG,ROTA,PHY-SEC,FSTYPE,MODEL,TRAN",
> ],
> ),
> - ("ls", vec!["-l", "/dev/disk/by-id", "/dev/disk/by-path"]),
> + ("bash", vec!["-c", "ls -l /dev/disk/by-*/"]),
> ("zpool", vec!["status"]),
> ("zfs", vec!["list"]),
> ("arcstat", vec![]),
> + ("dmidecode", vec!["-t", "bios"]),
> + ("lscpu", vec![]),
> + ("lspci", vec!["-nnk"]),
> + ("ip", vec!["-details", "-statistics", "a"]),
> ]
> }
>
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
next prev parent reply other threads:[~2025-11-11 16:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-24 12:18 Hannes Duerr
2025-10-29 8:30 ` Christian Ebner
2025-11-06 18:23 ` Thomas Lamprecht
2025-11-11 16:09 ` Hannes Duerr [this message]
2025-11-11 16:13 ` Christian Ebner
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=8e008e5a-9ec4-43ea-b719-e44520ccd0c8@proxmox.com \
--to=h.duerr@proxmox.com \
--cc=pbs-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