Re: Pues sí, systemd se queda
On Thursday 20 November 2014 16:18:49 C. L. Martinez wrote:
> 2014-11-20 15:38 GMT+00:00 Luis Felipe Tabera Alonso <taberalf@unican.es>:
> > On Thursday 20 November 2014 14:33:06 C. L. Martinez wrote:
> >> 2014-11-20 14:07 GMT+00:00 Santiago Vila <sanvila@unex.es>:
> >> > On Thu, Nov 20, 2014 at 10:20:24AM -0300, Ricardo Delgado wrote:
> >> >> desde el simple hecho de tirar un "dmesg"
> >> >
> >> > ¿Qué le pasa a dmesg?
> >> >
> >> >> o tratar de ver los logs.
> >> >
> >> > ¿Qué le pasa a /var/log/syslog? Si no te gusta journalctl todavía
> >> > puedes usar los logs de siempre. ¿Qué problema tienes?
> >>
> >> Ricardo tiene razón ... Es un auténtico despropósito todo el systemd
> >> en sí. ¿Tu has comparado las salidas de "dmesg", "syslog" y
> >> journalctl? Porque una cagada más a añadir a las tantas de systemd, es
> >> que encima te mete los logs en binario que no vas a ver con el comando
> >> "dmesg" y dentro del archivo syslog ...
> >
> > root@mychabol:/home/luisfe# journalctl -k -o short-monotonic| tail -5
> > [ 703.807585] mychabol kernel: usb 2-1.2: new high-speed USB device
> > number 9 using ehci-pci
> > [ 714.223097] mychabol kernel: usb 2-1.2: device not accepting address 9,
> > error -110
> > [ 714.295340] mychabol kernel: usb 2-1.2: new high-speed USB device
> > number 10 using ehci-pci
> > [ 724.711056] mychabol kernel: usb 2-1.2: device not accepting address
> > 10,
> > error -110
> > [ 724.711201] mychabol kernel: usb 2-1-port2: unable to enumerate USB
> > device
> >
> > root@mychabol:/home/luisfe# dmesg | tail -5
> > [ 703.807585] usb 2-1.2: new high-speed USB device number 9 using
> > ehci-pci
> > [ 714.223097] usb 2-1.2: device not accepting address 9, error -110
> > [ 714.295340] usb 2-1.2: new high-speed USB device number 10 using
> > ehci-pci [ 724.711056] usb 2-1.2: device not accepting address 10, error
> > -110 [ 724.711201] usb 2-1-port2: unable to enumerate USB device
>
> Vale, vamos a jugar a ver quien la tiene mejor puesta :)) (es un broma
> o sea que no nos cabreemos):
>
> [root@ol7test01 ~]# journalctl -k -o short-monotonic| tail -10
> [ 2569.625996] ol7test01.my.domain kernel: net vethGI7O4O:
> 'vethGI7O4O' renaming to 'eth0'
> [ 2569.633998] ol7test01.my.domain kernel: IPv6:
> ADDRCONF(NETDEV_CHANGE): vprodif0: link becomes ready
> [ 2569.634025] ol7test01.my.domain kernel: prodif: port 4(vprodif0)
> entered forwarding state
> [ 2569.634033] ol7test01.my.domain kernel: prodif: port 4(vprodif0)
> entered forwarding state
> [ 2569.634260] ol7test01.my.domain kernel: net vethNLBR02:
> 'vethNLBR02' renaming to 'eth1'
> [ 2569.638889] ol7test01.my.domain kernel: IP v6:
> ADDRCONF(NETDEV_CHANGE): vsiemif0: link becomes ready
> [ 2569.638916] ol7test01.my.domain kernel: siemif: port 3(vsiemif0)
> entered forwarding state
> [ 2569.638922] ol7test01.my.domain kernel: siemif: port 3(vsiemif0)
> entered forwarding state
> [root@ol7test01 ~]# dmesg | tail -10
> [ 2569.613771] net vethGI7O4O: 'vethGI7O4O' renaming to 'vethGI7O4O'
> [ 2569.621746] net vethNLBR02: 'vethNLBR02' renaming to 'vethNLBR02'
> [ 2569.625996] net vethGI7O4O: 'vethGI7O4O' renaming to 'eth0'
> [ 2569.633998] IPv6: ADDRCONF(NETDEV_CHANGE): vprodif0: link becomes ready
> [ 2569.634025] prodif: port 4(vprodif0) entered forwarding state
> [ 2569.634033] prodif: port 4(vprodif0) entered forwarding state
> [ 2569.634260] net vethNLBR02: 'vethNLBR02' renaming to 'eth1'
> [ 2569.638889] IPv6: ADDRCONF(NETDEV_CHANGE): vsiemif0: link becomes ready
> [ 2569.638916] siemif: port 3(vsiemif0) entered forwarding state
> [ 2569.638922] siemif: port 3(vsiemif0) entered forwarding state
¿Mes estás diciendo que haciendo un pipe con un tail -10 solo te devuelve 8
líneas? ¿Y sin el tail? ¿También te devuelve 8 líneas?
Reply to: