Re: logging system load

2007-08-14 Thread Hakan K
It is a very usuful tool ..

Here is the website http://munin.projects.linpro.no/








Thanks
Hakan
http://jump2top.com

On 8/14/07, James <[EMAIL PROTECTED]> wrote:
>
> Found another useful tool for logging system load.  It's called Munin
> and it's in ports as sysutils/munin-node sysutils/munin-main.  It's
> nifty -- uses rrdtool to graph various things.  Some of the plugins
> are shabby and need some work to get running but the system load
> plugin works fine out of the box.
>
> --
> James.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-08-14 Thread James
Found another useful tool for logging system load.  It's called Munin
and it's in ports as sysutils/munin-node sysutils/munin-main.  It's
nifty -- uses rrdtool to graph various things.  Some of the plugins
are shabby and need some work to get running but the system load
plugin works fine out of the box.

-- 
James.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-08-02 Thread Ian Smith
On Thu, 2 Aug 2007 12:52:20 +0200 Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

 > On Thu, 2 Aug 2007 13:44:33 +0300, Nikos Vassiliadis <[EMAIL PROTECTED]>
 > wrote:
 > > On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
 > >> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
 > >> > Dear all,
 > >> >
 > >> > Is there a tool similar to top which would measure system load and
 > >> > write it to a file that could later be analyzed? The time when my
 > >> > system is most loaded happens between 3 and 5 a.m. so a trace of the
 > >> > system load would be a wonderful thing to have. I need it to tailor
 > >> > some of the jobs accordingly. Any advice?
 > >> >
 > >> > Thanks in advance!
 > >>
 > >> You can make a cronjob doing "uptime >> /path/to/logfile" every minute
 > > 
 > > Or perhaps "sysctl -n vm.loadavg" instead of uptime,
 > > which is the same information, but requires less
 > > scrubbing.
 > 
 > Thanks but that wouldn't record the time, would it? With uptime it is nice
 > to have the current time also recorded and I can compare logs to load by
 > time.

paqi% /bin/echo `/bin/date` `/sbin/sysctl -n vm.loadavg`
Fri Aug 3 00:33:13 EST 2007 { 0.04 0.11 0.09 }

Cheers, Ian

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-08-02 Thread Hugo Silva

Nikos Vassiliadis wrote:

On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
  

На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:


Dear all,

Is there a tool similar to top which would measure system load and
write it to a file that could later be analyzed? The time when my
system is most loaded happens between 3 and 5 a.m. so a trace of the
system load would be a wonderful thing to have. I need it to tailor
some of the jobs accordingly. Any advice?

Thanks in advance!
  

You can make a cronjob doing "uptime >> /path/to/logfile" every minute



Or perhaps "sysctl -n vm.loadavg" instead of uptime,
which is the same information, but requires less
scrubbing.

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  


See bsdsar in the ports.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-08-02 Thread Nikos Vassiliadis
On Thursday 02 August 2007 13:52, Zbigniew Szalbot wrote:
> Hello,
>
> On Thu, 2 Aug 2007 13:44:33 +0300, Nikos Vassiliadis
> <[EMAIL PROTECTED]>
>
> wrote:
> > On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
> >> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
> >> > Dear all,
> >> >
> >> > Is there a tool similar to top which would measure system load and
> >> > write it to a file that could later be analyzed? The time when my
> >> > system is most loaded happens between 3 and 5 a.m. so a trace of
> >> > the system load would be a wonderful thing to have. I need it to
> >> > tailor some of the jobs accordingly. Any advice?
> >> >
> >> > Thanks in advance!
> >>
> >> You can make a cronjob doing "uptime >> /path/to/logfile" every
> >> minute
> >
> > Or perhaps "sysctl -n vm.loadavg" instead of uptime,
> > which is the same information, but requires less
> > scrubbing.
>
> Thanks but that wouldn't record the time, would it? With uptime it is
> nice to have the current time also recorded and I can compare logs to
> load by time.

