SCO Open Sources System Activity Reporter
diabloii writes "SCO will license its System Activity Reporter (SAR) source code to the open source community in cooperation with Starnix, Inc. SAR is currently used to retrieve data for administering the UnixWare 7 System V Release 5 (SVR5)
kernel. SCO is hoping that the release of SAR will help standardize kernel administrative. Read the press release here. Also more info at freshmeat. " SAR will be released under the Mozilla license, under the 2nd phase of the release. In the first phase, it will be ported to *BSD and Linux, with the help of Starnix.
From the OSAR web page, it seems like this provides a portable way of collecting performance data. There has got to be more to this than just getting the system load. Anybody know/use SAR? What goodies does it have?
This will surely good for just about all Unix and Linux standardisation efforts, including the LSB. I wonder what the LSB people say about this (if they're awake at this moment), but this seems to me like it will add a little bit more commonality between the various Unix flavours out there. We still have a long way, though. Having a bunch of non-standard-compliant libraries doesn't help much.
Be cautioned, though: Microsoft owns a good-sized chunk of SCO.
In Soviet Russia, Jesus asks: "What Would You Do?"
They'll buy the rest of it if they survive the anti-trust trial intact.
If MS ever does release "MS Linux", it will be a version of SCO UNIX that runs Linux binaries, with a few scraps of source code tossed out to generate some good Open Source press.
I'm not sure I understand why this is a big deal? Seems just about anyone could write up a sar clone in a couple of days just by pulling some info from /proc.
:)
/.)
% man sar
...
The command sar provides usage information for individual processors, as well as summary information for average processor usage.
...
% sar
UnixWare blah 5 7.0.1 i386 06/14/99
00:00:00 %usr %sys %wio %idle
01:00:00 0 0 0 100
02:00:00 0 0 0 100
03:00:00 0 0 0 100
04:00:00 0 0 0 100
05:00:00 0 0 0 100
06:00:00 0 0 0 100
07:00:00 0 0 0 100
08:00:00 0 0 0 100
08:20:00 0 0 0 100
08:40:00 0 0 0 100
09:00:00 0 0 0 100
09:20:00 0 0 0 100
09:40:00 0 0 0 100
10:00:00 0 0 0 100
10:20:00 0 0 0 100
10:40:00 0 0 0 100
11:00:00 0 0 0 100
11:20:00 0 0 0 100
11:40:00 0 0 0 100
12:00:00 0 0 0 100
12:20:00 0 0 0 100
12:40:01 0 0 0 100
13:00:00 0 0 0 100
13:20:00 0 0 0 100
13:40:00 0 0 0 100
14:00:00 0 0 0 100
Average 0 0 0 100
Ha! I guess this shows how much we like SCO Unixware in *our* shop!
(BTW: sorry about the formatting, we need to be able to use tags on
Hmmm...
I reserve a cautious optimism about this development.
On the one hand, I'll take any contributions to the pool of open source software we can get, provided it's worth something. I'm not aware of any really decent open source performance monitoring packages previously available so this package may prove interesting.
OTOH, SCO is not famous for being particularly friendly to Open Source concepts, and as others have pointed out, something like 25% of them is owned by Microsoft.
It's interesting that this announcement is being made by a company who's CEO, Doug Michels, has been known to have done some truly venomous FUD spewing about Linux in the past. He has also claimed that the supposed venomous FUD spewing was actually a result of the press misquoting him or quoting him out of context.
Maybe it's true that SCO has some respect for the open source concept and the press WAS misquoting Michels on these occasions. It wouldn't be the first time that the press tried to artificially give the impression of a conflict.
This development may or may not be evidence of SCO's real attitude toward open source. Time will tell, and this is a development worth watching.
But frankly, Sun's SAR is better. Linux needs SAR though - very badly.
...Steve
support support 3.2v5.0.2 Pentium 06/14/99
00:00:01 %usr %sys %wio %idle
01:00:00 0 0 0 100
02:00:00 0 0 0 100
03:00:01 0 0 0 100
04:00:01 0 0 0 100
05:00:00 0 0 0 100
06:00:00 0 0 0 100
07:00:00 0 0 0 100
08:03:03 unix restarts
08:20:00 0 2 2 96
08:40:00 0 1 6 92
09:00:01 0 0 0 99
09:20:00 1 0 0 98
09:40:00 2 2 4 91
10:00:00 0 0 0 99
10:20:00 2 1 0 97
10:40:01 2 0 0 98
11:00:00 1 0 0 98
11:20:00 0 0 0 99
Average 0 0 0 99
00:00:01 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
01:00:00 0 2 98 0 0 88 0 0
02:00:00 0 2 100 0 0 90 0 0
03:00:01 0 2 100 0 0 90 0 0
04:00:01 0 2 99 0 0 89 0 0
05:00:00 0 2 100 0 0 90 0 0
06:00:00 0 2 100 0 0 89 0 0
07:00:00 0 2 100 0 0 86 0 0
08:03:03 unix restarts
08:20:00 10 70 85 2 8 70 0 0
08:40:00 11 161 93 3 6 58 0 0
09:00:01 0 8 97 0 2 70 0 0
09:20:00 2 21 89 1 5 72 0 0
09:40:00 32 208 84 27 71 62 0 0
10:00:00 0 8 98 0 2 78 0 0
10:20:00 0 30 97 1 9 84 0 0
10:40:01 3 12 73 0 3 74 0 0
11:00:00 0 4 99 0 1 81 0 0
11:20:00 0 3 99 0 1 82 0 0
Average 2 18 89 1 4 69 0 0
00:00:01 device %busy avque r+w/s blks/s avwait avserv
01:00:00 Sdsk-0 0.13 1.00 0.13 0.27 0.00 9.44
02:00:00 Sdsk-0 0.00 1.00 0.09 0.18 0.00 0.03
03:00:01
04:00:01 Sdsk-0 0.01 1.00 0.11 0.23 0.00 0.55
05:00:00
06:00:00 Sdsk-0 0.00 1.00 0.09 0.20 0.00 0.26
07:00:00
08:03:03 unix restarts
08:20:00 Sdsk-0 10.64 1.23 4.93 24.54 4.95 21.57
08:40:00 Sdsk-0 6.25 1.17 10.99 26.36 0.97 5.69
09:00:01 Sdsk-0 0.12 1.00 0.56 1.55 0.00 2.16
09:20:00 Sdsk-0 0.52 1.04 1.88 7.08 0.12 2.75
09:40:00 Sdsk-0 5.58 1.54 12.04 118.17 2.50 4.64
10:00:00 Sdsk-0 0.09 1.05 0.44 1.12 0.09 2.01
10:20:00 Sdsk-0 0.29 1.07 1.69 4.71 0.12 1.69
10:40:01 Sdsk-0 0.44 1.09 1.62 8.09 0.24 2.73
11:00:00 Sdsk-0 0.01 1.00 0.21 0.51 0.00 0.51
11:20:00 Sdsk-0 0.04 1.00 0.19 0.43 0.00 1.97
Average Sdsk-0 0.74 1.27 1.14 6.21 1.77 6.49
00:00:01 H_hits Hmisses (%Hhit) D_hits Dmisses (%Dhit)
01:00:00 18432 286 ( 98%) 0 0 ( 0%)
02:00:00 18328 274 ( 98%) 0 0 ( 0%)
03:00:01 18316 274 ( 98%) 0 0 ( 0%)
04:00:01 20533 574 ( 97%) 0 0 ( 0%)
05:00:00 18271 271 ( 98%) 0 0 ( 0%)
06:00:00 18831 314 ( 98%) 0 0 ( 0%)
07:00:00 24369 669 ( 97%) 0 0 ( 0%)
08:03:03 unix restarts
08:20:00 115101 10367 ( 91%) 0 0 ( 0%)
08:40:00 23248 12277 ( 65%) 0 0 ( 0%)
09:00:01 22807 1241 ( 94%) 0 0 ( 0%)
09:20:00 54671 2620 ( 95%) 0 0 ( 0%)
09:40:00 91269 6396 ( 93%) 0 0 ( 0%)
10:00:00 19734 1386 ( 93%) 0 0 ( 0%)
10:20:00 70310 2626 ( 96%) 0 0 ( 0%)
10:40:01 35183 1300 ( 96%) 0 0 ( 0%)
11:00:00 11170 491 ( 95%) 0 0 ( 0%)
11:20:00 10449 374 ( 96%) 0 0 ( 0%)
Average 59102 4174 ( 93%) 0 0 ( 0%)
00:00:01 rawch/s canch/s outch/s rcvin/s xmtin/s mdmin/s
01:00:00 0 0 0 0 0 0
02:00:00 0 0 0 0 0 0
03:00:01 0 0 0 0 0 0
04:00:01 0 0 0 0 0 0
05:00:00 0 0 0 0 0 0
06:00:00 0 0 0 0 0 0
07:00:00 0 0 0 0 0 0
08:03:03 unix restarts
08:20:00 2 0 53 0 0 0
08:40:00 3 0 56 0 0 0
09:00:01 5 0 51 0 0 0
09:20:00 0 0 46 0 0 0
09:40:00 0 0 185 0 0 0
10:00:00 2 0 27 0 0 0
10:20:00 5 0 216 0 0 0
10:40:01 3 0 70 0 0 0
11:00:00 0 0 2 0 0 0
11:20:00 0 0 7 0 0 0
Average 0 0 23 0 0 0
00:00:01 scall/s sread/s swrit/s fork/s exec/s rchar/s wchar/s
01:00:00 44 4 3 0.01 0.01 789 80
02:00:00 44 4 3 0.01 0.01 787 80
03:00:01 44 4 3 0.01 0.01 786 80
04:00:01 44 4 3 0.01 0.01 794 80
05:00:00 44 4 3 0.01 0.01 788 80
06:00:00 44 4 3 0.01 0.01 791 80
07:00:00 45 4 3 0.02 0.02 827 80
08:03:03 unix restarts
08:20:00 143 24 7 0.42 0.49 7883 1150
08:40:00 141 8 4 0.06 0.05 1406 174
09:00:01 67 11 5 0.06 0.04 1567 242
09:20:00 86 10 5 0.10 0.10 3862 441
09:40:00 167 18 33 0.05 0.06 33814 24821
10:00:00 60 7 4 0.04 0.07 1739 133
10:20:00 112 21 10 0.08 0.08 5043 941
10:40:01 87 13 6 0.04 0.05 2723 1044
11:00:00 77 5 5 0.02 0.02 1100 2260
11:20:00 74 6 4 0.03 0.02 1012 1035
Average 62 7 4 0.03 0.04 2452 1094
00:00:01 swpin/s bswin/s swpot/s bswot/s pswch/s
01:00:00 0.00 0.0 0.00 0.0 9
02:00:00 0.00 0.0 0.00 0.0 9
03:00:01 0.00 0.0 0.00 0.0 9
04:00:01 0.00 0.0 0.00 0.0 9
05:00:00 0.00 0.0 0.00 0.0 9
06:00:00 0.00 0.0 0.00 0.0 9
07:00:00 0.00 0.0 0.00 0.0 9
08:03:03 unix restarts
08:20:00 0.00 0.0 0.00 0.0 20
08:40:00 0.00 0.0 0.00 0.0 23
09:00:01 0.00 0.0 0.00 0.0 15
09:20:00 0.00 0.0 0.00 0.0 15
09:40:00 0.00 0.0 0.00 0.0 31
10:00:00 0.00 0.0 0.00 0.0 12
10:20:00 0.00 0.0 0.00 0.0 21
10:40:01 0.00 0.0 0.00 0.0 18
11:00:00 0.00 0.0 0.00 0.0 12
11:20:00 0.00 0.0 0.00 0.0 13
Average 0.00 0.0 0.00 0.0 12
00:00:01 iget/s namei/s dirbk/s
01:00:00 5 1 0
02:00:00 5 1 0
03:00:01 5 1 0
04:00:01 6 1 0
05:00:00 5 1 0
06:00:00 5 1 0
07:00:00 7 1 0
08:03:03 unix restarts
08:20:00 116 21 41
08:40:00 71 59 104
09:00:01 19 3 4
09:20:00 46 7 10
09:40:00 112 42 65
10:00:00 17 3 5
10:20:00 60 8 11
10:40:01 30 4 5
11:00:00 9 2 2
11:20:00 9 2 1
Average 19 6 8
00:00:01 runq-sz %runocc swpq-sz %swpocc
01:00:00 1.0 0
02:00:00 1.0 3
03:00:01 3.0 1
04:00:01 3.0 0
05:00:00
06:00:00 2.0 0
07:00:00
08:03:03 unix restarts
08:20:00 2.9 6
08:40:00 1.2 2
09:00:01 1.0 1
09:20:00 1.2 2
09:40:00 1.1 5
10:00:00
10:20:00 1.3 4
10:40:01 1.3 2
11:00:00
11:20:00 2.0 0
Average 1.6 19
00:00:01 proc-sz ov inod-sz ov file-sz ov lock-sz
01:00:00 73/ 95 0 294/1126 0 276/ 341 0 4/ 128
02:00:00 73/ 95 0 294/1126 0 276/ 341 0 4/ 128
03:00:01 71/ 95 0 292/1126 0 274/ 341 0 4/ 128
04:00:01 73/ 95 0 294/1228 0 276/ 341 0 4/ 128
05:00:00 73/ 95 0 295/1228 0 277/ 341 0 4/ 128
06:00:00 73/ 95 0 295/1228 0 277/ 341 0 4/ 128
07:00:00 72/ 95 0 294/1228 0 276/ 341 0 4/ 128
08:03:03 unix restarts
08:20:00 84/ 95 0 350/ 870 0 326/ 341 0 11/ 128
08:40:00 82/ 95 0 347/ 870 0 322/ 341 0 10/ 128
09:00:01 82/ 95 0 345/ 870 0 321/ 341 0 11/ 128
09:20:00 85/ 95 0 354/ 870 0 331/ 682 0 11/ 128
09:40:00 83/ 95 0 352/1894 0 328/ 682 0 11/ 128
10:00:00 89/ 95 0 366/1894 0 342/ 682 0 11/ 128
10:20:00 88/ 95 0 360/1894 0 334/ 682 0 11/ 128
10:40:01 90/ 95 0 365/1894 0 341/ 682 0 11/ 128
11:00:00 89/ 95 0 363/1894 0 339/ 682 0 11/ 128
11:20:00 89/ 95 0 363/1894 0 340/ 682 0 11/ 128
00:00:01 msg/s sema/s
01:00:00 0.00 0.01
02:00:00 0.00 0.00
03:00:01 0.00 0.00
04:00:01 0.00 0.00
05:00:00 0.00 0.00
06:00:00 0.00 0.00
07:00:00 0.00 0.00
08:03:03 unix restarts
08:20:00 0.00 0.04
08:40:00 0.00 0.00
09:00:01 0.00 0.00
09:20:00 0.01 0.00
09:40:00 0.00 0.00
10:00:00 0.00 0.00
10:20:00 0.01 0.00
10:40:01 0.00 0.00
11:00:00 0.00 0.00
11:20:00 0.00 0.00
Average 0.00 0.00
00:00:01 vflt/s pflt/s pgfil/s rclm/s
01:00:00 0.06 0.18 0.00 0.00
02:00:00 0.06 0.18 0.00 0.00
03:00:01 0.06 0.18 0.00 0.00
04:00:01 0.08 0.27 0.00 0.00
05:00:00 0.06 0.18 0.00 0.00
06:00:00 0.06 0.21 0.00 0.00
07:00:00 0.13 0.46 0.00 0.00
08:03:03 unix restarts
08:20:00 6.52 11.39 1.83 0.00
08:40:00 0.94 1.99 0.14 0.00
09:00:01 0.78 2.00 0.01 0.00
09:20:00 3.99 3.43 0.36 0.00
09:40:00 1.55 1.65 0.32 0.00
10:00:00 1.54 1.41 0.01 0.00
10:20:00 3.64 3.40 0.06 0.00
10:40:01 2.83 1.90 0.73 0.00
11:00:00 0.48 0.72 0.01 0.00
11:20:00 0.23 0.70 0.00 0.00
Average 0.75 1.03 0.10 0.00
00:00:01 freemem freeswp
01:00:00 25464 512000
02:00:00 25473 512000
03:00:01 25473 512000
04:00:01 25468 512000
05:00:00 25468 512000
06:00:00 25467 512000
07:00:00 25467 512000
08:03:03 unix restarts
08:20:00 25245 512000
08:40:00 24896 512000
09:00:01 24858 512000
09:20:00 24807 512000
09:40:00 24651 512000
10:00:00 24517 512000
10:20:00 24323 512000
10:40:01 23832 512000
11:00:00 23429 512000
11:20:00 23402 512000
Average 25123 512000
00:00:01 cpybuf/s slpcpybuf/s
01:00:00 0.00 0.00
02:00:00 0.00 0.00
03:00:01 0.00 0.00
04:00:01 0.00 0.00
05:00:00 0.00 0.00
06:00:00 0.00 0.00
07:00:00 0.00 0.00
08:03:03 unix restarts
08:20:00 0.00 0.00
08:40:00 0.00 0.00
09:00:01 0.00 0.00
09:20:00 0.00 0.00
09:40:00 0.00 0.00
10:00:00 0.00 0.00
10:20:00 0.00 0.00
10:40:01 0.00 0.00
11:00:00 0.00 0.00
11:20:00 0.00 0.00
Average 0.00 0.00
00:00:01 dptch/s idler/s swidle/s
01:00:00 110.35 101.02 4.77
02:00:00 110.24 100.97 4.72
03:00:01 110.26 100.99 4.73
04:00:01 110.30 101.00 4.74
05:00:00 110.40 101.06 4.73
06:00:00 110.27 100.99 4.74
07:00:00 110.34 101.00 4.73
08:03:03 unix restarts
08:20:00 129.05 104.44 9.25
08:40:00 139.82 112.32 16.86
09:00:01 126.63 105.10 8.00
09:20:00 118.74 101.75 7.46
09:40:00 144.58 108.38 16.45
10:00:00 118.06 102.43 6.75
10:20:00 129.01 102.88 8.31
10:40:01 127.32 104.02 9.16
11:00:00 114.85 100.74 6.63
11:20:00 116.19 101.64 6.91
Average 115.44 102.08 6.28
00:00:01 ovsiohw/s ovsiodma/s ovclist/s
01:00:00 0.00 0.00 0.00
02:00:00 0.00 0.00 0.00
03:00:01 0.00 0.00 0.00
04:00:01 0.00 0.00 0.00
05:00:00 0.00 0.00 0.00
06:00:00 0.00 0.00 0.00
07:00:00 0.00 0.00 0.00
08:03:03 unix restarts
08:20:00 0.00 0.00 0.00
08:40:00 0.00 0.00 0.00
09:00:01 0.00 0.00 0.00
09:20:00 0.00 0.00 0.00
09:40:00 0.00 0.00 0.00
10:00:00 0.00 0.00 0.00
10:20:00 0.00 0.00 0.00
10:40:01 0.00 0.00 0.00
11:00:00 0.00 0.00 0.00
11:20:00 0.00 0.00 0.00
Average 0.00 0.00 0.00
00:00:01 mpbuf/s ompb/s mphbuf/s omphbuf/s pbuf/s spbuf/s dmabuf/s sdmabuf/s
01:00:00 0.00 0.00 0.09 0.00 0.00 0.00 0.00 0.00
02:00:00 0.00 0.00 0.08 0.00 0.00 0.00 0.00 0.00
03:00:01 0.00 0.00 0.08 0.00 0.00 0.00 0.00 0.00
04:00:01 0.00 0.00 0.09 0.00 0.00 0.00 0.00 0.00
05:00:00 0.00 0.00 0.08 0.00 0.00 0.00 0.00 0.00
06:00:00 0.00 0.00 0.09 0.00 0.00 0.00 0.00 0.00
07:00:00 0.00 0.00 0.12 0.00 0.00 0.00 0.00 0.00
08:03:03 unix restarts
08:20:00 0.00 0.00 3.32 0.00 0.00 0.00 0.00 0.00
08:40:00 0.00 0.00 1.11 0.00 0.00 0.00 0.00 0.00
09:00:01 0.00 0.00 0.38 0.00 0.00 0.00 0.00 0.00
09:20:00 0.00 0.00 1.20 0.00 0.00 0.00 0.00 0.00
09:40:00 0.00 0.00 4.77 0.00 0.00 0.00 0.00 0.00
10:00:00 0.00 0.00 0.31 0.00 0.00 0.00 0.00 0.00
10:20:00 0.00 0.00 0.86 0.00 0.00 0.00 0.00 0.00
10:40:01 0.00 0.00 1.27 0.00 0.00 0.00 0.00 0.00
11:00:00 0.00 0.00 0.18 0.00 0.00 0.00 0.00 0.00
11:20:00 0.00 0.00 0.15 0.00 0.00 0.00 0.00 0.00
Average 0.00 0.00 0.49 0.00 0.00 0.00 0.00 0.00
#
"A mind is a terrible thing to taste."
Microsoft owns some piece of SCO. Not as large a piece as some make it out to be. They have not shaped the decisions of SCO in the past and will not in the future. There is no chance of a MS-Linux product that is tied in with SCO. The only tie Microsoft has with SCO was there royalty licensing contract for XENIX code in SCO OSs. That contract no longer exists and therefore no more ties to Microsoft.
---- "It is never too late to give up our prejudices." --Henry David Thoreau(1817-1862)
This is good news. sar is a useful utility, and the folks at Starnix are good folks.
But SCO is rewriting history in their press releases. "SAR was developed by SCO
sar was a standard utility in Unix SVR4.2 and was included in UnixWare and other SVR4.2 releases before SCO bought UnixWare from Novell, and before Novell bought UnixWare from USL. It may have even existed in SVR3.X
Could this be a sign of the times to come? Major unix vendors open source'ing important apps and porting to other platforms? Sounds good to me, count me in!
--- Stampede linux for me! I play with fire to break the ice..
Nice to see a vendor using one of the existing free software licenses. The Mozilla license is quite good, very similar to the LGPL.
How do you know that?
SCO has already announced Linux binary compatibility.
According to their agreement, IBM has first buying rights. If anyone makes a move, IBM will buy out SCO first. This won't matter much anyway - with all the AIX-UnixWare-ptx integration stuff that's going on, SCO can just lie back and live off the royalties.
This is good news; one of the things I miss most on Linux/*BSD is SAR (and SysV ps). :)
Two notes:
1) Regarding Doug Michels' "FUD"Ding: check out
http://www.sco.com/linux/letter.html. Not the big bad wolf you thought he is; why wasn't _this_ put up here? (yes Rob, you _do_ have a sensationalist streak
2) AFAIK Microsoft owns less than 10% of SCO, and can't make a move to grab the rest: SCO's contract with IBM says IBM've got dibs. It's also an employee-owned company (although I really don't know exactly how that's supposed to stop takeover - not an economistic bone in my body).
SARGE and other Sys Admin goodies are freely available at http://www.vais.net/~efinch
Best regards,
Ed Finch
SAR existed on a SVR2 Ironics 68010 unix
box (w/4MB ram) that we used circa 1985.
-- cary
I'm sure you meant well, but please, if you have this much information just post a link to it. Otherwise it takes up too much space in the message forums.
You make some good points, but I'd like to add a few of my own. SCO and NT are arch-rivals, in case anyone has forgotten. (SCO even offers competitive upgrades -- reduced prices for people trading in NT for UNIX.) This means several things:
1. Under various conflict-of-interest clauses, MS has no control over SCO, in spite of their stock holdings. The relationship is purely financial...(and based on SCO's stock price, the investment has done nothing positive for MS.)
2. MS would much rather crush SCO competitively in the marketplace than buy them out. If MS bought SCO, they would be implicitly endorsing *IX (meaning all of their competition, including Linux) as a valuable, viable, and useful thing. This is exactly the opposite of what they want to do.
Finally, I find it interesting that the same Linux supporters who cry foul at Doug Michaels' FUD are the people who perpetuate this equally-FUDdy nonsense about SCO being some sort of appendage of Bill Gates.
Why do you miss SysV ps? Upgrade the damn thing!
0 520.tar.gz
If all your software is that obsolete, you
should get Red Hat 6.0 or Debian-unstable.
Otherwise...
http://www.cs.uml.edu/~acahalan/linux/procps-99
That gets you full SysV syntax, full GNU syntax,
and nearly all BSD syntax. You can even mix the
options in sick ways.
The previous posts have done a good job of reporting what sar is for. It's a system activity logger that reports a very wide range of different system activity measurements over a period of time. It's very useful when you're trying to pin down why your system is being slow, or what resource your running out of and need to buy more of.
From what I've seen in my week or two of playing with Linux is that Linux has the best realtime system performance monitoring I've ever seen in a UNIX, but very little long-term reporting like what sar does. For this reason, sar could be very useful.
Of course, writing a little shell script in Linux that cats certain /proc files into a log periodically may be able to duplicate much of the functionality of sar.
Need a Python, C++, Unix, Linux develop