[OT] Comportamiento de fping
A ver quien puede explicarme esto: 16:25 [EMAIL PROTECTED]:~# /usr/bin/fping -p500 -sq -C 10 ruti 21 /dev/null ruti : 0.56 0.56 0.52 0.53 1.68 0.65 0.56 0.55 0.61 0.55 1 targets 1 alive 0 unreachable 0 unknown addresses 0 timeouts (waiting for response) 10 ICMP Echos sent 10 ICMP Echo Replies received 0 other ICMP received 0.52 ms (min round trip time) 0.67 ms (avg round trip time) 1.68 ms (max round trip time) 5.066 sec (elapsed real time) ¿ No debería salir nada ? -- Javier Fafián Alvarez |La vida es aquello que te va sucediendo Debian/GNU Linux |mientras tu te empeñas en hacer otros planes.
Re: [OT] Comportamiento de fping
On Wed, Sep 18, 2002 at 04:51:03PM +0200, Javier Fafián Alvarez wrote: A ver quien puede explicarme esto: 16:25 [EMAIL PROTECTED]:~# /usr/bin/fping -p500 -sq -C 10 ruti 21 /dev/null ruti : 0.56 0.56 0.52 0.53 1.68 0.65 0.56 0.55 0.61 0.55 ... 5.066 sec (elapsed real time) ¿ No debería salir nada ? se ve que el fping está enviando esos mensajes al standard error. igual, si no querés que salga nada: $ fping ... /dev/null
Re: [OT] Comportamiento de fping
On Wed, 18 Sep 2002, Javier Fafián Alvarez wrote: A ver quien puede explicarme esto: 16:25 [EMAIL PROTECTED]:~# /usr/bin/fping -p500 -sq -C 10 ruti 21 /dev/null ruti : 0.56 0.56 0.52 0.53 1.68 0.65 0.56 0.55 0.61 0.55 ¿ No debería salir nada ? Según el manual de referencia de bash: Note that the order of redirections is significant. For example, the command ls dirlist 21 directs both standard output (file descriptor 1) and standard error (file descriptor 2) to the file dirlist, while the command ls 21 dirlist directs only the standard output to file dirlist, because the standard error was duplicated as standard output before the standard output was redirected to dirlist. --jaf
Re: [OT] Comportamiento de fping
On Wed, Sep 18, 2002 at 06:47:56PM +0200, Jesus Arias Fisteus wrote: Note that the order of redirections is significant. For example, the command ls dirlist 21 directs both standard output (file descriptor 1) and standard error (file descriptor 2) to the file dirlist, while the command ls 21 dirlist directs only the standard output to file dirlist, because the standard error was duplicated as standard output before the standard output was redirected to dirlist. Gracias, ni se me había ocurrido pensar en ello. :)) -- Javier Fafián Alvarez |La vida es aquello que te va sucediendo Debian/GNU Linux |mientras tu te empeñas en hacer otros planes.