[Crash-utility] [PATCH] timers: add option to show expired timers only

Oleksandr Natalenko oleksandr at redhat.com
Fri Jun 21 07:40:18 UTC 2019


Hi.

On Wed, Jun 19, 2019 at 03:39:18PM -0400, Dave Anderson wrote:
> This makes the output somewhat sparse, ugly, and hard to read, no?

In a way that there are might be empty CPUs? If so, yes, I agree.

> I'm wondering if it would be more readable if you just recognize the 
> expired entries, and maybe display something like "[EXPIRED]" at the
> end of the expired entry's line?  It wouldn't even require the "-e", 
> but just have it do it all the time.

Bringing this idea forward and combining with my next planned steps, I'd
suggest just adding another column, which would show the diff in time
between the clock and the timer expiration, preferably, in a
human-readable format (converted to seconds). Expired entries would go
with "-" sign.

What do you think?

-- 
  Best regards,
    Oleksandr Natalenko (post-factum)
    Senior Software Maintenance Engineer




More information about the Crash-utility mailing list