Project

General

Profile

Actions

Feature #2782

closed

ping: print short stats summary on SIGQUIT

Added by Davide Pesavento over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The original ICMP ping program, ping(8), prints a one-line summary of the current statistics upon receiving SIGQUIT. For example:

26/26 packets, 0% loss, min/avg/ewma/max = 2.626/3.513/3.448/4.249 ms

ndnping should replicate this feature.

The ping client MUST continue running after receiving SIGQUIT, as if nothing happened.
Only SIGINT terminates execution.

On Ubuntu terminal, CTRL+\ key combination sends SIGQUIT to the process.

Actions #1

Updated by Eric Newberry over 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Eric Newberry
Actions #2

Updated by Eric Newberry over 10 years ago

  • Status changed from In Progress to Code review
Actions #3

Updated by Davide Pesavento over 10 years ago

Probably it wasn't clear from the description: the ping client must continue running after receiving SIGQUIT, as if nothing happened. Only SIGINT terminates execution.

Actions #4

Updated by Eric Newberry over 10 years ago

Got it. I've uploaded another revision to Gerrit.

Actions #5

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)
  • Start date deleted (05/02/2015)
Actions #6

Updated by Eric Newberry over 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF