Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please, add timing for workers to debug info #2

Open
eribertomota opened this issue Jan 17, 2023 · 2 comments
Open

Please, add timing for workers to debug info #2

eribertomota opened this issue Jan 17, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@eribertomota
Copy link
Contributor

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

@eribertomota eribertomota added enhancement New feature or request help wanted Extra attention is needed labels Jan 18, 2023
@giuscri
Copy link

giuscri commented Jan 30, 2023

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

@eribertomota
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants