commit | f9ce7c068c7badb874589b942ab1bf50da20e175 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Jun 16 14:42:05 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:08 2015 -0800 |
tree | 4a33b85db5ee9329636604df57aac0538bd8f03d | |
parent | f8d8d80ba857d10b5163f7fdbf5141ec8d035058 [diff] |
Add string condensing for the ETA output If you run a lot of jobs, the ETA output string will become way too long. Add some condensing so that instead of displaying: Jobs: 80 (f=80): [rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr] [10.2% done] [2110MB/0KB/0KB /s] [540K/0/0 iops] [eta 53m:55s] we just display Jobs: 80 (f=80): [r(80)] [10.2% done] [2110MB/0KB/0KB /s] [540K/0/0 iops] [eta 53m:55s] instead. Signed-off-by: Jens Axboe <axboe@fb.com>