Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 19:56:23 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Lauri Laupmaa <mauri@inspiral.net>, questions@FreeBSD.ORG
Subject:   Re: sar for FreeBSD
Message-ID:  <20001222195623.A27587@dan.emsphone.com>
In-Reply-To: <20001223105657.A64696@wantadilla.lemis.com>; from "Greg Lehey" on Sat Dec 23 10:56:57 GMT 2000
References:  <3A4302A7.7A31846C@inspiral.net> <20001222111954.B13745@dan.emsphone.com> <20001223105657.A64696@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 23), Greg Lehey said:
> On Friday, 22 December 2000 at 11:19:54 -0600, Dan Nelson wrote:
> > SCO released the source to their sar program to a company called
> > Starnix in June '99.  Nothing has happened since then, and the
> > source is apparently still not freely available.
> 
> I investigated this code last year.  There would have been no problem
> in getting the code.  The real issue is that it would have required a
> large amount of kernel code changes, and we weren't really sure that
> it would give us so much more than sa as to make it worthwhile.  Take
> a look at sa(8) and see if you disagree.

But sar and sa really don't record the same info.  sa tracks individual
processes, where sar looks at the system as a whole and gives you
averages over 20-minute periods.  "-c" prints syscalls/sec, plus
separate breakdowns for read, write, fork and exec.  "-d" prints disk
I/O stats broken down per disk (per partition on Solaris).  "-w" prints
blocks swapped in/out per second, which is good for determining if
you're low on RAM, even when the RAM-hungry application runs at night
when you're asleep.

You could even whip up a partial version of "sar" with the output of
vmstat -s, and by beefing up what gets tracked, you could measure
almost all of what SCO/Solaris sar tracks.
 
-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001222195623.A27587>