[pve-devel] [PATCH manager] pvereport: add `date -R` to general system info section

Lukas Wagner l.wagner at proxmox.com
Mon Mar 27 15:16:18 CEST 2023


On 2/23/23 16:25, Lukas Wagner wrote:
> Sometimes it can be quite useful to know when exactly a system report
> was generated. Adds the following output quite prominently in the
> general system info section:
> 
>   # date -R
>   Thu, 23 Feb 2023 16:21:12 +0100
> 
> Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
> ---
>   PVE/Report.pm | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/PVE/Report.pm b/PVE/Report.pm
> index d363c15b..c9109dca 100644
> --- a/PVE/Report.pm
> +++ b/PVE/Report.pm
> @@ -29,6 +29,7 @@ my $init_report_cmds = sub {
>   	    order => 10,
>   	    cmds => [
>   		'hostname',
> +		'date -R',
>   		'pveversion --verbose',
>   		'cat /etc/hosts',
>   		'pvesubscription get',

Ping. The same change was already merged into PBS and PMG, so it would be good to have it
in PVE system reports as well.

-- 
- Lukas





More information about the pve-devel mailing list