Time Index auf der Console

Detlef Paschke

Well-Known Member
Feb 12, 2019
138
14
58
50
Cottbus
helpdesk.schabau.eu
Hallo,

manchmal tauchen bei meinem Proxmox 5.4 auch Meldungen auf der Console auf.
Nachteilig ist, dass sich diese nicht Zeitlich einordnen lassen da nicht wirklich ein Time Index vorhanden ist.

Ähnlicher ist es z.B. auch bei dmesg | less denn da sieht es dann so aus.

[576218.830541] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0

sehe ich in die /var/log/kernel.log sieht es so aus, ein Time Index ist also vorhanden.

Dec 22 04:00:50 Proxmox Kernel: [576218.830541] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0

Kann man das evtl. so abändern, dass auch auf der Console ein Time Index gezeigt wird?

Viele Grüße
Detlef Paschke
 
trag in deine .bashrc einfach mal folgendes ein: alias dmesg='dmesg -T'

bei mir sieht das dann so aus

[Di Dez 24 00:00:09 2019] vmbr0: port 13(veth300i0) entered blocking state
[Di Dez 24 00:00:09 2019] vmbr0: port 13(veth300i0) entered forwarding state
[Di Dez 24 00:03:45 2019] vmbr0: port 13(veth300i0) entered disabled state
[Di Dez 24 00:03:45 2019] vmbr0: port 13(veth300i0) entered disabled state

also meine kernel.log sieht so aus

Dec 23 20:03:27 pve kernel: [178822.235074] device veth300i0 left promiscuous mode
Dec 23 20:03:27 pve kernel: [178822.235079] vmbr0: port 13(veth300i0) entered disabled state
Dec 24 00:00:04 pve kernel: [193019.376707] vmbr0: port 13(veth300i0) entered blocking state
Dec 24 00:00:04 pve kernel: [193019.376802] device veth300i0 entered promiscuous mode
Dec 24 00:00:04 pve kernel: [193019.861298] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 
trag in deine .bashrc einfach mal folgendes ein: alias dmesg='dmesg -T'

ja, bei dmesg | less wird dann auch ein Timeindex gezeigt, die Ausgabe von dmesg | less nannte ich aber nur als Beispiel um zu zeigen was ich meine. Die Kernelmeldungen auf der Konsole, egal ob eingeloggt oder nicht, erscheinen weiterhin ohne Timeindex.

Viele Grüße
Detlef Paschke
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!