]> git.proxmox.com Git - pve-manager.git/commitdiff
report: top: also print command line arguments
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 May 2021 13:57:58 +0000 (15:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 May 2021 14:27:30 +0000 (16:27 +0200)
at least the first 512 characters, which is the biggest width one can
instruct `top` too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Report.pm

index c4dae9992eb98d747e7146f01d19d95210a130f6..6e70aaa71cb1c8749d277d8e96d2c27d62431f44 100644 (file)
@@ -43,7 +43,7 @@ my $init_report_cmds = sub {
            title => 'overall system load info',
            order => 20,
            cmds => [
-               'top -b -n 1 -o TIME | head -n 30',
+               'top -b -c -w512 -n 1 -o TIME | head -n 30',
                'head /proc/pressure/*',
            ],
        },