gpustat
gpustat copied to clipboard
Fix the afterimage texts that appear when the number of processes changes
When a new process is created or an old process is gone, command python3 -m gpustat -i 5 --show-all --show-full-cmd
does not remove the old texts on the terminal.
Great. Is it possible to add a test case for this bug fix?
Is it possible to add a test case for this bug fix?
This issue only occurs in watch mode (with --watch
/ -i
/ --interval
option). And test cases in test_gpustat.py
are testing for normal mode (without stdout
redirection to blessed.Terminal()
).
Thanks, I will have a look soon.
Works well perfectly as expected and explained, thank you very much @XuehaiPan.