[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: analizzare log precedenti all'ultimo boot



On 29/05/2015 13:00, Piviul wrote:

journalctl --boot=1 -xb

$ man journalctl
[...]
-b [ID][±offset], --boot=[ID][±offset]
[...]

mi mostra sempre l'ultimo log e infatti
$ man journalctl
[...]
-b [ID][±offset], --boot=[ID][±offset]
[...]
a positive offset will look up the boots starting from the beginning of the journal, and a equal-or-less-than zero offset will look up boots starting from the end of the journal
[...]

l'ultimo log è
$ journalctl --boot=-0
o equivalente
$ journalctl -b -0

journalctl --boot=-1 -xb mi restituisce l'errore: Failed to look up boot
-1: Impossibile assegnare l'indirizzo richiesto

A questo punto la mia conclusione è che systemd memorizza i log soltanto
dell'ultima sequenza di boot: come faccio a fargli memorizzare più
sequenze?

$ man journalctl
[...]
SEE ALSO
systemd(1), systemd-journald.service(8), systemctl(1), coredumpctl(1), systemd.journal-fields(7), journald.conf(5)
[...]

quindi
$ man 5 journald.conf

Ciao
Davide

--
Dizionari: http://linguistico.sourceforge.net/wiki
Client di posta: http://www.mozilla.org/products/thunderbird
GNU/Linux User: 302090: http://counter.li.org
Non autorizzo la memorizzazione del mio indirizzo su outlook


Reply to: