APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

osr5 sar mpsar cpusar scosar

© December 2005 (various authors)

From: Bela Lubkin <filbo@armory.com>
Subject: Re: sar & mpsar
Date: 24 Jul 2005 07:52:42 -0400
Message-ID: <200507240452.aa04842@deepthought.armory.com> 
References: <mailman.5.1122171817.24416.sco-misc@lists.celestial.com> 

Brandt Eppler wrote:

> On a multi processor system is there a difference between
> Sar 5 5  and   mpsar 5 5  ?
> Which is the best one to run for a SMP machine?

They are effectively equivalent for most purposes.  `mpsar` supports a
few added flags, but if you aren't using those, its output is identical.
Also, `mpsar -A` includes the output of those added flags.

`mpsar` was initially a separate binary, added when you installed SCO
MPX (SMP) on top of the corresponding release of SCO Unix.  It was
separate at that time because it was a special MPX add-on, built from
different sources than the standard `sar`.  The sources weren't merged
until later.  Now both are built from one set of sources, but since the
documentation and behavior were already set, the `mpsar` name hasn't
been removed.

The differences should probably have been smoothed over by making `sar`
recognize the few added `mpsar` options when running on an SMP kernel;
but that hasn't been done.

Any OSR5 `sar` binary will act differently when invoked under any of 4
names: sar, mpsar, cpusar, scosar.  (`scosar` isn't documented and no
link to that name is shipped.  It adds tracking of a few obscure
filesystem behaviors; and some flags to get different sorts of delta
outputs.  It's undocumented for fairly good reasons -- the flags don't
work very well.)

`cpusar` offers per-CPU tracking of some behaviors.  It's a lot more
different than `mpsar` (but still the same binary, these days).


Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> osr5 sar mpsar cpusar scosar

Inexpensive and informative Apple related e-books:

Take Control of OS X Server

Sierra: A Take Control Crash Course

Photos for Mac: A Take Control Crash Course

Digital Sharing Crash Course

Take Control of Apple Mail, Third Edition

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

While we all ooh and ahh over the reports and graphs, Google is quietly building an incredible pile of extremely valuable information. (Tony Lawrence)

Linux posts

Troubleshooting posts

This post tagged:


Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode

SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)