Thread Per ssh eine ping machen (10 answers)
Opened by Michi at 2011-10-11 13:48

GwenDragon
 2011-10-14 17:49
#153237 #153237
User since
2005-01-17
14603 Artikel
Admin1
[Homepage]
user image
Der Fehlercode muss nämlich noch >>8 geschoben werden, um an den wirklichen zu kommen.


Bei ping? Schau dir mal die Exitcodes dort an http://linux.die.net/man/8/ping oder rufe man ping auf.

//EDIT 256>>8 ist 1 und bei ping bedeutet das: nicht erreichbar oder Paketverlust
Quote
If ping does not receive any reply packets at all it will exit with code 1. If a packet count and deadline are both specified, and fewer than count packets are received by the time the deadline has arrived, it will also exit with code 1.
http://linux.die.net/man/8/ping
Last edited: 2011-10-14 18:08:15 +0200 (CEST)

View full thread Per ssh eine ping machen