Re: [PATCH linux next] delaytop: add psi info to show system delay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> support showing whole delay of system by reading PSI,
> just like the first few lines of information output
> by the top command. the output of delaytop includes
…

You may occasionally put more than 53 characters into text lines
of such a change description.


…
> +++ b/tools/accounting/delaytop.c
…
> @@ -549,7 +659,29 @@ static void display_results(void)
>  	FILE *out = stdout;
> 
>  	fprintf(out, "\033[H\033[J");
> -
> +	/* PSI output (one-line, no cat style) */
> +	fprintf(out, "System Pressure Information: ");
> +	fprintf(out, "(avg10/avg60/avg300/total)\n");
> +	fprintf(out, "CPU:");
…

Under which circumstances would you care more also for file output failures?
https://cwe.mitre.org/data/definitions/252.html

Regards,
Markus





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux