antirez / antirez/hping

Statistics Summary Output to Stderr, why?

Ouverte
#24 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
1.7k
Forks
364
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

First, fantastic utility, it has come in great handy!

I've been invoking hping in a context, where I do two things:
capture both the Stdout where each packet result is logged
and
capture statistics of the entire set of packets.

I noticed hping's statistics are piped to stderr, and for a point of comparison I checked that Mac OS X's `ping` logs the summary at the end of Stdout.
So I became curious, whether there's a specific design motivation for logging statistics on Stderr rather than at the end of Stdout? :)

https://github.com/antirez/hping/blob/master/statistics.c#L32-L39

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.