On 3 February 2015 at 04:35, James Morrissey <morrissey.jam...@gmail.com> wrote: > Hi Colin, > > Thanks for getting back to me. > > On 1 February 2015 at 16:43, Colin Law <clan...@gmail.com> wrote: >> ... >> Try it with a normal shutdown and a failed one and see if there are >> any obvious differences. The order of messages will vary from time to >> time as they come from multiple threads so it can be tricky to find >> differences. > > > I am trying to do this, but it is difficult to identify when the shutdown > begin (because messages are being printed to this all the time). Can anyone > tell me how i can identify this process, so that i can compare relevant > outputs for both processes (successful and unsuccessful shutdowns)?
Do you mean messages are continually being written to /var/log? That should not be the case, you might expect to see a few messages each minute. If you run tail -f /var/log/syslog it will show you the log as it is added to. If that is continually being added to then there is something wrong so I would investigate that first. If it is so then post a couple of dozen messages from the end of the log (after the machine has booted and been allowed to settle for a couple of minutes. Most, if not all, messages in the log should have a timestamp at the start. so if you run the tail, note the timestamps at the end of the log and then initiate the power down you can find where the power down started. You can identify the start of the power up from kernel messages starting with Feb 3 08:25:23 tigger kernel: [ 0.000000] The number is [] is the time since the kernel started. The first few messages of the restart will preceed the first of the kernel messages. Colin -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/