[Gllug] Rebooting Server
Rhys Hopkins
rhys.hopkins at culver-tec.com
Wed Jan 15 11:57:24 UTC 2003
There is a utility called "sar" that you can probably get hold of which
records load over specified intervals. I used to use it on ICL DRS SVR4 and
SCO - there must be a linux version though.
Running top from cron with the -b (batch) option, and redirecting to a file
will give you an idea of what was running when the system rebooted.
This is what I use on troublesome machines anyway.
Regards,
Rhys.
PS. sorry about the disclaimer.
-----Original Message-----
From: Mark Fowler [mailto:mark at twoshortplanks.com]
Sent: 15 January 2003 11:56
To: gllug at linux.co.uk
Subject: [Gllug] Rebooting Server
Okay, my co-lo server rebooted itself this morning. Ruling out problems
with power from the co-lo place, how do I determine what went wrong
(there's nothing in the syslog but timestamps?)
Okay, a better question. How should I be monitoring (logging) what's
going on the machine. For example, if I want a record of the load on the
machine what's the best way about going about this? I could easily write
a million and one perl scripts to do this kind of thing for me, but I'd
rather not reinvent the wheel, so I thought I'd ask for advice.
It's running debian, so stuff I can apt-get is always good...
Thankye.
Mark.
--
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, mark at twoshortplanks.com, http://twoshortplanks.com/};
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
***********************************************************************************************************
Visit us at http://www.culver-tec.com
DISCLAIMER & CONFIDENTIALITY NOTICE
This email and any files transmitted with it are confidential and intended solely for the use
of the individual or entity to whom they are addressed. This communication may contain
privileged material. If you are not the intended recipient or the person responsible for
delivering the email to the intended recipient, please be advised that you have received
this email in error and that any use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.
The content of this email and any files transmitted with it may not reflect the views and
opinions of the originating company. If you have received this email in error, please
telephone +44 (020) 7456 1300 immediately.
The contents of this email are subject to the terms and conditions of use of our Websites.
No inappropriate content of any sort in this email is approved by us.
If you have any queries or complaints, please forward this email to complaints at culver-tec.com
***********************************************************************************************************
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list