Index | Thread | Search

From:
Job Snijders <job@openbsd.org>
Subject:
Re: watch(1): add knob to display command's resource utilization
To:
tech@openbsd.org
Date:
Tue, 24 Jun 2025 13:16:45 +0000

Download raw body.

Thread
On Tue, Jun 24, 2025 at 02:11:05PM +0100, Stuart Henderson wrote:
> does this really make sense for watch(1), why not just run time?

I believe so, yes.

> iwatch '\time -l md5 -t 2>&1'

But the below seems more ergonomic?

	$ watch md5 -t

Now, an operator might decide later on that they have an interest in
resource utilization information, at that point displaying the rusage
basically comes for free: no need to restart watch(1).

Kind regards,

Job