Hora mais legível no dmesg

Saída padrão do dmesg:

1
2
3
4
5
6
7
[ 7515.054630] CPU7: Core temperature above threshold, cpu clock throttled (total events = 29938)
[ 7515.055666] CPU3: Core temperature/speed normal
[ 7515.055668] CPU7: Core temperature/speed normal
[ 9253.929870] CPU4: Core temperature above threshold, cpu clock throttled (total events = 5697)
[ 9253.929873] CPU0: Core temperature above threshold, cpu clock throttled (total events = 5697)
[ 9253.930911] CPU4: Core temperature/speed normal
[ 9253.930913] CPU0: Core temperature/speed normal

Saída do comando dmesg -T:

1
2
3
4
5
6
7
[Sex Out 20 21:56:10 2017] CPU7: Core temperature above threshold, cpu clock throttled (total events = 29938)
[Sex Out 20 21:56:10 2017] CPU3: Core temperature/speed normal
[Sex Out 20 21:56:10 2017] CPU7: Core temperature/speed normal
[Sex Out 20 22:25:08 2017] CPU4: Core temperature above threshold, cpu clock throttled (total events = 5697)
[Sex Out 20 22:25:08 2017] CPU0: Core temperature above threshold, cpu clock throttled (total events = 5697)
[Sex Out 20 22:25:08 2017] CPU4: Core temperature/speed normal
[Sex Out 20 22:25:08 2017] CPU0: Core temperature/speed normal

Podemos incluise criar um alias no bashrc:

1
alias dmesg="dmesg -T"
0%