Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to log shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 278

PostPosted: Sat Jan 21, 2017 4:45 pm    Post subject: How to log shutdown Reply with quote

Hi

i would like to know how to log the stdout et stderr shutdown log ?

i need it cause my laptop froze every time i do a shutdown.

thanks
_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 426

PostPosted: Sat Jan 21, 2017 6:42 pm    Post subject: Reply with quote

You could boot af a usb stick and read the dmesg log.


However did the shutdown procedure show what init script was called last?
Back to top
View user's profile Send private message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 278

PostPosted: Sat Jan 21, 2017 8:10 pm    Post subject: Reply with quote

even if i boot with a usb stick i can see the content of the shutdown log in /var/log/messages
_________________
[LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum