Регистрирует ли Ubuntu события, происходящие во время загрузки?

Есть ли где-нибудь в журналах Ubuntu (или Linux в целом) журналы, которые могут записывать загрузку компьютера и сбой ОС из-за проблемы, возникшей на этапе загрузки?

3
задан 2 June 2012 в 19:46

4 ответа

Вы можете проверить это в

/ var / log

Этот каталог имеет все типы журналов

/ var / log / auth. log

Record of all logins and logouts by normal users and system processes.

/ var / log / btmp

Log of all attempted bad logins to the system. Accessed via the lastb command.

/ var / log / debug

Debugging output from various packages.

/ var / log / dmesg

[ 113]

/ var / log / gdm /

GDM log files. Normally a subset of the last X log file. See /var/log/xdm.log for mode details.

/var/log/kdm.log

KDM log file. Normally a subset of the last X log file. See /var/log/xdm.log for more details.

/ var / log / messages

System logs.

/ var / log / pacct

Process accounting is the bookkeeping of process activity. The raw data of process activity is maintained here. Three commands can be used to access the contents of this file dump-acct, sa (summary of process accounting) and lastcomm (list the commands executed on the system).

/ var / log / utmp

Active user sessions. This is a data file and as such it can not be viewed normally. A human-readable form can be created via the dump-utmp command or through the w, who or users commands.

/ var / log / wtmp

Log of all users who have logged into and out of the system. The last command can be used to access a human readable form of this file. It also lists every connection and run-level change.

/ var /log/xdm.log

XDM log file. Normally subset of the last X startup log and pretty much useless in light of the details the X logs is able to provide us with. Only consult this file if you have XDM specific issues otherwise just use the X logfile.

/var/log/XFree86.0.log, /var/log/XFree86.?.log

X startup logfile. An excellent resource for uncovering problems with X configuration. Log files are numbered according to when they were last used. For example, the last log file would be stored in /var/log/XFree86.0.log, the next /var/log/XFree86.9.log, so on and so forth.

/ var / log / системный журнал

The 'system' log file. The contents of this file is managed via the syslogd daemon which more often than not takes care of all log manipulation on most systems.
0
ответ дан 2 June 2012 в 19:46

Начиная с Ubuntu 12.04 (AFAIK), существует /var/log/boot.log, в котором записывается вывод данных ранней загрузки.

0
ответ дан 2 June 2012 в 19:46
/var/log/kern.log 

содержит журналы, созданные ядром во время загрузки. после загрузки событие почти не добавляется, но вы увидите время работы каждой записи

0
ответ дан 2 June 2012 в 19:46

Хотя я найду правильный ответ Шекхар Раут, я думаю, что список может быть немного короче.

Так как OP спрашивает о загрузке и ничего больше - журналы ядра в Linux (в общем) можно найти по адресу:

/var/log/messages

Итак, если у вас сбой загрузки из-за какой-то аппаратной проблемы, это должно быть первое место, чтобы посмотреть.

Обновление:

Похоже, Ubuntu удалил этот файл журнала с 12.04 (не подтверждено), и теперь правильное место для поиска системных журналов:

/var/log/syslog
0
ответ дан 2 June 2012 в 19:46

Другие вопросы по тегам:

Похожие вопросы: