stress
stress copied to clipboard
Please, add timing for workers to debug info
This bug was taken from Debian[1].
[1] https://bugs.debian.org/310208
The original text says:
Date: Sun, 22 May 2005 15:37:33 +0200 From: Filippo Giunchedi [email protected] To: [email protected] Subject: add timing for workers to debug info
Package: stress Severity: wishlist
Hi, It would be fine to have also a "time elapsed" for every worker information while invoking stress -v or with a separate option
thanks, filippo
Can you provide an example for the expected output?
Currently we have
$ stress -v --cpu 2 --timeout 5s
stress: info: [24710] dispatching hogs: 2 cpu, 0 io, 0 vm, 0 hdd
stress: dbug: [24710] using backoff sleep of 6000us
stress: dbug: [24710] setting timeout to 5s
stress: dbug: [24710] --> hogcpu worker 2 [24711] forked
stress: dbug: [24710] using backoff sleep of 3000us
stress: dbug: [24710] setting timeout to 5s
stress: dbug: [24710] --> hogcpu worker 1 [24712] forked
stress: dbug: [24710] <-- worker 24712 signalled normally
stress: dbug: [24710] <-- worker 24711 signalled normally
stress: info: [24710] successful run completed in 5s
This bug was taken from Debian and I have no more information. But, IMO, the main idea is print in screen the "time elapsed" second by second. timeout is not a time elapsed, but a time limit to kill the process.