bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21760: timeout: Feature Request: --verbose ==> output if timeout was


From: Thomas Güttler
Subject: bug#21760: timeout: Feature Request: --verbose ==> output if timeout was reached
Date: Mon, 26 Oct 2015 11:30:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

About commandline tool "timeout": Start COMMAND, and kill it if still running 
after DURATION.

A new team mate wasted some time to debug why
a process was killed with signal 15.

I think it would be nice to have an --verbose option, and a some
text which explains why the signal was send.

This is important in environments where the one who reads
the script failures is not the same person who writes the script.

What do you think?

Example:

Old:

  address@hidden:~$ timeout 1s ping localhost
  PING localhost (127.0.0.1) 56(84) bytes of data.
  64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.078 ms

New:

  address@hidden:~$ timeout 1s ping localhost
  PING localhost (127.0.0.1) 56(84) bytes of data.
  64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.078 ms
  ** Process "ping localhost" was killed with signal 16 since the timeout of 1s 
was reached. **



--
Thomas Guettler http://www.thomas-guettler.de/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]