If I had to implement this for me, I would do it this way:
echo `date "+%Y-%m-%d %H:%M"; sysctl -n vm.loadavg`

But I had in mind easy parsing. If you do eye "parsing"
then uptime is fine too:)

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-08-02 Thread Zbigniew Szalbot

Hello,

On Thu, 2 Aug 2007 13:44:33 +0300, Nikos Vassiliadis <[EMAIL PROTECTED]>
wrote:
> On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
>> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
>> > Dear all,
>> >
>> > Is there a tool similar to top which would measure system load and
>> > write it to a file that could later be analyzed? The time when my
>> > system is most loaded happens between 3 and 5 a.m. so a trace of the
>> > system load would be a wonderful thing to have. I need it to tailor
>> > some of the jobs accordingly. Any advice?
>> >
>> > Thanks in advance!
>>
>> You can make a cronjob doing "uptime >> /path/to/logfile" every minute
> 
> Or perhaps "sysctl -n vm.loadavg" instead of uptime,
> which is the same information, but requires less
> scrubbing.

Thanks but that wouldn't record the time, would it? With uptime it is nice
to have the current time also recorded and I can compare logs to load by
time.


-- 
Zbigniew Szalbot

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-08-02 Thread Nikos Vassiliadis
On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
> > Dear all,
> >
> > Is there a tool similar to top which would measure system load and
> > write it to a file that could later be analyzed? The time when my
> > system is most loaded happens between 3 and 5 a.m. so a trace of the
> > system load would be a wonderful thing to have. I need it to tailor
> > some of the jobs accordingly. Any advice?
> >
> > Thanks in advance!
>
> You can make a cronjob doing "uptime >> /path/to/logfile" every minute

Or perhaps "sysctl -n vm.loadavg" instead of uptime,
which is the same information, but requires less
scrubbing.

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-07-25 Thread James

On 7/25/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

Is there a tool similar to top which would measure system load and
write it to a file that could later be analyzed?


   sysutils/bsdsar works pretty well for me.  Only problem is on some
   systems it'll occasionally get confused and parse out the wrong
   values from the commands it runs (top and such) and end up logging
   crazy values such as "0% idle" when it's really "100% idle".

   Despite that problem I'd recommend it -- it's a useful tool IMHO.

--
James.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: logging system load

2007-07-25 Thread Momchil Ivanov
На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
> Dear all,
>
> Is there a tool similar to top which would measure system load and write it
> to a file that could later be analyzed? The time when my system is most
> loaded happens between 3 and 5 a.m. so a trace of the system load would be
> a wonderful thing to have. I need it to tailor some of the jobs
> accordingly. Any advice?
>
> Thanks in advance!

You can make a cronjob doing "uptime >> /path/to/logfile" every minute

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B  


signature.asc
Description: This is a digitally signed message part.


Re: logging system load

2007-07-25 Thread Bill Moran
In response to Zbigniew Szalbot <[EMAIL PROTECTED]>:

> 
> Dear all,
> 
> Is there a tool similar to top which would measure system load and write it
> to a file that could later be analyzed? The time when my system is most
> loaded happens between 3 and 5 a.m. so a trace of the system load would be
> a wonderful thing to have. I need it to tailor some of the jobs
> accordingly. Any advice?
> 
> Thanks in advance!

If top's output suits your needs, you could write a script that runs top
in a loop and redirects to a file during the time in question.

If you want longer-term monitoring, something like MRTG or Cacti might
fit you better.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


logging system load

2007-07-25 Thread Zbigniew Szalbot

Dear all,

Is there a tool similar to top which would measure system load and write it
to a file that could later be analyzed? The time when my system is most
loaded happens between 3 and 5 a.m. so a trace of the system load would be
a wonderful thing to have. I need it to tailor some of the jobs
accordingly. Any advice?

Thanks in advance!

-- 
Zbigniew Szalbot  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"