File: ChangeLog

package info (click to toggle)
libstatgrab 0.92.1-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,252 kB
  • sloc: ansic: 12,623; sh: 4,364; perl: 467; makefile: 282
file content (12186 lines) | stat: -rw-r--r-- 294,489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
2021-04-13  Tim Bishop  <tim@bishnet.net>

    Update for 0.92.1 release.

    
  Hash: 13227a3baebe03d4eca147d860ca73f610984999
  Files affected:

    NEWS
    configure.ac
    src/libstatgrab/Makefile.am

2021-07-21  mglae  <mglmail@arcor.de>

    vector.c: fix building with -DNDEBUG

    Fix for
    ``` src/libstatgrab/vector.c:73:39: error: expected '=', ',', ';', 'asm'
    or '__attribute__' before '{' token
      73 | sg_prove_vector(const sg_vector *vec) {
         |                                       ^ make[3]: ***
    [Makefile:497: vector.lo] Error 1
    ``` when compiling with -DNDEBUG

    Signed-off-by: mglae <mglmail@arcor.de> Signed-off-by: Jens Rehsack
    <sno@netbsd.org>

  Hash: ea04ae1795e802fc0b7a5d3398151d7d9d047db8
  Files affected:

    src/libstatgrab/vector.c

2021-07-26  Jens Rehsack  <sno@netbsd.org>

    src/libstatgrab/cpu_stats.c: avoid vmmeter compile warnings

    Add explicitely type conversion to (unsigned long long) from
    counter_u64_t to avoid compile warnings:
    ``` cpu_stats.c:347:35: warning: incompatible pointer to integer
    conversion assigning to 'unsigned long long' from 'counter_u64_t' (aka
    'unsigned long *') [-Wint-conversion]
                   cpu_stats_buf->context_switches = vmmeter.v_swtch;
                                                   ^ ~~~~~~~~~~~~~~~ 
    cpu_stats.c:348:27: warning: incompatible pointer to integer conversion
    assigning to 'unsigned long long' from 'counter_u64_t' (aka 'unsigned
    long *') [-Wint-conversion]
                   cpu_stats_buf->syscalls = vmmeter.v_syscall;
                                           ^ ~~~~~~~~~~~~~~~~~ 
    cpu_stats.c:349:27: warning: incompatible pointer to integer conversion
    assigning to 'unsigned long long' from 'counter_u64_t' (aka 'unsigned
    long *') [-Wint-conversion]
                   cpu_stats_buf->syscalls += vmmeter.v_trap;
                                           ^  ~~~~~~~~~~~~~~ 
    cpu_stats.c:351:29: warning: incompatible pointer to integer conversion
    assigning to 'unsigned long long' from 'counter_u64_t' (aka 'unsigned
    long *') [-Wint-conversion]
                   cpu_stats_buf->interrupts = vmmeter.v_intr;
                                             ^ ~~~~~~~~~~~~~~ 
    cpu_stats.c:352:34: warning: incompatible pointer to integer conversion
    assigning to 'unsigned long long' from 'counter_u64_t' (aka 'unsigned
    long *') [-Wint-conversion]
                   cpu_stats_buf->soft_interrupts = vmmeter.v_soft;
                                                  ^ ~~~~~~~~~~~~~~ 5
    warnings generated.
    ```

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: ffa2bb3c23cdc788330590e324bb8791d190877d
  Files affected:

    src/libstatgrab/cpu_stats.c

2020-09-28  Jens Rehsack  <sno@netbsd.org>

    configure.ac: please 'struct vmmeter'

    According to https://github.com/libstatgrab/libstatgrab/issues/105, 
    FreeBSD 12+ needs a small extra please to provide struct vmmeter access.

    Give it a try by adding _WANT_VMMETER define in configure stage and in
    case of successful probing in such case - in config.h (which is very
    likely included before sys/vmmeter.h)

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 2fd6002671f3c8a0c2ca46a18fff169ca5340f39
  Files affected:

    configure.ac

2021-07-04  Jens Rehsack  <sno@netbsd.org>

    {configure.ac,m4/ax_pthread.m4}: fix broken targetted system evaluation

    According longer discussion in
    https://github.com/autoconf-archive/autoconf-archive/commit/2567e0ce0f3a11b535c6b527386197fb49ff172b#r52080885 
    relying on `$target_os` wasn't that smart as intend.

    Roll forward to fix:
       7ab89ec m4/ax_pthread.m4: target > host
       cd479ea configure.ac: target > host

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 35b747cebf6873db432fbf9a692870f3fad57cdc
  Files affected:

    configure.ac
    m4/ax_pthread.m4

2021-02-05  Khem Raj  <raj.khem@gmail.com>

    configure.ac: Do not use single line comment

    autoconf 2.70+ does not like it and regenerating configure script fails

    | ../libstatgrab-0.92/configure: line 7818: syntax error near unexpected
    token `ac_fn_check_decl'
    | ../libstatgrab-0.92/configure: line 7818: `fi ac_fn_check_decl
    "$LINENO" "__sun" "ac_cv_have_decl___sun" "$ac_includes_default"
    "$ac_c_undeclared_builtin_options" "CFLAGS"'

    Signed-off-by: Khem Raj <raj.khem@gmail.com>

  Hash: 1205aed6593b83f69297512b89c7813d77be89d4
  Files affected:

    configure.ac

2020-09-28  Jens Rehsack  <sno@netbsd.org>

    src/libstatgrab/cpu_stats.c: handle reduced Linux

    There are Linux kernels out there that do not provide information about
    'cpu', 'intr', 'ctxt' or 'softirq'. Accept, that when information aren't 
    provided via appropriate API, it's similar to the datum is available but 
    nulled.

    This patch should also help fixing
    https://github.com/libstatgrab/libstatgrab/issues/124

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 74a42a2ec96e50f203d202c81443f2f5a39348fd
  Files affected:

    src/libstatgrab/cpu_stats.c

2020-03-02  Jens Rehsack  <sno@netbsd.org>

    m4/ax_pthread.m4: target > host

    Even if cross-compiling is not the most used use-case, it's much more 
    important where we build for then where we run configure stage on (see 
    autoconf-manual "18.6.3 Hosts and Cross-Compilation").

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 7ab89ece14ca6ec8d652e909c66961ee711e67db
  Files affected:

    m4/ax_pthread.m4

2020-03-02  Jens Rehsack  <sno@netbsd.org>

    m4/ax_pthread.m4: ensure C++ is handled analogous

    Since at least AIX behaves for CC_r/xlC_r as it does for cc_r/xlc_r and
    so on, use the same logic for CXX <-> PTHREAD_CXX as provided for CC <->
    PTHREAD_CC to avoid code & issue duplication.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 2296d8c14481da8647688cbdafda9f0868b88b43
  Files affected:

    m4/ax_pthread.m4

2020-03-13  Jens Rehsack  <sno@netbsd.org>

    m4: ax_pthread.m4: update to serial 27

    Update to most recent version of ax_pthread.m4 from GNU
    autoconf-archive.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 9bf78d1ef468ce96d3a6bf2670160489284883da
  Files affected:

    m4/ax_pthread.m4

2020-03-02  Jens Rehsack  <sno@netbsd.org>

    configure.ac: target > host

    Even if cross-compiling is not the most used use-case, it's much more 
    important where we build for then where we run configure stage on (see 
    autoconf-manual "18.6.3 Hosts and Cross-Compilation").

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: cd479eae9ea5d67082b0235930f0a76b5ffd5732
  Files affected:

    configure.ac

2020-09-04  Tim Bishop  <tim@bishnet.net>

    Catch processes with an unknown state.

    Without this change the state is undefined, but most likely 0 which is
    SG_PROCESS_STATE_RUNNING.

    Fixes #122.

  Hash: a36df0079cab5d9f0bcc5af68a48e85d9fa037d6
  Files affected:

    src/libstatgrab/process_stats.c

2020-08-20  Tim Bishop  <tim@bishnet.net>

    On Gentoo -ltinfo is needed for linking ncurses.

    
  Hash: 3c20c13eeadab9ea22db31e924f68363d811431c
  Files affected:

    m4/ax_ncurses.m4

2020-08-17  Tim Bishop  <tim@bishnet.net>

    Add new OS versions.

    Also remove old ones, and move distfile build to latest Ubuntu.

  Hash: 0696f09cc1aa3329e80b85e22bc00caf45038ec9
  Files affected:

    .gitlab-ci.yml

2019-10-03  Bartosz Fenski  <fenio@debian.org>

    typos

    
  Hash: 9a6ff64238f8dfc0a1742fe70f018bbc811a69c6
  Files affected:

    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_init.xml
    docs/libstatgrab/sg_vector_create.xml

2019-07-16  Tim Bishop  <tim@bishnet.net>

    Fix build/install of manpages.

    This defaults to attempting to install manpages, unless --disable-man is
    given to stop it. It defaults to not building the manpages, unless it
    finds docbook2man to build them with.

    So for users of the release tarball this will install the manual pages 
    from the tarball, unless requested not to.

    For users of the git repository it will error if they don't have 
    docbook2man, unless they choose to disable manual pages. I think this is 
    reasonable because docbook2man is a required tool for build from source.

  Hash: fa7e1d9fe76c3a1a7ade264c746b3f5edc566f3b
  Files affected:

    configure.ac
    docs/libstatgrab/Makefile.am
    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am

2019-07-15  Tim Bishop  <tim@bishnet.net>

    Allow version to be overridden.

    By default, it still uses the short version of the commit reference.
    This is most useful for normal CI builds so you can easily see which
    commit a tarball is made from. But when testing for a release one might
    want to specify the version explicitly, so this can now be overridden by 
    manually triggering a build and setting LSG_VERSION (eg. 0.92).

  Hash: bba176927de27dccd26db5ba022434abdaeee601
  Files affected:

    .gitlab-ci.yml

2019-07-15  Tim Bishop  <tim@bishnet.net>

    Update for 0.92 release.

    
  Hash: 2f20d06be8c2562902ee8000e1b3a555abcf6d6e
  Files affected:

    NEWS
    PLATFORMS
    configure.ac
    src/libstatgrab/Makefile.am

2019-07-15  Tim Bishop  <tim@bishnet.net>

    Add some missing copyright notices.

    
  Hash: 56310b0ad01b8fb90fc09ae791cd934105fbc3dc
  Files affected:

    configure.ac
    src/libstatgrab/win32.c
    src/libstatgrab/win32.h

2019-07-15  Tim Bishop  <tim@bishnet.net>

    Update my email address.

    
  Hash: 65bd1d8f0d4d3630ee07641ceacc446c747b4bca
  Files affected:

    AUTHORS

2019-06-22  Tim Bishop  <tim@bishnet.net>

    Update copyright notices.

    This unrolls the "i-scream" name, which was never really a concrete 
    entity, in to the individual names of the authors involved. It gives 
    correct attribution based on contribution to the overall project and is 
    the same in every file.

  Hash: 2048cc5e4802a049365804d55a64fd92e517229f
  Files affected:

    .gitlab-ci.yml
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/error.h
    src/libstatgrab/globals.c
    src/libstatgrab/globals.h
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/trace.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/saidar/saidar.c
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c
    tests/testlib/err.c
    tests/testlib/opt.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2019-06-21  Tim Bishop  <tim@bishnet.net>

    Update available builds.

    Add Fedora 30 and new Alpine Linux releases.

  Hash: cbf39c5db97ec1f3fc1f27a22963915e42532170
  Files affected:

    .gitlab-ci.yml

2019-04-26  Tim Bishop  <tim@bishnet.net>

    Switch to GitLab CI templates.

    
  Hash: f57003e1f8cdac5a429f2cf763e4ab8a41e6cd16
  Files affected:

    .gitlab-ci.yml

2019-03-24  Jens Rehsack  <sno@netbsd.org>

    Add documentation for sg_log_init() to sg_init.3

    Add some rough documentation for sg_log_init and init sequence to 
    sg_init(3).

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: c1237aea05327fd91fd483b6dd5df6a40856749c
  Files affected:

    docs/libstatgrab/sg_init.xml

2019-03-24  Jens Rehsack  <sno@netbsd.org>

    Improve logging layout

    Add reasonable time format to appender layout when using log4cplus.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: f201e31e1301e26d2054f1d530d45893522e3253
  Files affected:

    libstatgrab-examples.properties
    saidar.properties.in
    statgrab.properties.in
    tests/multi_threaded/libstatgrab-test.properties
    tests/single_threaded/libstatgrab-test.properties

2019-03-24  Jens Rehsack  <sno@netbsd.org>

    Ensure modern log4cplus is used correctly

    With log4cplus 2.x, using applications are encouraged to initialize and 
    deinitialize the log library appropriately.

    Since libstatgrab removes its own global used memory during atexit(3) 
    phase, register logging deinitialization before sg_init(3) is called - 
    atexit hooks are usually executed in reverse order.

    Maybe this should be mentioned somewhere ...

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 910639fd281c8b67db1a85115427002e98685cd1
  Files affected:

    configure.ac
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    saidar.properties.in
    src/saidar/saidar.c
    src/statgrab/statgrab.c
    statgrab.properties.in
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c

2018-11-14  Jens Rehsack  <sno@netbsd.org>

    network_stats: improve Solaris link status

    From RT#...

    Hello, I observed the information about link status for Solaris Ethernet 
    interfaces does not appear in the same place in kstat structure.

    For "hme" and "ce" device drivers it appears in the driver instance
    information:
       module=ce, instance=0, name=ce0, class=net
       module=hme, instance=0, name=hme0, class=net

    For "bge" device driver it appears in
       module=bge, instance=0, name=mii, class=net

    For "e1000g" device driver it appears in
       module=e1000g, instance=0, name=statistics, class=net

    The "patch" updates the queries on kstat structure at least for these
    device drivers.

    Patch from https://github.com/i-scream/libstatgrab/issues/22

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 12c86c484b991d183b8d22ff291089049917fab7
  Files affected:

    src/libstatgrab/network_stats.c

2019-03-14  Tim Bishop  <tim@bishnet.net>

    Make sure regression test checks all diffs.

    Since it exits on the first command with a non-zero status it stops 
    after the first diff command. This stops that happening which shows all 
    diffs available.

  Hash: 9f7783e47b5569c96d88d588bcd6945f1cc5852f
  Files affected:

    .gitlab-ci.yml

2019-03-12  Tim Bishop  <tim@bishnet.net>

    Rename README.git to README.me and update.

    This file isn't included in the release archive. It's intended to guide 
    people who are visiting GitHub and point them towards more developer and
    testing orientated stuff.

  Hash: 5a5bf39967abbc53406a523faaa22fcfdbb4b54d
  Files affected:

    README.git
    README.md

2019-03-12  Tim Bishop  <tim@bishnet.net>

    Change issue reporting URL.

    This just redirects to the previous URL, but it's not specific to GitHub
    which gives us more options to change things in the future. We can
    easily change the website, but obviously we can't change files in 
    existing releases.

  Hash: 6b774ef5f087bca70cb995798cc2bc613a7fcce6
  Files affected:

    README
    configure.ac

2019-03-14  Tim Bishop  <tim@bishnet.net>

    Revert "Fix some potential fd leaks."

    This reverts commit d87efe0feee9bb85481d415809ca7e211d836df7.

    As @rehsack noted in #108, VECTOR_UPDATE_ERROR_CLEANUP already does
    this.

  Hash: cea4718d8e17747465a3f729be7a55798d8f5baf
  Files affected:

    src/libstatgrab/network_stats.c

2018-11-19  Tim Bishop  <tim@bishnet.net>

    Solaris: don't skip interfaces with partial data.

    In testing of VLANed interfaces it became apparent that they don't have 
    all data items (notably "collisions") which resulted in us skipping over 
    the interface. I've reworked this to only include the data items that 
    are present and not skip the interface.

    This also fixes a bug caused by us increasing the vector size and 
    partially populating it before skipping on to the next interface.
    Because the interfaces counter wasn't incremented the next loop around
    would overwrite this partial entry. This caused at best confusion if the
    skipped interfaces were last in the list; "why is only the last of these
    odd interfaces appearing?", and at worst an interface entry with a
    mixture of a skipped interface and an actual one. By not skipping
    interfaces we avoid this problem.

  Hash: 0fd6273937eeb120e56100a79909ec58c8974132
  Files affected:

    src/libstatgrab/network_stats.c

2019-03-01  Tim Bishop  <tim@bishnet.net>

    Fix some potential fd leaks.

    This may help with #82.

  Hash: d87efe0feee9bb85481d415809ca7e211d836df7
  Files affected:

    src/libstatgrab/network_stats.c

2019-01-19  Tim Bishop  <tim@bishnet.net>

    On FreeBSD 12+ vmmeter.v_cache_count is removed.

    See:

    https://reviews.freebsd.org/D8583 
    https://svnweb.freebsd.org/base?view=revision&revision=309017

    Dummy values (always returning 0) were added if COMPAT_FREEBSD11 is 
    defined. This is defined in GENERIC, so will be there for most users.

    This fixes #103 by testing for vmmeter.v_cache_count and setting the 
    cache value to 0 if it doesn't exist. However, more investigation may 
    need to be done to see if cache can be obtained in a different way.

  Hash: 087dbe7202cfa094c738452371fd273aa1a3d190
  Files affected:

    configure.ac
    src/libstatgrab/memory_stats.c

2018-11-15  Tim Bishop  <tim@bishnet.net>

    Add missing commas to configure.ac.

    Without this the following error can be seen:

    ./configure: line 8170: hpux11.11: command not found

    Because the code evaluated to:

    case $host_os in #(
     solaris2.[7-9]*) :
       ENABLE_DIRECT_TYPE_FMT_SEARCH_DEFAULT="size_t ssize_t"
           hpux11.11 ;; #(
     *) :
       ENABLE_DIRECT_TYPE_FMT_SEARCH_DEFAULT="size_t ssize_t"
           ENABLE_DIRECT_TYPE_FMT_SEARCH_DEFAULT= ;; esac

  Hash: 0d5199b17ee961e0a1d349adedcc8b70dddead8e
  Files affected:

    configure.ac

2019-02-27  Tim Bishop  <tim@bishnet.net>

    Fix build on NetBSD 8.

    This fixes the build of both libstatgrab and the examples.

    Fixes #100.

  Hash: baf8b7a6145433212d56017c7342d4f08f58c08b
  Files affected:

    configure.ac
    examples/helpers.h

2019-02-27  Tim Bishop  <tim@bishnet.net>

    Fix build on Alpine Linux.

    Fixes #87.

  Hash: a9f6591e6a9643c66a007c935e9d94d8917ea0f1
  Files affected:

    configure.ac
    src/libstatgrab/os_info.c

2019-03-12  Tim Bishop  <tim@bishnet.net>

    CI updates.

    Add solaris11x86, and remove spurious cat.

    Also allow check-results-master to fail. If it's running on master we've 
    made a decision that any failures are acceptable so we need it to
    complete and upload artifacts for future runs.

  Hash: 63fa4f638ad28366fdc0c8a19ce21f0b0cbd2479
  Files affected:

    .gitlab-ci.yml

2019-03-10  Tim Bishop  <tim@bishnet.net>

    Drop $Id$ - it hasn't done anything since CVS.

    
  Hash: 0081732b27ca660ad4167d8a97f1286f8dcf4a76
  Files affected:

    Makefile.am
    autogen.sh
    configure.ac
    docs/Makefile.am
    docs/libstatgrab/Makefile.am
    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am
    examples/Makefile.am
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    libstatgrab.pc.in
    m4/ax_ncurses.m4
    src/Makefile.am
    src/libstatgrab/Makefile.am
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/error.h
    src/libstatgrab/globals.c
    src/libstatgrab/globals.h
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/trace.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/saidar/Makefile.am
    src/saidar/saidar.c
    src/statgrab/Makefile.am
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c
    tests/Makefile.am
    tests/multi_threaded/Makefile.am
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/Makefile.am
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c
    tests/testlib/Makefile.am
    tests/testlib/err.c
    tests/testlib/opt.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2019-03-08  Tim Bishop  <tim@bishnet.net>

    Update the URL for libstatgrab's website.

    Also tidy up a few other bits of documentation whilst here.

  Hash: 617d5715d2c1cd24836c08e2f433eb505b085de9
  Files affected:

    AUTHORS
    Makefile.am
    NEWS
    PLATFORMS
    README
    README.git
    TESTING
    configure.ac
    docs/Makefile.am
    docs/libstatgrab/Makefile.am
    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_error.xml
    docs/libstatgrab/sg_get_fs_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/sg_init.xml
    docs/libstatgrab/sg_internal-intro.xml
    docs/libstatgrab/sg_intro.xml
    docs/libstatgrab/sg_lock_mutex.xml
    docs/libstatgrab/sg_set_error.xml
    docs/libstatgrab/sg_vector_create.xml
    docs/libstatgrab/statgrab.xml
    docs/saidar/Makefile.am
    docs/saidar/saidar.xml
    docs/statgrab/Makefile.am
    docs/statgrab/statgrab-make-mrtg-config.xml
    docs/statgrab/statgrab-make-mrtg-index.xml
    docs/statgrab/statgrab.xml
    examples/Makefile.am
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    src/Makefile.am
    src/libstatgrab/Makefile.am
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/error.h
    src/libstatgrab/globals.c
    src/libstatgrab/globals.h
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/trace.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/saidar/Makefile.am
    src/saidar/saidar.c
    src/statgrab/Makefile.am
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c
    tests/Makefile.am
    tests/multi_threaded/Makefile.am
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/Makefile.am
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c
    tests/testlib/Makefile.am
    tests/testlib/err.c
    tests/testlib/opt.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2019-03-01  Tim Bishop  <tim@bishnet.net>

    Compare config.h output in reference checks.

    This doesn't cause any failures (yet), but it's interesting to see if
    changes to the configure script cause unexpected problems.

  Hash: e3311535b5281f330965c1f818e37d8755dafc76
  Files affected:

    .gitlab-ci.yml

2019-02-27  Tim Bishop  <tim@bishnet.net>

    Add configuration for GitLab's CI.

    This performs a variety of tests on libstatgrab to make sure that 
    changes don't break existing functionality. It will also help us to find
    breakages on new versions of operating systems we already support.

  Hash: 901679aa3e5479725afb5e20c0df7fbd52624f1e
  Files affected:

    .gitlab-ci.yml

2018-11-14  Jens Rehsack  <sno@netbsd.org>

    configure.ac: fix indention

    Fix indention of checks after struct kinfo_proc/struct kinfo_proc2 
    checks are done.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: fc1e2c4f2256ca6767688e00cab25dfca920dcad
  Files affected:

    configure.ac

2018-11-14  Jens Rehsack  <sno@netbsd.org>

    process_stats: add more macos/darwin stats

    Add some stats on macos/darwin where Apple removed some details from BSD
    sysctl in 10.9 and replace it by information from proc_taskinfo and
    proc_bsdinfo.

    Since mach calls "task_to_pid" and "pid_to_task" are declared obsolete,
    don't rewrite process_stats for macos based on mach tasks but wait what
    Apple does.

    The only missing datum is cpu_percent, voluntary and involuntary csw
    need probably little research.

    Pays on https://github.com/i-scream/libstatgrab/issues/84

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: bd3b367c91e5609671d3d9ef2bcd78b927a986e5
  Files affected:

    configure.ac
    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.h

2018-11-14  Jens Rehsack  <sno@netbsd.org>

    config.{guess,sub},.gitignore: remove autoconf helper

    Remove accidently added files generated by autotools and ensure they're
    not added back again.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 0f7cba85efb28b1e62c093cbcdbc7f654e3c1766
  Files affected:

    .gitignore
    config.guess
    config.sub

2018-11-14  Jens Rehsack  <sno@netbsd.org>

    .gitignore: hide more build artifacts

    Ensure not accidental put compile results into repository.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: d7694a2540f1bcc497cfa3534d6e5121dba44eb8
  Files affected:

    .gitignore

2018-11-11  Jens Rehsack  <sno@netbsd.org>

    process_stats: fix two rare issues

    While scanning /proc, when a process disappears, continue scanning 
    instead of working on possible unintialized memory due race condition.

    Thanks @tdb for reporting
    (https://github.com/i-scream/libstatgrab/issues/91)

    On possible retry failure during fetch all process info via MIB on *BSD,
    free previously allocated memory on bail out on error.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 23c1e0b83674dd0bb2bb923bb2cbcc40c8d26b8e
  Files affected:

    src/libstatgrab/process_stats.c

2018-11-11  Jens Rehsack  <sno@netbsd.org>

    libstatgrab/{cpu,network}_stats.c: fix memory leak

    Fix found memory leaks reported via
    https://github.com/i-scream/libstatgrab/issues/90

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: d4ecd6d440534d0ca14448c602f85fc263f45cb6
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/network_stats.c

2018-11-11  Jens Rehsack  <sno@netbsd.org>

    ax_shellvars.m4: fix permissions

    Fix permission on ax_shellvars.m4 from 755 -> 644

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 338a4acfe631b2e3e616c2fc2a97b1114e43f41d
  Files affected:

    m4/ax_shellvars.m4

2018-11-11  Jens Rehsack  <sno@netbsd.org>

    ax_pthread.m4: Update to version 24

    Reviewed changes from autoconf-archive (upstream) and didn't find
    anything which could cause a known issue on proprietary systems. Without
    ability to test the review must be enough.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 59c7436c4d73ff0a79b4c745bae3a336ee014f3b
  Files affected:

    m4/ax_pthread.m4

2016-09-08  Tim Bishop  <tim@bishnet.net>

    Allow manual pages to be completely disabled.

    Previously, the --disable-man-build flag would stop the build from
    looking for the docbook2x tool and building the manual pages. However,
    it still tried to install the non-existent manual pages later, which
    failed.

    This change renames that flag to --disable-man and makes it completely 
    ignore the manual pages.

    Signed-off-by: Jens Rehsack <sno@netbsd.org>

  Hash: 42440142b41a35b3bad2d2d50bc337dcd56f1c17
  Files affected:

    configure.ac
    docs/libstatgrab/Makefile.am
    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am

2015-08-18  Christopher Meng  <i@cicku.me>

    Add Linux 4.x in PLATFORMS

    I've verified this on Fedora Rawhide with kernel 4.x and all examples
    and library itself work fine.
  Hash: 897fedb9fdeab9934e92d072d6337eb061ce1e13
  Files affected:

    PLATFORMS

2015-08-18  Christopher Meng  <i@cicku.me>

    Update autogen.sh

    Verbose output would be more useful to packagers.
  Hash: 111a17e06d5b69deabc78648649b8e8985ee5cd4
  Files affected:

    autogen.sh

2015-08-21  Tim Bishop  <tim@bishnet.net>

    Remove bin_ variables from pkg-config file.

    I added these in commit e638f3d0559d62671a7f6d2476c359251260cdff, 
    although I'm not entirely sure why. They have no use in pkg-config as 
    far as I can tell.

  Hash: 4f9a1ecfdf1db098ffaad0bbf94027663e93a9c5
  Files affected:

    libstatgrab.pc.in

2014-08-23  Jens Rehsack  <sno@netbsd.org>

    fetch thread name from comm, if available

    Since sg_get_process_stats eliminates surrounding brackets either when 
    comm (thread name of active thread of a process) is taken from stat 
    file, read it pure from comm. Because of some firmware drivers create
    names containing spaces, this is safer than parsing unknown number
    elements in front of stat content.

  Hash: ca9fa7749d7773910e9870cafcf4862f0ff1b39a
  Files affected:

    src/libstatgrab/process_stats.c

2014-07-16  Jens Rehsack  <sno@netbsd.org>

    fix parallel build of manpages and symlinks

    for GNU make and some BSD makes. Typically people won't encounter it, 
    because they use the distributed package which already contains
    manpages. Other makes can be supported once concrete issues pop up.

  Hash: c39988855a9d1eb54adadb899b3865304da2cf84
  Files affected:

    docs/libstatgrab/Makefile.am

2014-07-16  Jens Rehsack  <sno@netbsd.org>

    deal with broken procfs

    On several embedded platforms the procfs implementation might differ. 
    Deal with that correctly (fix fd resource leak).

  Hash: 84fd8c38ee4feb0117ed22ab56f6b46661411ec6
  Files affected:

    src/libstatgrab/process_stats.c

2014-07-11  Tim Bishop  <tim@bishnet.net>

    Update for 0.91 release.

    
  Hash: d8d6c819ee007eb03bc95a48a614bcefec229b42
  Files affected:

    NEWS
    configure.ac

2014-07-07  Tim Bishop  <tim@bishnet.net>

    Update for 0.91-rc2.

    
  Hash: 28151cc18d65bc0dc3568b2f48d1a528bb296e9d
  Files affected:

    configure.ac

2014-07-07  Tim Bishop  <tim@bishnet.net>

    statgrab.h should not be bundled in dist

    It's generated from statgrab.h.in.

  Hash: 02d6f44ab99bdc7164ae668d7b8aba19459b0788
  Files affected:

    src/libstatgrab/Makefile.am

2014-07-07  Tim Bishop  <tim@bishnet.net>

    Use STATGRABCPPFLAGS.

    This is exported by the configure script so we should use it here. Even
    if it has nothing in it now it'll avoid confusion later.

  Hash: 726909452ad72a9c5844ac47d983b8427458d378
  Files affected:

    src/statgrab/Makefile.am

2014-07-06  Jens Rehsack  <sno@netbsd.org>

    fix ChangeLog is tried to rebuild for non-devs

    Only maintainer shall rebuild ChangeLog - all the rest should take the 
    deployed one or dig deeper.

  Hash: 65b5fab6b7b899b39bba73aa91c195288af772a5
  Files affected:

    Makefile.am

2014-07-06  Jens Rehsack  <sno@netbsd.org>

    introduce STATGRAB(LIBS|CPPFLAGS) for additional

    while statgrab itself gets more complex, requirements becoming tricky,
    too. introduce common place to merge build requirement check results and
    it's first customer is failing isnan symbol on AIX when lining statgrab.

  Hash: 58d73da0bc7631336543e2b68873dea0db62bc5a
  Files affected:

    configure.ac
    src/statgrab/Makefile.am

2014-07-06  Jens Rehsack  <sno@netbsd.org>

    prefer AS_IF over handcrafted if/then/fi

    
  Hash: 09aaf6822055475fdf2a3765cc98fde01eaaa663
  Files affected:

    configure.ac

2014-07-06  Jens Rehsack  <sno@netbsd.org>

    fix requirement of existing ChangeLog for autoconf

    Add a rule to generate a ChangeLog (make ChangeLog) to avoid the file 
    must exist before auto(re)conf is invoked

  Hash: 5b709454e6c5e64f6240cb74c8d7809501a72638
  Files affected:

    Makefile.am

2014-06-12  Tim Bishop  <tim@bishnet.net>

    Prepare for 0.91 release.

    This includes a note in README that covers the RPATH/ldconfig issue 
    found #37, and also a note for the parallel installation discussion in 
    issue #25.

  Hash: b8698cb49858f03804a54fd4a7a1f02363b7175c
  Files affected:

    NEWS
    PLATFORMS
    README
    configure.ac
    src/libstatgrab/Makefile.am

2014-06-17  Tim Bishop  <tim@bishnet.net>

    Don't modify behaviour on non-Windows platforms.

    
  Hash: 3eb18de850702b382a25be331ef258ee806bf872
  Files affected:

    src/libstatgrab/tools.h

2014-02-26  Brent Cook  <brent@boundary.com>

    Resurrect CPU counters for Win32

    Performance Data Helpers may be nonsense, but are better than nothing

  Hash: efe3473a2e829a78ebb7343ad8b800cddce5da34
  Files affected:

    src/libstatgrab/cpu_stats.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Fix build errors if pthreads are not present

    
  Hash: f745b61abdd10d694fb1a16d23b147594dca3418
  Files affected:

    src/libstatgrab/globals.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Fix various win32 build errors with memory_stats

    
  Hash: 40496292546f5dd5574588a2aa1a9c6f559745d2
  Files affected:

    src/libstatgrab/memory_stats.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Fix various win32 build errors with network_stats

    
  Hash: 27fe91d4177aa1a2284d79cb74e76404517083ed
  Files affected:

    src/libstatgrab/network_stats.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Fix various win32 build errors in os_info

    
  Hash: d2edc3d6b0b0f108f19db899a3526cd3ed016112
  Files affected:

    src/libstatgrab/os_info.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Implement sg_get_sys_page_size on win32

    
  Hash: cb7722fa0af42bcafed6b9d58aaeed2cd2ed2d10
  Files affected:

    src/libstatgrab/tools.h

2014-02-26  Brent Cook  <brent@boundary.com>

    Update user_stats error handling on win32

    
  Hash: 1f73da02fd7b95d2b27799648eebeabee4f7180d
  Files affected:

    src/libstatgrab/user_stats.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Update win32 error handling

    
  Hash: 2f802c9f32e86ac5dbad7a84b07f085684b0922b
  Files affected:

    src/libstatgrab/win32.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Rename stat_type enumerations

    Rename stat_type enumerations in example program to not conflict with 
    builtin Windows types

    Windows defines typedefs for INT, FLOAT, etc. that conflight with the 
    stat_type enumeration. Add STAT_TYPE to these so they can build on 
    Windows (tested in mingw on Ubuntu 13.10)

  Hash: 77e7dc625a7c5ee4bdb1d10d08a209314aa00a43
  Files affected:

    src/statgrab/statgrab.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Fix Win32 compile errors in disk_stats

    
  Hash: df38a07b74293e592e70a98383fd0960fc674361
  Files affected:

    src/libstatgrab/disk_stats.c

2014-02-26  Brent Cook  <brent@boundary.com>

    Bump Win32 API level to Windows 2003 0x502

    
  Hash: 4003c775c00392a87b9df83729325229fd68b830
  Files affected:

    configure.ac

2014-02-26  Brent Cook  <brent@boundary.com>

    Support config with mingw cross-compiled on Linux

    prefer lower-case header and dll names

  Hash: f5b785945f3fd0cf4cccb7eeeb5edb6f9494d469
  Files affected:

    configure.ac

2014-06-16  Jens Rehsack  <sno@netbsd.org>

    add support for system-wide logging properties

    * when installing libstatgrab with log4cplus, enable search in
    sysconfdir
     for properties files, too
    * deploy default properties when log4cplus enabled

  Hash: 5ab2b74558f1a93083736b350ced9b22c2066556
  Files affected:

    Makefile.am
    saidar.properties.in
    src/libstatgrab/Makefile.am
    src/libstatgrab/tools.c
    statgrab.properties.in

2014-06-16  Jens Rehsack  <sno@netbsd.org>

    install typical distribution documentation

    NEWS, PLATFORMS, README, AUTHORS, COPYING and COPYING.LGPL are now
    installed under share/doc/libstatgrab

  Hash: 8502ad9f9a1c6e5d7df6522a2ac7dcc708c84123
  Files affected:

    Makefile.am

2014-06-15  Jens Rehsack  <sno@netbsd.org>

    improve division by zero fix

    
  Hash: 0b4cdbe0eca52a42725b4aab35722e9e09ebb05c
  Files affected:

    src/saidar/saidar.c

2014-06-13  Tim Bishop  <tim@bishnet.net>

    Fix divide by zero.

    This fixes the divide by zero display problem (where -nan is displayed 
    in saidar's output) and displays a simple '-' instead.

    Fixes #34.

  Hash: 1c80cd80bc340b8e610e5d660b27b18fe4e92905
  Files affected:

    src/saidar/saidar.c

2014-06-13  Tim Bishop  <tim@bishnet.net>

    A few fixes and style cleanups for graphite code.

    
  Hash: bfdd4d4d0f2b2046dae79266a5cafbb3ef5b214a
  Files affected:

    src/statgrab/statgrab.c

2014-06-11  JohnLyman  <jlyman@jlyman-powerpc>

    Added option for Graphite-compatible output

    
  Hash: 80e70e3cc7f1385f61e78536d53d9418dcb0fd89
  Files affected:

    src/statgrab/statgrab.c

2014-06-13  Tim Bishop  <tim@bishnet.net>

    Fix tests when using a VPATH build.

    The problem is that App::Prove (or whatever it uses) doesn't chdir to
    the directory before running the tests. So the relative include path in
    the .t file is only valid if you're inside the single_threaded or
    multi_threaded directories. Running the tests from there works fine, but
    if you run it from the directory above the relative path points to the
    wrong place and it breaks. This change uses an absolute path so it works
    in both cases.

    An alternative fix would be to modify the Makefile in tests to chdir to
    each sub-directory before launching App::Prove, or if App::Prove has a
    way of doing the chdir itself that'd also work.

    Fixes #43.

  Hash: ca146cf817e7baca71cd7b5e6618a5f7fdcd4053
  Files affected:

    tests/multi_threaded/Makefile.am
    tests/single_threaded/Makefile.am

2014-06-13  Tim Bishop  <tim@bishnet.net>

    Enable logging check if --with-log4cplus is given.

    
  Hash: 3af8c5f1608289db5b2a2e3b34f4063808f2d809
  Files affected:

    configure.ac

2014-06-13  Tim Bishop  <tim@bishnet.net>

    Set logging to check with maintainer mode.

    This fixes part of #54.

  Hash: 00763d65cfd6d391c0f39d3070db085c60e58449
  Files affected:

    configure.ac

2014-06-11  Tim Bishop  <tim@bishnet.net>

    Display new device_canonical field.

    A new field has been added to the filesystem statistics in libstatgrab. 
    The device_canonical field holds the real device name after resolving 
    symlinks. The original device_name field remains unchanged and holds 
    whatever is given by the operating system. When device_name is not a 
    symlink both fields are the same.

    Here's an example of where it's useful:

    /dev/disk/by-uuid/ee2f048d-68f6-428a-a95a-c949d3c05d67 -> ../../sda2

    In this case, device_name contains the left-hand side and 
    device_canonical contains "/dev/sda2".

  Hash: f34588d5fb1cd3633d85e46fe628f9f33aeda3a8
  Files affected:

    src/statgrab/statgrab.c

2014-06-11  Jens Rehsack  <sno@netbsd.org>

    change default logging behavior from check to no

    
  Hash: ba3f0134488b6e930e93f9819e3beaed929835c0
  Files affected:

    configure.ac

2014-06-11  Jens Rehsack  <sno@netbsd.org>

    ensure buffers are reasonable flushed

    When a reasonable way to configure stdio streams being line buffered, 
    configure them. Otherwise flush after all desired stats are printed.

  Hash: 4a4d8fce0338bc02b17acdcdbf91ffb7aafcb728
  Files affected:

    src/statgrab/statgrab.c

2014-06-11  Jens Rehsack  <sno@netbsd.org>

    prove whether setvbuf or a fallback is available

    XPG6 specifies setvbuf for configuring stdio streams buffering behavior. 
    When no setvbuf is available, check for existence of setlinebuf which 
    could be a reasonable fallback.

  Hash: 315ef579cb35b2d483c9afef6c9f09fd3e2a507f
  Files affected:

    configure.ac

2014-06-11  Jens Rehsack  <sno@netbsd.org>

    add device_canonical for resolved device_name

    If, however, necessary to resolve a device path, the resolved fqpn is 
    stored in device_canonical attribute. Otherwise, device_canonical 
    contains the same value as device_name.

  Hash: 4b65b609da1a4dc2a1d31aa9637a244f0dd48a1f
  Files affected:

    configure.ac
    src/libstatgrab/disk_stats.c
    src/libstatgrab/statgrab.h.in

2014-06-06  Jens Rehsack  <sno@netbsd.org>

    fix man-page build configuration

    
  Hash: ed1a282e07653896b6a242f77e0b32b80e6dbdc3
  Files affected:

    configure.ac

2014-06-05  Jens Rehsack  <sno@netbsd.org>

    don't resolve disk-device symlinks

    * enable symlink resolving when mnttab points to somewhere in /proc or
    user
     or packager enables it manually

  Hash: 11260a012882ec18f5ee60fc2517d06ca8b3e718
  Files affected:

    configure.ac
    src/libstatgrab/disk_stats.c

2014-06-04  Jens Rehsack  <sno@netbsd.org>

    disable automatic build of examples

    except if in maintainer mode

  Hash: 76a985d0a95c6ba62f262db420eaf084865ed952
  Files affected:

    configure.ac

2014-06-03  Jens Rehsack  <sno@netbsd.org>

    fix unused variable for logging ...

        process_stats.c:772:11: warning: unused variable 'failing_pid'
       process_stats.c:1070:10: warning: variable 'p' set but not used
    [-Wunused-but-set-variable]

  Hash: cdd044b5da3da3924a1ce59e6041944c8895affc
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/trace.h

2014-06-03  Jens Rehsack  <sno@netbsd.org>

    fix compiler warning

    This fix is to eliminate:

        full_stats.c:134:10: warning: passing argument 1 of
    'get_testable_functions' from incompatible pointer type
       full_stats.c:134:68: warning: incompatible pointer types passing
    'unsigned long *' to parameter of type 'size_t *' (aka 'unsigned int *')
    [-Wincompatible-pointer-types]

  Hash: dbbf814c76be6e714f6dfc581dc8389a011910da
  Files affected:

    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c

2014-06-02  Jens Rehsack  <sno@netbsd.org>

    add strlcat/strlcpy checks

    Without them tools.h will always pretend sg_strlcat should be strlcat 
    which causes redefinition warnings. Remove libstatgrab-wide export of 
    internal strlcat - helpers sg_log_init is integrated and the routines 
    are internal only now.

  Hash: 078f1871f6f125c7853d8f0e17e4cf9fcb63c995
  Files affected:

    configure.ac
    src/libstatgrab/network_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2014-06-02  Jens Rehsack  <sno@netbsd.org>

    eliminate some -Wunused-result warnings

    
  Hash: 62b2a65734ba181552f36db75673ae2e28b44aba
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c

2014-06-02  Jens Rehsack  <sno@netbsd.org>

    resolve symbolic links on device names

    If a device name is a link, resolve the link and compute canonical path 
    name from it. Some modern systems use device-independent identifiers 
    with a symlink to the physical device to avoid different order of
    registering during boot causes trouble.

  Hash: dc1381dc89e4e8774c7264f2176cf9f9e737cbf8
  Files affected:

    configure.ac
    src/libstatgrab/disk_stats.c

2014-05-30  Tim Bishop  <tim@bishnet.net>

    Fix compiler warning created in commit dd23b3b.

      process_stats.c:189:6: warning: comparison of integers of different
    signs: 'unsigned long' and 'ssize_t' (aka 'long') [-Wsign-compare]
             if( PIPD_IS_FULL( pipd, sys_page_size ) ) {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     process_stats.c:182:95: note: expanded from macro 'PIPD_IS_FULL'
     #define PIPD_IS_FULL(pipd,size) (offsetof(struct pids_in_proc_dir_t,
    items[(pipd)->nitems+1]) > (size))
                                     
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

  Hash: a9d940c32a10ef4910a1ae5743d69be3b626e4df
  Files affected:

    src/libstatgrab/process_stats.c

2014-05-22  Tim Bishop  <tim@bishnet.net>

    Fix PIPD_IS_FULL.

    PIPD_IS_FULL wasn't correctly identifying pipd being full which resulted
    in the add_pid_to_pids_in_proc_dir function walking off the end of the
    allocated memory structure. This caused the breakage seen in #38.

    The problem was found using the Solaris watchmalloc library.

  Hash: dd23b3bedf85e59a4a2bc52fb1978c322a6b5cbe
  Files affected:

    src/libstatgrab/process_stats.c

2013-08-12  Tim Bishop  <tim@bishnet.net>

    Add missing brackets in AC_INIT.

    This was suggested by autoupdate.

  Hash: b18b8e7532f5eccfc23d75307712f5a56b76ef66
  Files affected:

    configure.ac

2013-08-12  Tim Bishop  <tim@bishnet.net>

    Break the ChangeLog generation up.

    This used to be split over multiple lines when it was in the Makefile, 
    but I concatenated it by mistake when bringing it across to here.

  Hash: e5702436f8c4f14bebf6d22ecea9720bf23a4bc1
  Files affected:

    autogen.sh

2013-08-12  Tim Bishop  <tim@bishnet.net>

    Make sure the test target builds dependencies.

    The test target can only be run after the tests and the libstatgrab 
    library have been built, otherwise it reports that there's nothing to
    test:

    Result: NOTESTS

    This change only builds the required dependencies, so it won't build the
    examples or manpages.

  Hash: 6a36e40262d5368fabf804213aa568d43bf04be9
  Files affected:

    tests/Makefile.am
    tests/multi_threaded/Makefile.am
    tests/single_threaded/Makefile.am

2014-03-13  Tim Bishop  <tim@bishnet.net>

    Add support for FreeBSD 11+.

    This change adds support for FreeBSD 11, and onwards up to 19. I've also
    changed the comment to correct reflect that it's FreeBSD 5+, rather than
    specifically 5 to 11.

    Mostly solves #26.

  Hash: 73f7fac3e8b72fb34799b17aa111a34bd835e909
  Files affected:

    configure.ac

2014-03-13  Jens Rehsack  <sno@netbsd.org>

    fix missing "x" typo

    
  Hash: 66f4120bbb305139b71beafbdd90f63ee1f289a5
  Files affected:

    configure.ac

2014-03-13  Jens Rehsack  <sno@netbsd.org>

    fix configure gives --with-mnttab a higher prio

    
  Hash: fc1751ba310c91db9dad7bdc11e7dbba5821c294
  Files affected:

    configure.ac

2014-03-13  Manuel A. Fernandez Montecelo  <mafm@debian.org>

    Fix FTBFS in many arches due to FS tests

    The cause is that it cannot find /etc/mtab (or equivalent) in some
    arches.  The new standard place for this is '/proc/self/mounts'. 
    "./configure
    --with-mnttab='/proc/self/mounts'" does not seem to work.

  Hash: 1ffe0b322e2c58e222ce918099dd0f2acfdcd9fa
  Files affected:

    src/libstatgrab/disk_stats.c

2013-08-12  Adam Sampson  <ats@offog.org>

    Update the FSF's address in the licensing notices.

    The FSF moved several years ago; this updates all the mentions of their 
    address in the GPL/LGPL copies (for which I've just taken the latest 
    plain-text copy of the GPLv2 and LGPLv2.1 from the FSF web site) and the 
    licensing headers in our files.

  Hash: c5af9952a306194e93a650183eba4b0fca565179
  Files affected:

    COPYING
    COPYING.LGPL
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/error.h
    src/libstatgrab/globals.c
    src/libstatgrab/globals.h
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/trace.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/saidar/saidar.c
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c
    tests/testlib/err.c
    tests/testlib/opt.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2013-08-09  Adam Sampson  <ats@offog.org>

    Fix list miscounting in sg_set_valid_filesystems.

    Previously this counted the NULL entry that terminated the list -- so 
    the length was set to be one too high, and reading the list back with 
    sg_get_valid_filesystems would produce a spurious NULL at the end.

  Hash: 1d430074b2206012794ab65937d1c3418eafc3f0
  Files affected:

    src/libstatgrab/disk_stats.c

2013-08-03  Jens Rehsack  <sno@netbsd.org>

    Fix vector creation for 1 element vectors.

    
  Hash: beb0e2be3fb9994d90194b032b96e218b73be463
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/globals.h

2013-08-03  Jens Rehsack  <sno@netbsd.org>

    Skip CTL_HW.HW_MACHINE_ARCH error in some cases.

    Be quiet when CTL_HW.HW_MACHINE_ARCH fails, but CTL_HW.HW_MACHINE works.

  Hash: 7880116baf3f6590b33137ff8a4d3f257825479c
  Files affected:

    src/libstatgrab/os_info.c

2013-08-02  Tim Bishop  <tim@bishnet.net>

    Update version number for final release.

    
  Hash: da0893f656c19ad35f3bd9fcabd4dd0e621a1ced
  Files affected:

    configure.ac

2013-08-02  Tim Bishop  <tim@bishnet.net>

    Update the README, NEWS and PLATFORMS files.

    Remove $Id$, since it's no longer expanded.

  Hash: 5f01fdde1b381ac82bd00a06978d1a116ec9b696
  Files affected:

    NEWS
    PLATFORMS
    README
    README.git

2013-08-02  Jens Rehsack  <sno@netbsd.org>

    Update NEWS - prepare for sync with tdb@.

    
  Hash: 456d2defee7c0d9157298f3ac83272bb3ce03b08
  Files affected:

    NEWS

2013-07-31  Tim Bishop  <tim@bishnet.net>

    Final RC build, libstatgrab-0.90-rc4.

    
  Hash: d56179a5d028255f0ee8042ec49bfe3c3c38bc15
  Files affected:

    TESTING
    configure.ac

2013-07-31  Tim Bishop  <tim@bishnet.net>

    Fix Solaris check.

    Solaris is known as solaris2.N not solarisN. Need two sets of brackets.

  Hash: a55788694a91bc92e022a0bd12aacc179fb46d1f
  Files affected:

    configure.ac

2013-07-31  Jens Rehsack  <sno@netbsd.org>

    Introduce ability to skip def printf/scanf fmt.

    
  Hash: ed7ff9df7fa2bd15a652672dc6f084417f8142ed
  Files affected:

    configure.ac
    m4/ax_types.m4

2013-07-31  Jens Rehsack  <sno@netbsd.org>

    Refactor AX_APPEND_TO_VAR.

    * Extract "function" macro: AX_VAR_CONTAINS_IF_ELSE
     from AX_APPEND_TO_VAR.
    * Introduce macro AX_VAR_CONTAINS_ANY_IF_ELSE analogue
     to AX_VAR_CONTAINS_IF_ELSE.

  Hash: afa36180d224131589be872d8096d9b7ca2fab93
  Files affected:

    m4/ax_shellvars.m4

2013-07-30  Jens Rehsack  <sno@netbsd.org>

    Correct some minor nits.

    
  Hash: 3c8f958231ea306de3b6530bec2350df109ebfd8
  Files affected:

    src/libstatgrab/globals.c

2013-07-30  Jens Rehsack  <sno@netbsd.org>

    Improve / document type format checks.

    According to expected failed -Werror support in autoconf for non-gnu 
    compilers, the format check was rewritten. Due touching it anyway, some
    tidying, documenting and polishing was done.

  Hash: d5a5984fe17999a894a6fac37448d880882c00fb
  Files affected:

    m4/ax_types.m4

2013-07-30  Jens Rehsack  <sno@netbsd.org>

    Similar to pid_t fmt check add some for [s]size_t.

    
  Hash: 97c50b2206ec9e2733e7db0c25a6f160404bda29
  Files affected:

    configure.ac
    m4/ax_types.m4
    src/libstatgrab/disk_stats.c
    src/libstatgrab/globals.c

2013-07-29  Jens Rehsack  <sno@netbsd.org>

    Remove unnecessary size_t usage to avoid crashes.

    
  Hash: 73ec085999d4bad294f7e20d739e9cdfd0bb348b
  Files affected:

    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c

2013-07-29  Jens Rehsack  <sno@netbsd.org>

    process_stats fixes.

    * reduce message severity for passes away processes from ERROR to INFO.
    * clear mib structure before trying to fetch processes again.

  Hash: 5c882454746ccac63bd77ee3ef2afd8ef78ac6ee
  Files affected:

    src/libstatgrab/process_stats.c

2013-07-19  Tim Bishop  <tim@bishnet.net>

    Ready for rc3.

    
  Hash: ae7fafa946ca4716113ee2aae1be09c2a7782cd0
  Files affected:

    TESTING
    configure.ac

2013-07-18  Reini Urban  <rurban@cpanel.net>

    Error in tempfile() using template /tmp//...

    Use basename to strip a fullpath self->{exename} in the perl testlib.

  Hash: 640c76e6dcdb5902dff4b0c7b75eb92596df13fa
  Files affected:

    tests/testlib/run_tests.pm

2013-07-19  Jens Rehsack  <sno@netbsd.org>

    Fix finding of pkgsrc/mk/check-portability.awk:

    ERROR: [check-portability.awk] => Found test ... == ...: ERROR:
    [check-portability.awk] configure: if test
    "x$ac_cv_unspecified_size_last_struct_member" == "xyes"; then : ERROR:
    [check-portability.awk] configure: if test "x$ac_cv_zero_array_size" ==
    "xyes"; then :

    Explanation:
    =========================================================================== 
    The "test" command, as well as the "[" command, are not required to know 
    the "==" operator. Only a few implementations like bash and some 
    versions of ksh support it.

  Hash: 9bec82a23a3b3de6525b2e038716b7ee5ac218fe
  Files affected:

    configure.ac

2013-07-18  Tim Bishop  <tim@bishnet.net>

    Ready for 0.90-rc2.

    
  Hash: a08937a48ec352830cd31648b8fb870a524757c3
  Files affected:

    TESTING
    configure.ac

2013-07-18  Jens Rehsack  <sno@netbsd.org>

    Don't add "." extension separator twice.

    
  Hash: ce057f680f67b6fcbdbc2643e4cc690d274f5389
  Files affected:

    m4/ax_lib.m4

2013-07-18  Tim Bishop  <tim@bishnet.net>

    TODO has been moved to the GitHub issue tracker.

    https://github.com/i-scream/libstatgrab/issues

  Hash: 2e605d79b454ee61a46c1ece2e1d20e2c1bb88c1
  Files affected:

    TODO

2013-07-17  Jens Rehsack  <sno@netbsd.org>

    Add libtool support to sg_log_init.

    sg_log_init will now remove trailing "/.libs" from dirname(argv[0]) when
    searching for properties file. That allows developers to forget about
    that .libs hidden subdir of libtool stuff.

  Hash: 9ff8d668b615429da5f3a0ef763aeb2f855d1eef
  Files affected:

    src/libstatgrab/tools.c

2013-07-17  Jens Rehsack  <sno@netbsd.org>

    Control log targets when log4cplus is used.

    For those environments with log4cplus support, the test controller now
    prepares special non-conflicting log-properties to guarantee proper test
    working.

    Further, in case of errors, the diagnostics improves.

  Hash: cd3afa5fb1e8f208e2800e3164b35139c8a36b62
  Files affected:

    tests/testlib/run_tests.pm

2013-07-17  Jens Rehsack  <sno@netbsd.org>

    Add append mode for created log-files by default.

    
  Hash: de318e08d13b0c773f9d8fc998d579480a2801c4
  Files affected:

    tests/multi_threaded/libstatgrab-test.properties
    tests/single_threaded/libstatgrab-test.properties

2013-07-17  Jens Rehsack  <sno@netbsd.org>

    Give more information about where we're running.

    
  Hash: 6ff05acbf6f0cd1ba4bac530c615fbaa7379cbd7
  Files affected:

    tests/testlib/run_tests.pm

2013-07-17  Jens Rehsack  <sno@netbsd.org>

    Prefer __PACKAGE_->can() over accessing namespace.

    
  Hash: db2fd70e3e6c07329a39d7f4250b08b5b12de399
  Files affected:

    tests/testlib/run_tests.pm

2013-07-17  Jens Rehsack  <sno@netbsd.org>

    Fix configure internal check regarding uvm/uvm.h.

    
  Hash: dcd18c633b17a3e88660e188eb0212b8ae9da7f6
  Files affected:

    configure.ac

2013-07-16  Jens Rehsack  <sno@netbsd.org>

    Fix ugly typo.

    
  Hash: 0194d68ae99a873e8a54050639fdf5c44ae8ac53
  Files affected:

    src/libstatgrab/process_stats.c

2013-07-16  Jens Rehsack  <sno@netbsd.org>

    Add support for compilers without unspec array len.

    There are compilers out there complaining about

    struct foo {
       char *bar;
       unsigned many[];
    };

    Provide tests and workarounds for hopefully all situations.

  Hash: 625fdce29d3d94fbe30e152582b37e670cbfbfb7
  Files affected:

    configure.ac
    src/libstatgrab/process_stats.c

2013-07-16  Jens Rehsack  <sno@netbsd.org>

    Deal with old and/or broken ethtool.h.

    
  Hash: f340b3601de83e9bd9e5da392557c8f60a3faf29
  Files affected:

    configure.ac
    src/libstatgrab/network_stats.c
    src/libstatgrab/tools.h

2013-07-16  Jens Rehsack  <sno@netbsd.org>

    Fix some ANSI C issues.

    
  Hash: 584cdbceb117adeb745d9524d2511e94a63b8837
  Files affected:

    src/libstatgrab/globals.c
    src/statgrab/statgrab.c

2013-07-15  Jens Rehsack  <sno@netbsd.org>

    Don't +1 strlen too often.

    
  Hash: 0334609fcaee962433c43b47485da7a8ba67b671
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/user_stats.c

2013-07-15  Jens Rehsack  <sno@netbsd.org>

    Use strnlen in sg_lupdate_string.

    If no strnlen is provided, use own one.

  Hash: a11142f588317cdc63b3135280f5c28b8ed4d793
  Files affected:

    configure.ac
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2013-07-15  Jens Rehsack  <sno@netbsd.org>

    Explain why only AC_CANONICAL_HOST.

    Explain (for dumb maintainers like me) why we only need 
    AC_CANONICAL_HOST and why it's dumb to use --target.

  Hash: 37d0194fd48e655eeba9d1a2e333d7be2f9e983c
  Files affected:

    configure.ac

2013-07-15  Jens Rehsack  <sno@netbsd.org>

    Try to guess when a fixed sized buffer is used.

    When a fixed sized buffer is used in struct utmpx and/or struct utmp,
    use only the size of the source.

  Hash: 18233d3ec16539f648926970eb95830c89cc6e2b
  Files affected:

    src/libstatgrab/user_stats.c

2013-07-11  Tim Bishop  <tim@bishnet.net>

    For consistent behaviour add config.{guess,sub}.

    This makes it consistent across build platforms, and ensures that anyone
    checking out our Git repository gets the same versions of these files as
    we do. They match upstream so can be updated when needed.

    It'd be nice to be able to rely on the operating system provided ones 
    being current, but at least in FreeBSD they're replaced by old ones. I 
    consider that a bug, but it's not been resolved yet.

    They're sourced from here:

    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD 
    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

  Hash: 6252f81d0ca56b18b3c9da30acbbe59875356d89
  Files affected:

    .gitignore
    autogen.sh
    config.guess
    config.sub

2013-07-11  Tim Bishop  <tim@bishnet.net>

    Move the ChangeLog generation out of the Makefile.

    Having it in the Makefile broke the distcheck target. The specific 
    failure case is if you do a VPATH configure, and then use the make dist
    target, it regenerates the ChangeLog file rather than using the one in
    $(srcdir) as it does for other distributed files. The reason it does
    this is because there's a ChangeLog target in the Makefile.

    This doesn't feel like a perfect solution, but it only makes life a 
    little harder for devs, and fixes potential breakages for users.

  Hash: 426e76b4bbddf81a92308c2e4531687fa3bfbbc2
  Files affected:

    Makefile.am
    autogen.sh

2013-07-11  Tim Bishop  <tim@bishnet.net>

    Only clean manpages with maintainer-clean.

    We don't distribute the source files for rebuilding these, so it makes 
    no sense to clean them, or even distclean them. They're not intended to
    be rebuilt be users of the tarball, only by people working from the git
    sources.

  Hash: cb978e7f39f80b744a21b8448be5a81d8aa8de93
  Files affected:

    docs/libstatgrab/Makefile.am
    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am

2013-07-10  Tim Bishop  <tim@bishnet.net>

    Make check an alias for test.

    Ideally, the test suite would use the make check stuff properly, but 
    this is sufficient to allow things like "make distcheck" to work.

  Hash: d21f938c9d257b774b7b2444e74c3a9d3c17f7be
  Files affected:

    Makefile.am

2013-07-10  Tim Bishop  <tim@bishnet.net>

    Only enable setuid/setgid binaries if requested.

    Prior to this commit, if required to collect statistics by the operating
    system, binaries were installed with the setuid or setgid bit set. Since
    the actual cases where this is needed are rare, and since it leaves a
    hole for exploitation, we now only do this if the user explicitly
    requests it when building.

    So setuid and setgid binaries are still available, you just need to use
    --enable-setuid-binaries or --enable-setgid-binaries to enable them.
    These options have no effect if the operating system has no need for
    setuid or setgid binaries to collect statistics.

  Hash: e571f4234036f8c8ca75be481b4179d03fee24fe
  Files affected:

    configure.ac

2013-07-04  Jens Rehsack  <sno@netbsd.org>

    Fix wrong item traced and rewrite func_name getter.

    
  Hash: 331c8eb7701b37f52d9d1ac50d14bc8d17b6297d
  Files affected:

    tests/testlib/routines.c

2013-07-04  Jens Rehsack  <sno@netbsd.org>

    Fix stack overflow.

    Fix stack overflow caused by not caring for:
       String input conversions store a null terminator ('\0') to mark the
    end
       of the input; the maximum field width does not include this
    terminator.

  Hash: 98c1fea6928ba8e3f61927ac51105fb4af150d99
  Files affected:

    src/libstatgrab/process_stats.c

2013-07-04  Jens Rehsack  <sno@netbsd.org>

    Check buffer size before reading "char *".

    Check buffer size before reading "char *" to detect proc_cmdline quirks.

  Hash: 8e945de64604ef3e64f0c79100121473a68847a9
  Files affected:

    src/libstatgrab/process_stats.c

2013-07-02  Tim Bishop  <tim@bishnet.net>

    Update TESTING notes.

    
  Hash: 275dfff412b8b32100271d32ca57b10a697ad32a
  Files affected:

    TESTING

2013-07-03  Jens Rehsack  <sno@netbsd.org>

    Fix format of size_t.

    
  Hash: 5d352e2b420be8bb68c7f72037aeed0d8ca6125c
  Files affected:

    src/libstatgrab/disk_stats.c

2013-07-02  Tim Bishop  <tim@bishnet.net>

    Add testing notes.

    
  Hash: d505c28bee1a7971ed971b8db99d3b7fa49e5761
  Files affected:

    TESTING

2013-06-25  Tim Bishop  <tim@bishnet.net>

    Prepare for 0.90-rc1.

    
  Hash: 2fb2d45db9c1a3a22ef1e3c001b229cbab687090
  Files affected:

    configure.ac

2013-06-25  Tim Bishop  <tim@bishnet.net>

    On Solaris don't prepend none to the flags.

    
  Hash: ce1cacbf63f4fdda3118597443930066e0b7477b
  Files affected:

    m4/ax_pthread.m4

2013-06-22  Jens Rehsack  <sno@netbsd.org>

    Central log initialization.

    
  Hash: c69cd38611f8990236e23f5a1ac382bf691162ac
  Files affected:

    configure.ac
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    saidar.properties
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/tools.c
    src/saidar/saidar.c
    src/statgrab/statgrab.c
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c
    tests/testlib/Makefile.am
    tests/testlib/log.c
    tests/testlib/testlib.h

2013-06-21  Tim Bishop  <tim@bishnet.net>

    Update TODO.

    
  Hash: a0cb1a02d690f27ae129a4d863f69f6479b679f8
  Files affected:

    TODO

2013-06-21  Tim Bishop  <tim@bishnet.net>

    Update bug reporting locations.

    
  Hash: 40c4d2705257095a35946a8f927864fd031e0993
  Files affected:

    README
    configure.ac

2013-06-21  Jens Rehsack  <sno@netbsd.org>

    Don't fail when a process dies.

    Don't fail when a process passes away while refining the process list 
    fetched from kernel. Simply skip the process in such cases.

  Hash: 8c8e0e2d93506d6c201e12c701a0032698acf859
  Files affected:

    src/libstatgrab/process_stats.c

2013-06-21  Jens Rehsack  <sno@netbsd.org>

    Improve error messaging on error during tests.

    
  Hash: 391cf512ef36e1e32bafb11ee17590f3bbd6de1d
  Files affected:

    tests/testlib/routines.c

2013-06-21  Jens Rehsack  <sno@netbsd.org>

    Whine one error.

    
  Hash: 8f9f37cadcc348793923544a3063083fe19f7a73
  Files affected:

    tests/testlib/run_tests.pm

2013-06-20  Tim Bishop  <tim@bishnet.net>

    Document new sg_get_fs_stats_diff functions.

    
  Hash: 903d7a645e6d5e3fb222a2f24e142cec7a15c4ae
  Files affected:

    docs/libstatgrab/Makefile.am
    docs/libstatgrab/sg_get_fs_stats.xml

2013-06-20  Jens Rehsack  <sno@netbsd.org>

    Trace (note) func success for non-threaded tests.

    Trace (note) func success for single threaded tests too. This should 
    help digging errors when something fails.

  Hash: 81458c7b6f1bc8f09213ffdac1e436b006139323
  Files affected:

    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c

2013-06-20  Jens Rehsack  <sno@netbsd.org>

    Format / attribute names fixed when logging is on.

    
  Hash: 298a32ff88f1857ded0fada83eccce9ad813bc8c
  Files affected:

    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/testlib/routines.c

2013-06-20  Jens Rehsack  <sno@netbsd.org>

    Introduce sg_get_fs_stats_diff.

    
  Hash: cdf23c809a67103d3964266e4626a04af6b19ade
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/statgrab.h.in
    tests/testlib/routines.c

2013-06-20  Jens Rehsack  <sno@netbsd.org>

    Add some test TODO.

    
  Hash: 7f0a8457df10b4fa0739cd392133173d0d7f5dac
  Files affected:

    TODO

2013-06-20  Jens Rehsack  <sno@netbsd.org>

    Improve tests.

    * Renamed the existing tests to */full_test.t - pretending they
     test the statgrab calls providing full statistics (in contrary
     to difference statistics).
    * Introduced a way to test the stats differences (root cause for
     yesterdays missing disk names in saidar).
    * Added missing network_iface_stats test to the full tests.

  Hash: 6ba73b5848aba1455e62d7421f01d7595434a5d6
  Files affected:

    tests/multi_threaded/Makefile.am
    tests/multi_threaded/diff_stats.c
    tests/multi_threaded/full_stats.c
    tests/single_threaded/Makefile.am
    tests/single_threaded/diff_stats.c
    tests/single_threaded/full_stats.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2013-06-20  Jens Rehsack  <sno@netbsd.org>

    Include stats delivered into tests.

    (superfluous src/statgrab/statgrab cpu. mem. load. user. swap. general.
    fs. disk. net. page.)

  Hash: b1f3cc6f46ccbdd3669cf11419014e66a5bf961e
  Files affected:

    tests/multi_threaded/multi_threaded_test.c
    tests/single_threaded/single_threaded_test.c
    tests/testlib/routines.c
    tests/testlib/run_tests.pm
    tests/testlib/testlib.h

2013-06-19  Jens Rehsack  <sno@netbsd.org>

    Introduce --enable-logging.

    This will enforce fprintf(stderr, ...) when built without log4cplus.

  Hash: 83cc6f5e611d985d03a5a98e010bb921eb308b04
  Files affected:

    configure.ac
    src/libstatgrab/disk_stats.c
    src/libstatgrab/globals.c
    src/libstatgrab/trace.h

2013-06-19  Jens Rehsack  <sno@netbsd.org>

    Fix core because of fiddled vector functions.

    
  Hash: 31f220dabbefe27f6ecdb5559064cc5db3da6973
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2013-06-19  Jens Rehsack  <sno@netbsd.org>

    Remove compiler warnings.

    
  Hash: 6c19ee2985d3e3e15dccb365ebd824bd5496c8ea
  Files affected:

    src/libstatgrab/memory_stats.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Fix reaction on integer overflow.

    
  Hash: 6c9a93eb6198cd03199dd35922037ab24070a18d
  Files affected:

    src/libstatgrab/disk_stats.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    OpenBSD and Darwin process_stats fixes.

    
  Hash: f5958a6ccbf13b471ec3c5d191a5c4d36796bd4f
  Files affected:

    src/libstatgrab/process_stats.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Consolidation...

    - fix extra warnings:
     -Wshadow -Wstrict-overflow -Wpointer-arith -Wbad-function-cast
     -Wcast-qual -Wcast-align -Wpadded -Wunreachable-code
     seen on Darwin, *BSD ... using system compiler.
    - consolidate pagesize and mach_host_self retrieval.

  Hash: 3ca75e1836f99268192320a65f49f4d128837512
  Files affected:

    TODO
    src/libstatgrab/error.h
    src/libstatgrab/globals.h
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Add Token Ring and 802.11 support.

    + detect FDDI - but no speed there...

  Hash: 499071aa0f70627dda6a987d0b7da5a5b4e337d3
  Files affected:

    src/libstatgrab/network_stats.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Alignment / network stats.

    * Fix alignment issues for network_iface stats.
    * Fix some stats related to network iface (speed etc.).

  Hash: 2870ac0d07156204f75d0152d58b89f4eaaf7ccd
  Files affected:

    examples/network_iface_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h.in
    src/statgrab/statgrab.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Fix probably unsafe assignments and warnings.

    
  Hash: cf8675b252b74996a835d95df579e4fd3bedb17a
  Files affected:

    src/libstatgrab/process_stats.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Remove more or less pointless warnings.

    
  Hash: d7446753e73a8ab154577d96fd1f08281c4c9ae4
  Files affected:

    src/libstatgrab/globals.c
    src/libstatgrab/tools.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Review Solaris device mapping initialization.

    -> readdir is okay, sg_init() should be called from main.
      (if we want support sg_init() can be called from threads, we must
       fix that, otherwise we'll get stack overflow)
    -> cleanup code a bit to understand better what's going on.

  Hash: 0bca044cfe79201014050e0711ad2c4fb7d05039
  Files affected:

    src/libstatgrab/tools.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Fix another overflow bug.

    
  Hash: f30f1d34857c8b34bf3d3ac02d812299943d0906
  Files affected:

    src/libstatgrab/globals.c

2013-06-18  Jens Rehsack  <sno@netbsd.org>

    Fixing the broken readdir_r with stack dirent too.

    
  Hash: de9e7878570f9147494e982a007fcf23b74499a5
  Files affected:

    src/libstatgrab/disk_stats.c

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Fix pointless type warning.

    
  Hash: 338068c62fb88b1bf2e4eb1c0cf0fb2fd17162b1
  Files affected:

    src/libstatgrab/user_stats.c

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Remove BSD quirks and API changes from TODO.

    
  Hash: 02f2d26bc3ed41d25257d9c62b831e2a59f5927f
  Files affected:

    TODO

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Document entries parameter in SYNOPSIS.

    
  Hash: 7a91e12d6453305aa1f11cea7c51047798b26104
  Files affected:

    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Cleanup memory even without threads.

    
  Hash: 91966c2b57917bd981478666f595b4696eaa18a0
  Files affected:

    src/libstatgrab/globals.c

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Fix user-stats on DragonFly BSD.

    DragonFly BSD seems to be the only one that comes with getutxent() and 
    getutent() and depending on system setup one works or the other.

  Hash: 9877f4dd6a8f89076e875d39e284c217d958d3f8
  Files affected:

    configure.ac
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Fix broken process stats on OpenBSD.

    This fix includes an adaption to an early behaviour common to OpenBSD 
    and DragonflyBSD. OpenBSD improves and needs different (but hard to 
    check) behaviour. Currently we have a state working on both recent 
    releases - further tests on -STABLE might show what remains...

  Hash: f2819bcb67c51c8655a4051a4e18d92f64d2fd3a
  Files affected:

    src/libstatgrab/process_stats.c

2013-06-17  Jens Rehsack  <sno@netbsd.org>

    Review memory stats.

    Review memory stats related to "Belongs cached to free?"
    * http://simon.zekar.com/2009/01/30/understanding-freebsd-memory-usage/

    Even if FreeBSD currently always reports "0" for cached, we might be 
    safer for future versions. Similar is to expect for other BSD's.

  Hash: 718d6758d60065563c68a1533638e1111f86fe05
  Files affected:

    src/libstatgrab/memory_stats.c

2013-06-14  Jens Rehsack  <sno@netbsd.org>

    In case something went wrong free got ifaddrs.

    
  Hash: d33064e19bd6f577824c40034e1094e8911f49a3
  Files affected:

    src/libstatgrab/network_stats.c

2013-06-13  Tim Bishop  <tim@bishnet.net>

    TODO updates.

    
  Hash: 0352d080ae432883312764118b336d4054d90875
  Files affected:

    TODO

2013-06-13  Tim Bishop  <tim@bishnet.net>

    Remove support for deprecated interfaces.

    As we head towards 1.0 this is no longer needed. With all the other 
    changes it becomes irrelevant anyway.

  Hash: 570db97a244cf56d1ced638dc3015d395f37ced2
  Files affected:

    configure.ac
    src/libstatgrab/Makefile.am
    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/statgrab_deprecated.c
    src/libstatgrab/statgrab_deprecated.h

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Add Darwin support for disk-I/O based on I/O-Kit.

    
  Hash: 43bb39cfd55e527d3f39403807c4ffb87b3deaf7
  Files affected:

    src/libstatgrab/disk_stats.c

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Add file:line to error output (for tracing).

    
  Hash: ec3e84ee440d1448f1a5bcca6ece9d178a2e272c
  Files affected:

    src/libstatgrab/error.h

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Add error for IO.Kit errors.

    
  Hash: 57147832e09e8ebf86f8e4842f1edf54a8a05ec2
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h.in

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Explicitly take darwin out of vmtotal mem stats.

    Darwin is Mach based, we're using host_statistics() instead.

  Hash: b758b29e56ed758328758b588ca732de1f8745fb
  Files affected:

    src/libstatgrab/memory_stats.c

2013-06-13  Tim Bishop  <tim@bishnet.net>

    Bump version in preparation for new release.

    We've decided to go to 0.90 because there are a number of changes to the
    API that will require programs to be changed. We've put changes in that
    aren't strictly necessary yet to get all the currently planned API
    changes done in one go.

    Also bump the shared library version accordingly.

  Hash: 3670306614a688367fb1bb1820b9288d30846c7f
  Files affected:

    configure.ac
    src/libstatgrab/Makefile.am

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Update and refine TODO.

    
  Hash: 604baed8fe1a2f903f14f3d34b382784d516659b
  Files affected:

    TODO

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Improve paging stats.

    * use mach stats like for memory on Mach systems.
    * use uvmexp/evmexp_sysctl explicitly where supported and no
     dirty rough OS detection based fallback like fbsd forces
     it because sysctlbyname() cannot be reasonable checked
     (think cross-compiling).

  Hash: bde7a2c4f2fdcee310b0ac63414823992203e846
  Files affected:

    src/libstatgrab/page_stats.c

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    If HW_MACHINE_ARCH unusable try HW_MACHINE.

    
  Hash: 0ae724c9a2bf44440634059cb5b07cc239c4f562
  Files affected:

    src/libstatgrab/os_info.c

2013-06-13  Jens Rehsack  <sno@netbsd.org>

    Remove completed items.

    
  Hash: ce306b236c38d9fea855d3cfd4c392d9a42fa1a3
  Files affected:

    TODO

2013-06-12  Jens Rehsack  <sno@netbsd.org>

    Correct indention level and fix core on HP-UX.

    
  Hash: 3ae26a96701062d41e3fbc4f9bdf09a09706b12f
  Files affected:

    src/libstatgrab/globals.c

2013-06-12  Jens Rehsack  <sno@netbsd.org>

    Fix 32-/64-bit issue found thanks to HP-UX.

    
  Hash: d3ec41c2788bbc53b233d339b9978fa500909be4
  Files affected:

    tests/multi_threaded/multi_threaded_test.c

2013-06-12  Jens Rehsack  <sno@netbsd.org>

    Silence most HP-ANSI C Compiler warnings.

    
  Hash: 3c45fa103329d9cb458491771ad544e33f79ca06
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/vector.h

2013-06-12  Jens Rehsack  <sno@netbsd.org>

    Unify API - all stats grabbers now output entries.

    In former times, only those stats grabbers which return (likely)
    multiple items had an optional size_t output argument "entries".
    Meanwhile, it would be possible to grab cpu stats per CPU, load stats
    per CPU, swap stats per swap device etc.

    Even if the content of those stats might be worth being discussed, 
    breaking API multiple times isn't recommended. With coming release, most 
    developers have to fix their callers anyway (from int * => size_t *), 
    having some additional fix points doesn't bother more.

  Hash: 01fc0cab83cb36d46ab50f9ac8602fabcc8f97c0
  Files affected:

    examples/cpu_usage.c
    examples/load_stats.c
    examples/os_info.c
    examples/page_stats.c
    examples/vm_stats.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/globals.h
    src/libstatgrab/statgrab.h.in
    src/saidar/saidar.c
    src/statgrab/statgrab.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2013-06-12  Jens Rehsack  <sno@netbsd.org>

    Make scaled output a bit more natural looking.

    16376MB -> 16GB, instead of 15GB

  Hash: 417ad5b0fa5da8add49bd1b2ea5a35114b5ef608
  Files affected:

    src/statgrab/statgrab.c

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Update TODO.

    
  Hash: ec16741fff24831d1f5b806e0422b9bccffda9eb
  Files affected:

    TODO

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Print errors to stderr.

    
  Hash: f6bf7249c9c7442639edd8d37030dcb9e0df5b8d
  Files affected:

    src/statgrab/statgrab.c

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Add reminder to TODO.

    
  Hash: fbde9b66e60c6eed39442d1563bae7c8f88fd9db
  Files affected:

    TODO

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Darwin fixes.

    
  Hash: 20a9c01373125265448477d3c1464a281a07c70c
  Files affected:

    configure.ac
    src/libstatgrab/memory_stats.c
    src/libstatgrab/swap_stats.c

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    De-facto don't use vmmeter - it's deprecated.

    
  Hash: 7a6101d36d908bbf0ff3955e433f5e9be7bd445b
  Files affected:

    src/libstatgrab/cpu_stats.c

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Fix typo.

    
  Hash: 5b7cf34b3eedcf10e28fcdaf5407c16c133a70e6
  Files affected:

    src/libstatgrab/error.h

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Temporarily increase FBSD > HAVE_STRUCT_VMTOTAL.

    
  Hash: f93fd49e00f8d06ad91f23566d21d0e92f3ce020
  Files affected:

    src/libstatgrab/memory_stats.c

2013-06-11  Jens Rehsack  <sno@netbsd.org>

    Recognize hw.usermem.

    In case the system provides an hw.usermem in addition to hw.physmem, 
    increase used memory by the difference of usermem to physmem.

  Hash: fa69ad066ceb03005b61ba900b8dbd78c83bc8bd
  Files affected:

    src/libstatgrab/memory_stats.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Try to get rid of bogus isspace warnings.

    Improve isspace invocation as recommended in 
    http://netbsd.2816.n7.nabble.com/Casting-ctype-lookups-td268928.html

  Hash: cd3b5f9241d79920e42f9604118dcfb6cd4358c0
  Files affected:

    src/saidar/saidar.c
    src/statgrab/statgrab.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Try alignment helper check with long long.

    
  Hash: 94694528decead052c7499b8ee976b5ab4af0f11
  Files affected:

    m4/ax_types.m4

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Solve overflow calculation hopefully clearer.

    
  Hash: 51da4e542d1923253ab67a32e11f240b95d365a0
  Files affected:

    src/libstatgrab/network_stats.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Fix some warnings.

    
  Hash: f453f5a91e1a7dafc6c4583d36bc942b3102484f
  Files affected:

    src/libstatgrab/os_info.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Use sg_get_sys_page_size().

    
  Hash: 41d2f044a73dcfc9c3178f21ee72beb136b89268
  Files affected:

    src/libstatgrab/memory_stats.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Fix typo.

    
  Hash: 239beb5723426a70ce6b470f524f0126f33b0518
  Files affected:

    src/libstatgrab/globals.h

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    ERROR_OVERRIDE_PROTECTION without vsnprintf only.

    define ERROR_OVERRIDE_PROTECTION only without vsnprintf.

  Hash: df8fdfe605f637bd350a9c58380cf76329605650
  Files affected:

    src/libstatgrab/error.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Fix typo on pthread_mutex_timedwait().

    
  Hash: 7ba72dcab94d9c591fa7cff050f1e322db682287
  Files affected:

    tests/multi_threaded/multi_threaded_test.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Use special address arithmetic only as necessary.

    
  Hash: 7a33b818ea1b97ff5198f795ae093fae924430d1
  Files affected:

    configure.ac
    m4/ax_types.m4
    src/libstatgrab/vector.h

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Unify offsetof code - should work on any target.

    
  Hash: 14dcbdc35054dec7f106e52c668378b738b6c691
  Files affected:

    src/libstatgrab/tools.h

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Consolidate type checks in one file.

    
  Hash: 3c51fe9ab228fcd02cf6a98eee5dd7496c28b065
  Files affected:

    m4/ax_type_fmt.m4
    m4/ax_types.m4

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Improve format string checker.

    
  Hash: f02814491f1af5899c240dc433cbce385cd8aae7
  Files affected:

    configure.ac
    m4/ax_type_fmt.m4
    m4/ax_types.m4

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Rollback type conv changes that break some BSDs.

    
  Hash: 4e9da99796989065477e91ada22f174d34922ead
  Files affected:

    src/libstatgrab/disk_stats.c

2013-06-10  Jens Rehsack  <sno@netbsd.org>

    Check for right type for printf/scanf types.

    To avoid warnings for correct type formatter used when printf/scanf 
    pid_t, uid_t, gid_t or time_t.

  Hash: 25a62d207388988f6ef7ee7dc1275eeecc76917b
  Files affected:

    configure.ac
    m4/ax_type_fmt.m4
    src/libstatgrab/process_stats.c

2013-06-09  Jens Rehsack  <sno@netbsd.org>

    Remove some clang warnings.

    
  Hash: 19eb3538d314aa75c25c780f41fce8143b8d10e2
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/tools.h
    src/libstatgrab/vector.h

2013-06-09  Tim Bishop  <tim@bishnet.net>

    Fix warnings with PTHREAD_ONCE_INIT on Solaris.

    On Solaris PTHREAD_ONCE_INIT needs to be in braces. This change adds a
    configure check to test if this is needed and add it where appropriate.
    Do the same for PTHREAD_MUTEX_INITIALIZER.

    This change is derived from: (as it is of today's date)

    http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob_plain;f=configure.ac;hb=HEAD

  Hash: 20999dcecc894b099b1193b3e0ff0d3e3b01e9b8
  Files affected:

    configure.ac
    src/libstatgrab/globals.c
    tests/multi_threaded/multi_threaded_test.c

2013-06-09  Jens Rehsack  <sno@netbsd.org>

    Eliminate signed and unsigned integer comparisons.

    
  Hash: 8767385673e21a2b68f7b240dfd17b9ce655bb77
  Files affected:

    src/libstatgrab/swap_stats.c

2013-06-09  Tim Bishop  <tim@bishnet.net>

    Remove warnings: variable unused after assignment.

    In both cases the result of a function is assigned to a variable, but
    that variable is never used. This change removes the compiler warning
    this generates, but it should probably be reviewed to check if instead
    we should be doing something with the variable.

  Hash: 61bb360e4f7e095f7577d22e380e02fe77109e49
  Files affected:

    src/libstatgrab/process_stats.c
    src/saidar/saidar.c

2013-06-09  Tim Bishop  <tim@bishnet.net>

    isspace needs <ctype.h>.

    
  Hash: 9e12be293802a9860b08b2035a2aca1909a8b090
  Files affected:

    src/saidar/saidar.c

2013-06-09  Tim Bishop  <tim@bishnet.net>

    Remove warning: pid may not be an int, so cast it.

    
  Hash: fe32905cfebf0426a467276931f7130e5e686c72
  Files affected:

    examples/user_list.c
    src/libstatgrab/process_stats.c

2013-06-08  Tim Bishop  <tim@bishnet.net>

    Fix build when threads are disabled.

    
  Hash: 7dec315c48d7fcf190e36b241abbada58d994f69
  Files affected:

    src/libstatgrab/globals.c
    src/libstatgrab/os_info.c
    src/libstatgrab/user_stats.c

2013-06-08  Tim Bishop  <tim@bishnet.net>

    Revert change to saidar includes to fix build.

    
  Hash: 52444f72fe425aa93a51e17d5c7d0e1c6dccd042
  Files affected:

    src/saidar/saidar.c

2013-06-07  Tim Bishop  <tim@bishnet.net>

    Add todo for FreeBSD memory stats.

    
  Hash: 3576341e6a52cb53593598d0818cdb20eb55067d
  Files affected:

    TODO

2013-06-07  Jens Rehsack  <sno@netbsd.org>

    Clean up evaluation of test success.

    
  Hash: 35078dbeb887e06c0c8fa7af1ebefea3d379fa57
  Files affected:

    tests/testlib/run_tests.pm

2013-06-07  Jens Rehsack  <sno@netbsd.org>

    Remove warnings when compiling without logging.

    
  Hash: 24f5062ff669511ec50f2ce86e72120700b978fb
  Files affected:

    src/libstatgrab/globals.h

2013-06-07  Jens Rehsack  <sno@netbsd.org>

    Catch Darwin's shared objects too.

    
  Hash: 6c65dabcb684f9ed025dc4df0f5778078152cece
  Files affected:

    m4/ax_lib.m4

2013-06-07  Tim Bishop  <tim@bishnet.net>

    Remove DOCTYPE from the DocBook manual pages.

    For me they build exactly the same but don't make a bunch of network 
    calls to www.oasis-open.org. This is a lot quicker and more reliable
    (I frequently got build failures due to network problems before).

  Hash: 70a22adf3c3f71c6bfc0b926070aaed3fd36be75
  Files affected:

    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_error.xml
    docs/libstatgrab/sg_get_fs_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/sg_init.xml
    docs/libstatgrab/sg_internal-intro.xml
    docs/libstatgrab/sg_intro.xml
    docs/libstatgrab/sg_lock_mutex.xml
    docs/libstatgrab/sg_set_error.xml
    docs/libstatgrab/sg_vector_create.xml
    docs/libstatgrab/statgrab.xml
    docs/saidar/saidar.xml
    docs/statgrab/statgrab-make-mrtg-config.xml
    docs/statgrab/statgrab-make-mrtg-index.xml
    docs/statgrab/statgrab.xml

2013-06-07  Jens Rehsack  <sno@netbsd.org>

    Add temporary file to track open issues.

    
  Hash: 170eabac87a76f75ab7e9eadacae36c98440c893
  Files affected:

    TODO

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    Clean up scanned fs names.

    
  Hash: 863d6c887ce3e4bc1200809d679eb74dc96beed9
  Files affected:

    src/saidar/saidar.c
    src/statgrab/statgrab.c

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    Provide strndup replacement.

    
  Hash: 5733c7eea94ebf3930d177cd3b66de038202841e
  Files affected:

    configure.ac
    src/saidar/saidar.c
    src/statgrab/statgrab.c

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    Improve speed of mt-tests.

    
  Hash: c2154f075d1bbc6e83ea2deab697160b889d206a
  Files affected:

    tests/multi_threaded/multi_threaded_test.c

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    Improve output from tests.

    1) Tell the executed command. 2) Reduce un-needed reports.

  Hash: 32c155d8577b1f38588605128a300cbcce63098a
  Files affected:

    tests/multi_threaded/multi_threaded_test.c
    tests/testlib/run_tests.pm

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    Introduce file system filtering.

    
  Hash: 5477ba9d64f7c0b8c5549ee7d88c7ccc4470de85
  Files affected:

    src/saidar/saidar.c
    src/statgrab/statgrab.c

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    Avoid having uninitialized clone target on fail.

    
  Hash: 04b3fdeab02bb0cef643b785c1a39424fda3bf67
  Files affected:

    src/libstatgrab/vector.c

2013-06-06  Jens Rehsack  <sno@netbsd.org>

    optarg is declared in <unistd.h>.

    
  Hash: 5098a8bc86a778ee5dd88b4805a40d3aaf54831c
  Files affected:

    examples/user_list.c

2013-06-05  Jens Rehsack  <sno@netbsd.org>

    Lock mutex before starting threads.

    Lock mutex before starting threads avoids threads running before 
    everything is set up.

  Hash: 828900b5fd9576d34e12925c21e4627fc36a9b99
  Files affected:

    tests/multi_threaded/multi_threaded_test.c

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    Make sys_page_size static.

    When having static sg_get_sys_page_size(), sys_page_size must be static
    too (duplicated symbol otherwise).

  Hash: f9336eb41c49978734b720f9c5db618c2afb1c72
  Files affected:

    src/libstatgrab/tools.h

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    xsw_usage wasn't approved - done with Darwin.

    
  Hash: 2f45c35e1aaf30a32c38cc2c207ae50bb0ef4436
  Files affected:

    src/libstatgrab/swap_stats.c

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    File system stats fixes for Darwin.

    
  Hash: 7202a0160e253428a0c46930a2e199e3aedc5383
  Files affected:

    src/libstatgrab/disk_stats.c

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    Fix calling convention.

    
  Hash: d261d852ceeca9acf2b3bf41af8a2f903f6b31c3
  Files affected:

    src/libstatgrab/cpu_stats.c

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    Fix detecting right mach include files.

    
  Hash: 9c404aab0e347229ac6f9058b068ad32d90d5fba
  Files affected:

    configure.ac
    src/libstatgrab/tools.h

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    Move mark_func to avoid race conditions.

    Move mark_func in front of thread start to avoid race conditions while 
    waiting on systems with to many CPUs.

  Hash: 8340bbc4969e295457e1837a1f83a9600d05da78
  Files affected:

    tests/multi_threaded/multi_threaded_test.c

2013-06-04  Jens Rehsack  <sno@netbsd.org>

    Fix typo in messages.

    
  Hash: f1b3feefc6fc512d32d03332de2c3cfacf8cfaad
  Files affected:

    tests/testlib/routines.c

2013-06-04  Tim Bishop  <tim@bishnet.net>

    Fix typos.

    
  Hash: 2b640747c295906a0af35272175b8c3857840877
  Files affected:

    m4/ax_ncurses.m4

2013-06-03  Jens Rehsack  <sno@netbsd.org>

    Make MP_WITH_CURSES autoconf macro -Werror safe.

    
  Hash: 389f535d5fcc9bfa64693f52fa1e4d79dc535371
  Files affected:

    m4/ax_ncurses.m4
    src/saidar/saidar.c

2013-06-03  Jens Rehsack  <sno@netbsd.org>

    Disable threading by default on DragonFly BSD.

    This is because of strange looking malloc behavior.

  Hash: 52d392beb46c5be7f8e86d61e1ff5e527de97fb9
  Files affected:

    configure.ac

2013-06-03  Jens Rehsack  <sno@netbsd.org>

    fabs(3) needs -lm on HP-UX too.

    
  Hash: e541562a3732ee6818f3c1364d806dd6b672166a
  Files affected:

    configure.ac

2013-06-03  Jens Rehsack  <sno@netbsd.org>

    Fix __VA_ARGS__ use to make more like STDC.

    
  Hash: 62d22daee7d771313100f880e41f6006a61fe334
  Files affected:

    src/libstatgrab/error.h
    src/libstatgrab/trace.h

2013-06-02  Jens Rehsack  <sno@netbsd.org>

    Fix kinfo_proc related issues with OpenBSD 5.3.

    
  Hash: 8e819e1f5944b393d6eabde28b97f2f0655d0e56
  Files affected:

    configure.ac
    src/libstatgrab/process_stats.c

2013-06-01  Tim Bishop  <tim@bishnet.net>

    Update copyright year.

    
  Hash: 38a83a568825d2daba0b49bba5fe121b3267d15c
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/error.h
    src/libstatgrab/globals.c
    src/libstatgrab/globals.h
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/statgrab_deprecated.c
    src/libstatgrab/statgrab_deprecated.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/trace.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/saidar/saidar.c
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c
    tests/multi_threaded/multi_threaded_test.c
    tests/single_threaded/single_threaded_test.c
    tests/testlib/err.c
    tests/testlib/log.c
    tests/testlib/opt.c
    tests/testlib/routines.c
    tests/testlib/testlib.h

2013-05-31  Tim Bishop  <tim@bishnet.net>

    Manually pull the latest config.{guess,sub}.

    This is a temporary workaround.

  Hash: 85380029a6c690a6827b4379b837dde27dc66a95
  Files affected:

    autogen.sh

2013-05-31  Jens Rehsack  <sno@netbsd.org>

    Fix some Solaris crashes and linking issues.

    
  Hash: ca0fb5e4e46fa9aa21ca644b504838d579b8b05b
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.h

2013-05-31  Tim Bishop  <tim@bishnet.net>

    Use tty rather than username to group user stats.

    
  Hash: 94e49ba3f5adea6c30cd27e279abc4ebb894d75d
  Files affected:

    src/statgrab/statgrab.c

2013-05-31  Jens Rehsack  <sno@netbsd.org>

    Fix lifr used before initialized.

    (AIX network interface stats)

  Hash: 362e60afe0fa0487fd94665ea8e7588fe609368d
  Files affected:

    src/libstatgrab/network_stats.c

2013-05-31  Jens Rehsack  <sno@netbsd.org>

    Correct statgrab.c internal function prototypes.

    
  Hash: 291a2ea2e90290c1c43538e2bab8541193071b21
  Files affected:

    src/statgrab/statgrab.c

2013-05-31  Jens Rehsack  <sno@netbsd.org>

    Make sg_get_sys_page_size inline.

    This avoids possible warnings about unused function definitions.

  Hash: a6dc7502743476513fa6ac807e3780992544fd2c
  Files affected:

    src/libstatgrab/tools.h

2013-05-31  Jens Rehsack  <sno@netbsd.org>

    Prevent init errors on systems without vsnprintf.

    
  Hash: 1bb91ce5458c5dfa59cfa15cb523ae8f2fd9f995
  Files affected:

    src/libstatgrab/error.c

2013-05-31  Jens Rehsack  <sno@netbsd.org>

    Re-order header/function checks.

    
  Hash: 14bbd9a32802f39e47fe3aff9e876138d00e4770
  Files affected:

    configure.ac

2013-05-31  Tim Bishop  <tim@bishnet.net>

    Pull in <sys/param.h> before <sys/user.h>.

    On old FreeBSD (tested on 6), param.h is needed by user.h. Move the 
    order around accordingly. Will need to confirm this doesn't break other
    systems.

  Hash: a45cf7cfdc2bd74c6e05b65caefddd6572fbfefb
  Files affected:

    src/libstatgrab/tools.h

2013-05-31  Tim Bishop  <tim@bishnet.net>

    Add missing "test" to configure.ac.

    
  Hash: bf29196b88ca2ad65792712faf6c72979892ab3f
  Files affected:

    configure.ac

2013-05-30  Tim Bishop  <tim@bishnet.net>

    Fix typo.

    
  Hash: 80721fbd894c957724e0d8215052decce345ad37
  Files affected:

    src/statgrab/statgrab.c

2013-05-30  Tim Bishop  <tim@bishnet.net>

    Re-add user.num and user.names for compatibility.

    Libstatgrab no longer directly provides these statistics, so calculate 
    them within statgrab for compatibility with older versions.

  Hash: 750a51d9e306c29902ae8b1d0f73988cc4dec444
  Files affected:

    src/statgrab/statgrab.c

2013-05-30  Tim Bishop  <tim@bishnet.net>

    Add missing sg_prove_vector.3 manual page.

    
  Hash: 00739d27247ac0e788ddeb21c7748f7d71ca9f1a
  Files affected:

    docs/libstatgrab/Makefile.am

2013-05-30  Jens Rehsack  <sno@netbsd.org>

    Rework STDC header checks.

    
  Hash: e2f970594953ad62468fb1ddddbd6c966f9e0892
  Files affected:

    configure.ac
    src/libstatgrab/tools.h

2013-05-30  Jens Rehsack  <sno@netbsd.org>

    Ignore the DEVSTAT_TYPE_PASS flag.

    The device must have a type anyway.

  Hash: 707a657fc26c6ddc8ede04118ccda724d9dcc775
  Files affected:

    src/libstatgrab/disk_stats.c

2013-05-30  Jens Rehsack  <sno@netbsd.org>

    Add .gitignore file.

    
  Hash: 73730eea49fa87571a4786ebeb5278718780b09b
  Files affected:

    .gitignore

2013-05-30  Jens Rehsack  <sno@netbsd.org>

    Check for termios.h headers for saidar only.

    
  Hash: 5176533a6dc4daa7d1539e4b3f9f119c287fb7b5
  Files affected:

    configure.ac

2013-05-29  Tim Bishop  <tim@bishnet.net>

    Check for termios.h and sys/termios.h headers.

    
  Hash: e46534ac32659cd0ce005f780ffc232f13d696c9
  Files affected:

    configure.ac
    src/saidar/saidar.c

2013-05-29  Tim Bishop  <tim@bishnet.net>

    Put the correct date in manual pages.

    
  Hash: 7700a7ff3fa35cdfd10f01c97a6815ec03cb825c
  Files affected:

    docs/libstatgrab/Makefile.am
    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_error.xml
    docs/libstatgrab/sg_get_fs_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/sg_init.xml
    docs/libstatgrab/sg_internal-intro.xml
    docs/libstatgrab/sg_intro.xml
    docs/libstatgrab/sg_lock_mutex.xml
    docs/libstatgrab/sg_set_error.xml
    docs/libstatgrab/sg_vector_create.xml
    docs/libstatgrab/statgrab.xml
    docs/saidar/Makefile.am
    docs/saidar/saidar.xml
    docs/statgrab/Makefile.am
    docs/statgrab/statgrab-make-mrtg-config.xml
    docs/statgrab/statgrab-make-mrtg-index.xml
    docs/statgrab/statgrab.xml

2013-05-29  Tim Bishop  <tim@bishnet.net>

    Various cleanups and corrections of manual pages.

    
  Hash: 1f9318031b10d32f986f999bc42c36335b873add
  Files affected:

    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_error.xml
    docs/libstatgrab/sg_get_fs_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/sg_init.xml
    docs/libstatgrab/sg_internal-intro.xml
    docs/libstatgrab/sg_intro.xml
    docs/libstatgrab/sg_lock_mutex.xml
    docs/libstatgrab/sg_set_error.xml
    docs/libstatgrab/sg_vector_create.xml
    docs/libstatgrab/statgrab.xml

2013-05-29  Tim Bishop  <tim@bishnet.net>

    Looks like sys/timeb.h isn't used.

    
  Hash: fb43acc5acd0a1321500f0f3c10a9618f9e78ffd
  Files affected:

    configure.ac
    src/libstatgrab/tools.h

2013-05-29  Tim Bishop  <tim@bishnet.net>

    Add testlib.h header to dist.

    
  Hash: 4a40b47526affa359eec06a612bbd47d2fcda7b5
  Files affected:

    tests/testlib/Makefile.am

2013-05-29  Jens Rehsack  <sno@netbsd.org>

    Reintroduce -Werror automake flag.

    
  Hash: ea31edff4150dcbe0026e6d12cae521fda056ffe
  Files affected:

    configure.ac

2013-05-29  Jens Rehsack  <sno@netbsd.org>

    Rename ACX_* macros into AX_*, and remove gettext.

    
  Hash: 80b8621a3c46a67ec4f685b2973afbd671768a50
  Files affected:

    Makefile.am
    configure.ac
    m4/ax_lib.m4
    m4/ax_perl5.m4
    m4/ax_pthread.m4
    m4/ax_shellvars.m4
    m4/ax_visibility.m4
    m4/ax_win32.m4
    m4/ax_xopen.m4

2013-05-29  Jens Rehsack  <sno@netbsd.org>

    Renaming acx_*.m4 to ax_*.m4.

    
  Hash: 242afbfabbe9705f0884f53d9a755ff870a57954
  Files affected:

    m4/ax_lib.m4
    m4/ax_ncurses.m4
    m4/ax_perl5.m4
    m4/ax_pthread.m4
    m4/ax_visibility.m4
    m4/ax_win32.m4
    m4/ax_xopen.m4

2013-05-29  Jens Rehsack  <sno@netbsd.org>

    Rename run_tests.pl.in to run_tests.t.in.

    
  Hash: 469bf91017701eaad9e23aeae675bf2d044dc404
  Files affected:

    tests/multi_threaded/Makefile.am
    tests/single_threaded/Makefile.am

2013-05-29  Jens Rehsack  <sno@netbsd.org>

    Remove -Werror until the gettext stuff is fixed.

    'warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be
    removed.'

  Hash: 3a45027381651b4014b4c819ff19b863b395841a
  Files affected:

    configure.ac

2013-05-29  Jens Rehsack  <sno@netbsd.org>

    Enforce building manual pages for maintainers.

    
  Hash: a7698f998f30037d30aedde6f8dab13004c58693
  Files affected:

    configure.ac

2013-05-29  Tim Bishop  <tim@bishnet.net>

    Update configure.ac with changes from autoupdate.

    
  Hash: b4c776755c07482d33a9b91de75fce558b9ecf4a
  Files affected:

    configure.ac

2013-05-28  Tim Bishop  <tim@bishnet.net>

    Generate a ChangeLog file from the Git history.

    This is a first attempt at producing something. I wanted to do it 
    without relying on an external tool since there doesn't seem to be a 
    readily packaged one (like cvs2cl). This output looks near enough to the
    proper ChangeLog format to suffice.

  Hash: 1653929187b49d75307a9c1e404c8fd595472d9d
  Files affected:

    Makefile.am

2013-05-28  Tim Bishop  <tim@bishnet.net>

    Fix configure script.

    
  Hash: f1b22372603e730f23d1205f902f3e23107c4628
  Files affected:

    configure.ac

2013-05-28  Tim Bishop  <tim@bishnet.net>

    autoreconf does the job of all these tools now.

    autogen.sh can probably be removed, but it serves as a good reminder as
    to which command needs to be run.

  Hash: 26e1447f837c33c3e19d0d87a896f645b2136959
  Files affected:

    autogen.sh

2013-05-28  Jens Rehsack  <sno@netbsd.org>

    Eliminate some autoconf/automake warnings.

    
  Hash: e5bb7f73636e63ba788a6667b259c14a73d18a31
  Files affected:

    configure.ac
    m4/acx_lib.m4
    m4/acx_visibility.m4
    m4/acx_xopen.m4

2013-05-28  Jens Rehsack  <sno@netbsd.org>

    Rename configure.in to configure.ac.

    
  Hash: 8a370152e8af4189aff784add61cf5427211c966
  Files affected:

    configure.ac

2012-04-23  Jens Rehsack  <sno@netbsd.org>

    Adding disabled gettextize/autopoint.

    
  Hash: 798d242476d4543ad0830ea051b8ab30f522d15d
  Files affected:

    Makefile.am
    autogen.sh
    configure.in

2012-02-06  Jens Rehsack  <sno@netbsd.org>

    Fix compiler error.

    Fix empty va_list argument preparation for newer GNU compilers.

  Hash: f1dca0bf013b10744e232beb5a8521883ad23c24
  Files affected:

    src/libstatgrab/error.c

2012-02-04  Tim Bishop  <tim@bishnet.net>

    Must tell aclocal where our m4 files are.

    
  Hash: fdc535ff239b9cf50c729053b96178629b16a534
  Files affected:

    autogen.sh

2012-02-04  Tim Bishop  <tim@bishnet.net>

    These aren't needed.

    
  Hash: c0253c01ead200758a187f58c2a9c0424e0fd024
  Files affected:

    m4/lib-ld.m4
    m4/lib-link.m4
    m4/lib-prefix.m4
    m4/libtool.m4
    m4/ltoptions.m4
    m4/ltsugar.m4
    m4/ltversion.m4
    m4/lt~obsolete.m4

2012-01-16  Tim Bishop  <tim@bishnet.net>

    Add note to fix ChangeLog generation.

    
  Hash: 62b4d861fea336f7c738361f86e0b257e3a5d044
  Files affected:

    Makefile.am

2012-01-16  Tim Bishop  <tim@bishnet.net>

    Whitespace cleanups.

    Mostly using tabs instead of spaces to ident code, but also removing 
    some trailing whitespace from lines.

  Hash: 9f21cf9f00d7d74d6aed53a80fabf30dd5e2ef20
  Files affected:

    configure.in
    docs/libstatgrab/Makefile.am
    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/helpers.c
    examples/network_traffic.c
    examples/os_info.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    m4/lt~obsolete.m4
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/globals.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/user_stats.c
    src/libstatgrab/win32.c
    src/saidar/Makefile.am
    src/saidar/saidar.c
    src/statgrab/Makefile.am
    src/statgrab/statgrab.c
    tests/multi_threaded/multi_threaded_test.c
    tests/single_threaded/single_threaded_test.c
    tests/testlib/err.c
    tests/testlib/mix_tests.pm
    tests/testlib/routines.c
    tests/testlib/run_tests.pm
    tests/testlib/run_tests.t.in

2012-01-16  Tim Bishop  <tim@bishnet.net>

    Reapply support for FreeBSD 10.

    This was introduced originally in commit 
    e655fcededb9b4040a8716b24ad8bc2155e31444 but got reverted in the mega 
    patch.

  Hash: 2217954cd1baae4b9c0d85569d99ffa9d57e0a36
  Files affected:

    configure.in

2012-01-15  Jens Rehsack  <sno@netbsd.org>

    Merge Jens Rehsack's changes.

    * thread safety and reentrant functions
    * complete ports for HP-UX
    * add support for AIX and Darwin/MacOS X
    * add experimental support for tracing using log4cplus
    * remove explicit Linux 2.4 support
    * improve documentation
    * add basic test capabilities

    Thanks Jens!

  Hash: 63d61ad0541b1a3d88c011ea3e4f50a4bf3089c9
  Files affected:

    AUTHORS
    Makefile.am
    NEWS
    PLATFORMS
    README
    configure.in
    docs/libstatgrab/Makefile.am
    docs/libstatgrab/sg_comp_init.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_error.xml
    docs/libstatgrab/sg_get_fs_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/sg_init.xml
    docs/libstatgrab/sg_internal-intro.xml
    docs/libstatgrab/sg_intro.xml
    docs/libstatgrab/sg_lock_mutex.xml
    docs/libstatgrab/sg_set_error.xml
    docs/libstatgrab/sg_vector_create.xml
    docs/libstatgrab/statgrab.xml
    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am
    examples/Makefile.am
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/filesys_snapshot.c
    examples/helpers.c
    examples/helpers.h
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/valid_filesystems.c
    examples/vm_stats.c
    libstatgrab-examples.properties
    m4/acx_lib.m4
    m4/acx_ncurses.m4
    m4/acx_perl5.m4
    m4/acx_pthread.m4
    m4/acx_visibility.m4
    m4/acx_win32.m4
    m4/acx_xopen.m4
    m4/lib-ld.m4
    m4/lib-link.m4
    m4/lib-prefix.m4
    m4/libtool.m4
    m4/ltoptions.m4
    m4/ltsugar.m4
    m4/ltversion.m4
    m4/lt~obsolete.m4
    src/libstatgrab/Makefile.am
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/error.h
    src/libstatgrab/globals.c
    src/libstatgrab/globals.h
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/statgrab.h.in
    src/libstatgrab/statgrab_deprecated.c
    src/libstatgrab/statgrab_deprecated.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/trace.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/libstatgrab/win32.c
    src/libstatgrab/win32.h
    src/saidar/Makefile.am
    src/saidar/saidar.c
    src/statgrab/Makefile.am
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c
    tests/Makefile.am
    tests/multi_threaded/Makefile.am
    tests/multi_threaded/libstatgrab-test.properties
    tests/multi_threaded/multi_threaded_test.c
    tests/multi_threaded/run_tests.synopsis.in
    tests/single_threaded/Makefile.am
    tests/single_threaded/libstatgrab-test.properties
    tests/single_threaded/run_tests.synopsis.in
    tests/single_threaded/single_threaded_test.c
    tests/testlib/Makefile.am
    tests/testlib/err.c
    tests/testlib/log.c
    tests/testlib/mix_tests.pm
    tests/testlib/mk_run_tests.pl
    tests/testlib/opt.c
    tests/testlib/routines.c
    tests/testlib/run_tests.pm
    tests/testlib/run_tests.t.in
    tests/testlib/testlib.h

2011-11-11  Tim Bishop  <tim@bishnet.net>

    Add support for FreeBSD 10.

    
  Hash: e655fcededb9b4040a8716b24ad8bc2155e31444
  Files affected:

    configure.in

2011-10-16  Tim Bishop  <tim@bishnet.net>

    Fix typo.

    
  Hash: ab8d8b14d188de58f542e80422019ff46f51aea4
  Files affected:

    docs/saidar/saidar.xml

2010-10-03  Tim Bishop  <tim@bishnet.net>

    Add support for AIX 5.x - 9.x.

    Many thanks to Jens Rehsack <rehsack@googlemail.com> for providing the 
    patch for this work. Thanks!

  Hash: 86cfdc1b2d0f0ed6e3671997673bc7f58a1484aa
  Files affected:

    configure.in
    examples/Makefile.am
    examples/filesys_snapshot.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/saidar/saidar.c
    src/statgrab/statgrab.c

2010-06-09  Tim Bishop  <tim@bishnet.net>

    Add support for preliminary support for Debian GNU/kFreeBSD.

    Currently process statistics are broken, but everything else works.

    The following packages are needed: libkvm-dev libdevstat-dev
    (plus the usual build stuff required on Debian)

  Hash: 4997e2fdd9574258349f016b1d57cea5edaa180e
  Files affected:

    configure.in

2010-06-09  Tim Bishop  <tim@bishnet.net>

    Fix link speed on FreeBSD (and others?). Rather than using our own mask
    make use of the system macro to do it for us. Test on FreeBSD, but a
    look at if_media.h on the other BSDs suggests it'll work there too.

    
  Hash: 274e5fb4e7f59da243ae6d3b6c401eae555bf640
  Files affected:

    src/libstatgrab/network_stats.c

2010-02-21  Tim Bishop  <tim@bishnet.net>

    Add FreeBSD memory fix and correctly attribute other changes.

    
  Hash: 18979ed35c80c08da8dcfcf73f9f2e1f6ba1d6f1
  Files affected:

    NEWS

2010-02-21  Tim Bishop  <tim@bishnet.net>

    Support larger amounts of memory on FreeBSD.

    
  Hash: 6916ad736e417ea0213ed7b0606df3590dd12a73
  Files affected:

    src/libstatgrab/memory_stats.c

2010-02-20  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 23867fd5271d2d6d1e95d63e02b6955c915d34af
  Files affected:

    configure.in

2010-02-20  Tim Bishop  <tim@bishnet.net>

    Bump library version and NEWS for next release.

    
  Hash: fbc7d1295f91ebce93ca5d4eed7beb85373fe9f4
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2010-02-20  Tim Bishop  <tim@bishnet.net>

    Support FreeBSD 9.

    
  Hash: 1dba0b7e3f4f8d4fee018714e6b21ae0236fbe72
  Files affected:

    configure.in

2010-02-20  Tim Bishop  <tim@bishnet.net>

    Support utmpx in user_stats as well as utmp.

    
  Hash: acbee191f83f95464ecfd7162889f717ffdf2c04
  Files affected:

    configure.in
    src/libstatgrab/user_stats.c

2009-12-04  Tim Bishop  <tim@bishnet.net>

    Make list of valid filesystem types dynamic on FreeBSD. Based on patch
    by Baptiste Daroussin.

    
  Hash: 4fb6be65cbd2e1dae174e796f67fd9ac0f171128
  Files affected:

    src/libstatgrab/disk_stats.c

2009-05-16  Tim Bishop  <tim@bishnet.net>

    FreeBSD has zfs these days.

    
  Hash: 41003587516bb24df54e6048e691ac6876d6b0e0
  Files affected:

    src/libstatgrab/disk_stats.c

2008-08-03  Tim Bishop  <tim@bishnet.net>

    Add zfs to allowed FSs on Solaris.

    
  Hash: b0da138dceee4e8cb6dbb68b37205bcf9a5f737a
  Files affected:

    src/libstatgrab/disk_stats.c

2008-06-17  Tim Bishop  <tim@bishnet.net>

    Linux version 2.5.41 or later provides iowait data in /proc/stat. Use it
    if it's available.

    
  Hash: 0a7c9de4ac5e715921b8c384b5f9ff3ec91dc438
  Files affected:

    src/libstatgrab/cpu_stats.c

2008-05-24  Adam Sampson  <ats@offog.org>

    Avoid a GNU-make-ism in the docs.

    
  Hash: 4c03ad2cd9c5934ae7e2bf41f567115b7fb2cd6a
  Files affected:

    docs/libstatgrab/Makefile.am
    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am

2008-05-24  Adam Sampson  <ats@offog.org>

    Disable autoconf maintainer mode -- it's less broken in modern autoconf,
    so it's useful now.

    
  Hash: 71bc57980c403f4645fc46d1554d1184976811c0
  Files affected:

    configure.in

2008-03-17  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: fa68b2785208dc326ee8ccc4257a44aef9e86ac4
  Files affected:

    configure.in

2008-03-13  Tim Bishop  <tim@bishnet.net>

    Add NEWS entry for 0.16 release.

    
  Hash: cbdb7602b13bc13dbac8898bb861ef3ed5c74c3e
  Files affected:

    NEWS

2008-03-13  Tim Bishop  <tim@bishnet.net>

    Fix mrtg config generation on machines with no swap.

    Patch by: Tom Carlson

  Hash: acc7cc59339d0f02964a9d8b7d8a4fc84b3ac4a9
  Files affected:

    src/statgrab/statgrab-make-mrtg-config.in

2008-02-16  Tim Bishop  <tim@bishnet.net>

    saidar uses fabs which requires libm.

    
  Hash: 9665c26af5eae1f350ed3fd20312d2ebbdc5fb71
  Files affected:

    configure.in

2007-11-06  Tim Bishop  <tim@bishnet.net>

    Some GNU/Linux builds have a slightly different name, like
    linux-gnueabi. See Debian bug Bug#449586 for details.

    
  Hash: cc06585292b53174195e2092810cd7f32de45530
  Files affected:

    configure.in

2007-10-21  Tim Bishop  <tim@bishnet.net>

    FreeBSD's main development line is now at 8.

    
  Hash: dbc86028d0c0c069e6b10f7ab39b54bc9de9c55d
  Files affected:

    configure.in

2007-07-13  Tim Bishop  <tim@bishnet.net>

    Post-release version increment.

    
  Hash: c39b975fc2758e8be817a52d68245b355e6eb356
  Files affected:

    configure.in

2007-07-13  Tim Bishop  <tim@bishnet.net>

    Bump library revision for 0.15 release.

    
  Hash: 20c984e4b971003d9da5f5a7b8d63977a975c8f7
  Files affected:

    src/libstatgrab/Makefile.am

2007-07-13  Tim Bishop  <tim@bishnet.net>

    Update for 0.15 release.

    
  Hash: 6d12a57307a3549ecdee7196d664669c391fd654
  Files affected:

    NEWS

2007-07-05  Tim Bishop  <tim@bishnet.net>

    Last argument to sysctl is an integer not a pointer. It should be set to
    0 if the preceding argument is NULL.

    
  Hash: 00521c6c21905cfe757a92080b7422b7488c1575
  Files affected:

    src/libstatgrab/swap_stats.c

2007-06-18  Tim Bishop  <tim@bishnet.net>

    Update strlcat and strlcpy to latest OpenBSD versions. Remove last
    references to strcat and strcpy.

    Patch submitted by:	David Love <david@homeunix.org.uk>

  Hash: f8c0258b021909da257ad68068f2e8fb5446e8a1
  Files affected:

    src/libstatgrab/tools.c

2007-06-18  Tim Bishop  <tim@bishnet.net>

    Fix memory stats on OpenBSD - they were returning results in the wrong
    units.

    Patch submitted by:	David Love <david@homeunix.org.uk>

  Hash: fa3d92ab9c0bc06604347347aa98e6c7672368ad
  Files affected:

    src/libstatgrab/memory_stats.c

2007-01-06  Tim Bishop  <tim@bishnet.net>

    Fix bug in curses detection - LIBS was not properly reset. Also remove
    to redundant variable declarations.

    
  Hash: ced3ff7f2179f52c6a2cbb745039258d4aa339a8
  Files affected:

    acinclude.m4

2007-01-05  Tim Bishop  <tim@bishnet.net>

    Post-release version increment.

    
  Hash: 27f7e972a9975658b0774762a4e0b457a8ebac7b
  Files affected:

    configure.in

2007-01-05  Tim Bishop  <tim@bishnet.net>

    Add note about saidar bugfix, and set a release date.

    
  Hash: e9c69f732ae42ed1b1ab2369229934e05918526b
  Files affected:

    NEWS

2007-01-05  Tim Bishop  <tim@bishnet.net>

    Fix problem with saidar crashing when window is rapidly resized. Done by
    moving the code out of the signal handler and in to the main loop, and
    just having a global flag set by the signal handler.

    
  Hash: 3846294c0993c7242ee45eed5a491aa317d545ce
  Files affected:

    src/saidar/saidar.c

2006-12-17  Tim Bishop  <tim@bishnet.net>

    Hide cursor when possible.

    
  Hash: 3db666d188ed36303c00845c280fca8ac88392f3
  Files affected:

    src/saidar/saidar.c

2006-12-01  Tim Bishop  <tim@bishnet.net>

    Sort out curses detection. It'll now detect ncurses before curses, and
    cope with the header files being in include or include/ncurses. I think
    this will work in every case.

    
  Hash: 56763996e104e45db64d980bfddc985813cf09e7
  Files affected:

    NEWS
    acinclude.m4
    configure.in
    src/saidar/saidar.c

2006-12-01  Tim Bishop  <tim@bishnet.net>

    Colour is only supported if ncurses is being used.

    
  Hash: 4703501c2a3ccacdb37d6b3d3443cc3723854f5f
  Files affected:

    src/saidar/saidar.c

2006-12-01  Tim Bishop  <tim@bishnet.net>

    Standout doesn't work on all displays, so use bold too.

    
  Hash: 2da1bf6d5735d403834f3f7af0f29e874f196aae
  Files affected:

    src/saidar/saidar.c

2006-12-01  Tim Bishop  <tim@bishnet.net>

    Bump library version for 0.14.

    
  Hash: b10b439ed5957e4882879905d9ace0e8241174ac
  Files affected:

    src/libstatgrab/Makefile.am

2006-12-01  Tim Bishop  <tim@bishnet.net>

    Provisional NEWS entry.

    
  Hash: 7ef91a387788befcdb40e29b248133f2a364d1b9
  Files affected:

    NEWS

2006-11-30  Tim Bishop  <tim@bishnet.net>

    Add support for coloured fields in saidar. Optionally enabled by using
    the new -c flag. Manpage updated with details.

    Mostly taken from a patch supplied by Angelina Carlton
    <debian@magma.ca>, but I made minor changes to layout and function.

  Hash: c393156b674f0ad26c30345552bd36d828a9796e
  Files affected:

    docs/saidar/saidar.xml
    src/saidar/saidar.c

2006-11-30  Tim Bishop  <tim@bishnet.net>

    Whitespace cleanup.

    
  Hash: fcc1eafc7fbe0c390721c7e910248faf4d1a4c92
  Files affected:

    src/saidar/saidar.c

2006-10-30  Tim Bishop  <tim@bishnet.net>

    Fix compile problem in last commit.

    
  Hash: c8baa874c8cf01dc21ccd440b43d9fd1ef8231d4
  Files affected:

    src/libstatgrab/memory_stats.c

2006-10-29  Tim Bishop  <tim@bishnet.net>

    Fix memory stats on OpenBSD. Currently untested.

    Submitted by: bsd@openbsd.rutgers.edu

  Hash: 6b55a52d2e108e15f26dd16ec2dcf87925221e09
  Files affected:

    src/libstatgrab/memory_stats.c

2006-10-09  Tim Bishop  <tim@bishnet.net>

    When checking the interface up status check the link status as well.

    Suggested by: "Vassallo, Michelangelo (Michelangelo)"
    <vassallo@lucent.com>

  Hash: 49bc607420d5ace0c49155c32c43b74224ab839f
  Files affected:

    src/libstatgrab/network_stats.c

2006-10-09  Tim Bishop  <tim@bishnet.net>

    Move reading the interface name to earlier in the function. This fixes
    problems for us on a host with slightly peculiar interfaces.

    
  Hash: 1eaec37b6a964847045de5d1541858fac6ac65a1
  Files affected:

    src/libstatgrab/network_stats.c

2006-10-09  Tim Bishop  <tim@bishnet.net>

    Fix process time_spent on Linux.

    Spotted by: Fred Barnes

  Hash: 69f57af1b3b38fc6c2128a0ab9268adbce59b60f
  Files affected:

    src/libstatgrab/process_stats.c

2006-10-09  Tim Bishop  <tim@bishnet.net>

    Make sure we always close kstat.

    Spotted by: "Javier Donaire" <jyuyu@fraguel.org> (in load_stats.c)

  Hash: 5d1fbcf20eb4537b84505025e76472931a0ca326
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/tools.c

2006-10-09  Tim Bishop  <tim@bishnet.net>

    Attempt to fix cpu stats on solaris. It seems iowait covers all the
    various types of wait, including IO and swap. So instead we do: 
    iowait = cs.cpu_sysinfo.wait[W_IO] + cs.cpu_sysinfo.wait[W_PIO] 	swap
    = cs.cpu_sysinfo.wait[W_SWAP]

    I'm also not sure if cs.cpu_sysinfo.cpu[CPU_STATES] means anything.

  Hash: caf475b759fc2f77b13b6054d1cbb26c8ac9fd56
  Files affected:

    src/libstatgrab/cpu_stats.c

2006-04-24  Tim Bishop  <tim@bishnet.net>

    Allow to build on NetBSD 3.

    Submitted by:	Wijnand Wiersma <wijnand@nedbsd.nl>

  Hash: da4bc9dcf6ac7ff8cc725646bc59b31ad636be54
  Files affected:

    configure.in

2006-03-18  Tim Bishop  <tim@bishnet.net>

    Post-release version increment.

    
  Hash: 1aea7eea8b052ee67903dd9b605bc05e71ca8bbd
  Files affected:

    configure.in

2006-03-18  Tim Bishop  <tim@bishnet.net>

    Modify shared library version appropriately, I think.

    
  Hash: 82eecd0c49e2e8bd863a446f5bc498959c5226f9
  Files affected:

    src/libstatgrab/Makefile.am

2006-03-17  Tim Bishop  <tim@bishnet.net>

    Add latest changes to NEWS file.

    
  Hash: 4947f926fa33b8ba45c4d7437e63fae8c9b6c2a1
  Files affected:

    NEWS

2006-03-17  Adam Sampson  <ats@offog.org>

    Have nfs be a legal filesystem type on all platforms.

    
  Hash: 1e75ba6211ef53f718ea24524bfb6264ab3c4dbe
  Files affected:

    src/libstatgrab/disk_stats.c

2006-03-17  Adam Sampson  <ats@offog.org>

    Replace both spaces and dots with underscores in name components, so
    that filesystem paths containing dots work correctly.

    
  Hash: 9313f652715f1ac81865f8675439702d17902025
  Files affected:

    src/statgrab/statgrab.c

2006-03-11  Tim Bishop  <tim@bishnet.net>

    Provisional NEWS entry.

    
  Hash: 1103d2f073b698494663eab3b18ab72ff07ee543
  Files affected:

    NEWS

2006-03-11  Tim Bishop  <tim@bishnet.net>

    Nasty hack to make inclusion in C++ code easier. We seem to be getting
    regular reports of problems with C++, and this should fix them.

    
  Hash: 51cad204927960e713805f783ebb83599c24f4a9
  Files affected:

    src/libstatgrab/statgrab.h

2006-03-02  Tim Bishop  <tim@bishnet.net>

    Add AM_MAINTAINER_MODE.

    
  Hash: f485674dfe14e371530b2b2d0263603860e9360e
  Files affected:

    configure.in

2006-02-18  Tim Bishop  <tim@bishnet.net>

    Apply fix to Win32 code.

    Patch by:	"Tim Teulings" <rael@edge.ping.de>

  Hash: dd346e384a93d5c445d4078579889b15f30527d9
  Files affected:

    src/libstatgrab/win32.c

2006-01-22  Tim Bishop  <tim@bishnet.net>

    Fix bug on Solaris; network interfaces always seem to be up.

    Reported by:    joanmoraleda@ono.com

  Hash: 8f78fa32eaa755caa32631671757f5f8ce937253
  Files affected:

    src/libstatgrab/network_stats.c

2005-11-11  Tim Bishop  <tim@bishnet.net>

    If configure options used not to install tools then don't install
    manpages for them either. Noticed by looking at NetBSD pkg :-)

    
  Hash: 5fa54041fd8d2f1e67a3f905f5b0637d319698c4
  Files affected:

    docs/saidar/Makefile.am
    docs/statgrab/Makefile.am

2005-09-24  Tim Bishop  <tim@bishnet.net>

    Add WIN32 support via MINGW. We'll need to add stuff to the README file
    about what this requires to build.

    All the hard work done by: skel

  Hash: ff401956bc615edea6e1fb1e222edaf99a88c4b7
  Files affected:

    configure.in
    examples/cpu_usage.c
    src/libstatgrab/Makefile.am
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/win32.c
    src/libstatgrab/win32.h
    src/statgrab/statgrab.c

2005-09-07  Tim Bishop  <tim@bishnet.net>

    Simple hack to truncate disk/interface/mount names to fit in to the
    field. Before this they just overwrote stuff and it got messy.

    Hardly an elegant fix, btw ;)

  Hash: ad97997f6ae1fc6396579641c63731b4ce550ec7
  Files affected:

    src/saidar/saidar.c

2005-07-30  Adam Sampson  <ats@offog.org>

    Use <asm/types.h> to define __u32 etc., and always define u32 etc.
    because the Debian 2.6.0-test9 headers still use them in ethtool.h.

    
  Hash: 0075a5a83881a42d51ee2e3e331245eb41ad1404
  Files affected:

    src/libstatgrab/network_stats.c

2005-07-30  Tim Bishop  <tim@bishnet.net>

    Post-release version increment.

    
  Hash: 4d71e2f2b695d66ef7cd604d0dd8546bb5e5bcdd
  Files affected:

    configure.in

2005-07-30  Tim Bishop  <tim@bishnet.net>

    Put in the date for the 0.12 release.

    
  Hash: 8b9ab433a2768d4b96a87dc9c1600f45f2a5ffe9
  Files affected:

    NEWS

2005-07-18  Adam Sampson  <ats@offog.org>

    Fix a typo.

    
  Hash: b43a7ba231d89407a42a1cb86c1a889ee67b315e
  Files affected:

    NEWS

2005-07-18  Tim Bishop  <tim@bishnet.net>

    Prepare for 0.12 release.

    
  Hash: d1611f47eda23b8508f24319486ccb52959270fb
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2005-07-13  Tim Bishop  <tim@bishnet.net>

    Add support for FreeBSD 7 (which is exactly like 6 at the moment, so
    it's bound to work :)

    
  Hash: 0699772b770027ed966e90412445b745d3c61a83
  Files affected:

    configure.in

2005-07-13  Tim Bishop  <tim@bishnet.net>

    Add more fs stats.

    Patches provided by: Roman Neuhauser

  Hash: 4bd3cbc12c90f125fbee40314c5f7ff7de54a940
  Files affected:

    docs/libstatgrab/sg_get_fs_stats.xml
    src/libstatgrab/disk_stats.c
    src/libstatgrab/statgrab.h
    src/statgrab/statgrab.c

2005-07-13  Tim Bishop  <tim@bishnet.net>

    Change the name of the duplex value from "dup" to "duplex". This will
    break the ABI, but we're changing the fs stats anyway. The API change is
    minimal, so hopefully won't affect too many people.

    
  Hash: 3d3cf605620c27a64f06a4406f09e0c07ddb7824
  Files affected:

    docs/libstatgrab/sg_get_network_iface_stats.xml
    examples/network_iface_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h
    src/statgrab/statgrab.c

2005-04-26  Tim Bishop  <tim@bishnet.net>

    Bit more detail about saidar.

    
  Hash: 42024c1b8b4607ef8f39a829e496b4929e9e8330
  Files affected:

    docs/saidar/saidar.xml

2005-04-25  Tim Bishop  <tim@bishnet.net>

    Apply patch from Scott Lampert to make the network ethtool bits compile
    on Linux 2.6.

    
  Hash: 774c1cd98c2e2788a72b3c8581c4891e40d2cc8b
  Files affected:

    src/libstatgrab/network_stats.c

2005-04-25  Tim Bishop  <tim@bishnet.net>

    Add manpages for the various tools.

    
  Hash: e2de012878943d398ce2ea29cfd01508411ee89a
  Files affected:

    configure.in
    docs/Makefile.am
    docs/libstatgrab/Makefile.am
    docs/saidar/Makefile.am
    docs/saidar/saidar.xml
    docs/statgrab/Makefile.am
    docs/statgrab/statgrab-make-mrtg-config.xml
    docs/statgrab/statgrab-make-mrtg-index.xml
    docs/statgrab/statgrab.xml

2005-04-25  Tim Bishop  <tim@bishnet.net>

    Fix consistency problem in usage output.

    
  Hash: 71ace6085b9cf459d158bfb0bec5de765b34e404
  Files affected:

    src/statgrab/statgrab.c

2005-04-25  Tim Bishop  <tim@bishnet.net>

    Move by repocopy the libstatgrab docs in to a subdirectory. This is so I
    can create separate directories for statgrab/saidar docs.

    
  Hash: 545afc1a9367712df24138844089c8410ba6ba47
  Files affected:

    docs/sg_get_cpu_stats.xml
    docs/sg_get_disk_io_stats.xml
    docs/sg_get_fs_stats.xml
    docs/sg_get_host_info.xml
    docs/sg_get_load_stats.xml
    docs/sg_get_mem_stats.xml
    docs/sg_get_network_iface_stats.xml
    docs/sg_get_network_io_stats.xml
    docs/sg_get_page_stats.xml
    docs/sg_get_process_stats.xml
    docs/sg_get_user_stats.xml
    docs/statgrab.xml

2005-04-25  Tim Bishop  <tim@bishnet.net>

    Nuke sgps - Pete's decided it's actually rather pointless as it doesn't
    offer anything that other ps programs don't.

    
  Hash: 974258b83900952613c73ca5116a739d97bcc496
  Files affected:

    configure.in
    src/Makefile.am
    src/sgps/Makefile.am
    src/sgps/sgps.c

2005-04-25  Tim Bishop  <tim@bishnet.net>

    Update list of platforms - we've tested on Solaris 10.

    
  Hash: e0c4104a0676143a11ad537c0fa51ef2001f014a
  Files affected:

    PLATFORMS

2005-04-13  Adam Sampson  <ats@offog.org>

    Rework Linux partition detection to detect devices called "c0d0" (etc.)
    and not assume they're partitions -- the DAC* and Compaq RAID devices do
    this.

    
  Hash: 7eb74cf671ba032f9fb785acccb2f11be66cf72c
  Files affected:

    src/libstatgrab/disk_stats.c

2005-04-07  Peter Saunders  <pajs@i-scream.org>

    Added support for user and added usage. Also made headers go on stderr,
    so if going thru some parsing script, it doesn't need to strip off the
    first line.

    
  Hash: ea7821dff425a2974969cc226519344859c8c44f
  Files affected:

    src/sgps/sgps.c

2005-04-04  Tim Bishop  <tim@bishnet.net>

    Add build bits for sgps.

    
  Hash: 0ccbed2414d865ce0355304536b125ccad0832fe
  Files affected:

    configure.in
    src/Makefile.am
    src/sgps/Makefile.am

2005-04-04  Peter Saunders  <pajs@i-scream.org>

    Initial version. Only compiled on solaris - but seems to work.

    Makes use of efA flags, and also a 'o' flag for sorting..

    ps -o cpu ps -o mem

    will sort by that type.

    Need to do the -n flag still (not look up names - although, is there 
    much point to that?)

  Hash: 19bd2f09d13a321fa83d7a2b1b24eca50b345022
  Files affected:

    src/sgps/sgps.c

2005-03-01  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: ccc08f554af0acf670aeeb6661b00f9dde6e6f06
  Files affected:

    configure.in

2005-03-01  Tim Bishop  <tim@bishnet.net>

    Update for new release.

    
  Hash: 5622e1c439d11174786a0dd685e9774accd94334
  Files affected:

    src/libstatgrab/Makefile.am

2005-03-01  Tim Bishop  <tim@bishnet.net>

    Prepare NEWS for new release.

    
  Hash: 751ecc0e8bcefa894d046f60aee8cfe4cf3c38f6
  Files affected:

    NEWS

2005-02-24  Tim Bishop  <tim@bishnet.net>

    The labels in this case statement were the wrong way round, so the
    duplex settings were being reported incorrectly on linux. Use the
    defines instead of the values so we can be sure they're right.

    Spotted by Pete.

  Hash: 231fce82c1231554aa068747a3d1bff0d2d0db3d
  Files affected:

    src/libstatgrab/network_stats.c

2005-02-24  Tim Bishop  <tim@bishnet.net>

    Add NFS to list of file systems that we return information for.

    
  Hash: 91911540f400d2c6c4e8143c7db6b0ca447fcb0b
  Files affected:

    src/libstatgrab/disk_stats.c

2005-01-17  Tim Bishop  <tim@bishnet.net>

    Make size_conv deal with negative numbers too (it does happen :-).

    
  Hash: 93c722b0edbe088e0248ab0a06beb7be7b800758
  Files affected:

    src/saidar/saidar.c

2004-11-08  Tim Bishop  <tim@bishnet.net>

    Give Roy credit for the work on HP-UX.

    
  Hash: a85bc603f33ef393803fbc248a19751c137b973a
  Files affected:

    NEWS

2004-11-08  Tim Bishop  <tim@bishnet.net>

    Post-release version increment.

    
  Hash: 5b10c42203ea95105d8f0f4c48752e89b0097b0c
  Files affected:

    configure.in

2004-11-08  Tim Bishop  <tim@bishnet.net>

    Reword NEWS slightly.

    
  Hash: a99dfcae9ada9080f614b7aea9e3eadc9be63051
  Files affected:

    NEWS

2004-11-08  Tim Bishop  <tim@bishnet.net>

    Update NEWS for new release.

    
  Hash: c909b9a275eee11748fea2db68d9a473ae30bed0
  Files affected:

    NEWS

2004-11-08  Adam Sampson  <ats@offog.org>

    Raise SG_ERROR_UNSUPPORTED for interface stats on Cygwin and HP-UX.

    
  Hash: aac8d545f021d7c872ab4476865af6517cbaf478
  Files affected:

    src/libstatgrab/network_stats.c

2004-11-07  Adam Sampson  <ats@offog.org>

    HP-UX disk IO calculation, version 3.

    
  Hash: 833fe5d79a374408caa9857c936b50367dcc9824
  Files affected:

    src/libstatgrab/disk_stats.c

2004-11-07  Adam Sampson  <ats@offog.org>

    Put back the dummy argument -- I know it's not used, but signal handlers
    have to have it.

    
  Hash: b2ff4f170282f5761806bd36bf7042faad6c8e93
  Files affected:

    src/saidar/saidar.c

2004-11-07  Adam Sampson  <ats@offog.org>

    Linux always has atoll, but Cygwin doesn't.

    
  Hash: a6caba1d030b9b126f77c333d003c00cfcf0b857
  Files affected:

    src/libstatgrab/tools.c

2004-11-07  Adam Sampson  <ats@offog.org>

    Always include string.h (for strcmp).

    
  Hash: cb7504899f715ff8c0df1ef4346b5b5a7e0dd9e6
  Files affected:

    src/libstatgrab/process_stats.c

2004-11-07  Adam Sampson  <ats@offog.org>

    Add tools.h include.

    
  Hash: 1ed8d331f0b3dccbe7f0e2f46caf6425acba5e23
  Files affected:

    src/libstatgrab/os_info.c

2004-11-07  Adam Sampson  <ats@offog.org>

    HP-UX can't do network stats.

    
  Hash: 2c1649266b8fd1d351ceac27aa7c4fefdc1608f2
  Files affected:

    src/libstatgrab/network_stats.c

2004-11-07  Adam Sampson  <ats@offog.org>

    loadav is only needed on non-HP-UX.

    
  Hash: 30c2fc7fed9c60b78abf62ea4f127ebb483a2153
  Files affected:

    src/libstatgrab/load_stats.c

2004-11-06  Tim Bishop  <tim@bishnet.net>

    Cast numbers to be the same type when doing a comparison.

    
  Hash: 32246e4a448117673b9beb29e0576654715a3c73
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c

2004-11-06  Tim Bishop  <tim@bishnet.net>

    atoll is only used in one place in libstatgrab, so move it's definition
    to before that one use. Given this hasn't caused us problems I'm
    guessing that atoll is actually available on Linux and Cygwin, which
    would make having the function here void.

    If so, it can simply be removed instead.

  Hash: 24904a372d766ee11f1dc31191ffe1c7b7872a98
  Files affected:

    src/libstatgrab/tools.c

2004-11-06  Tim Bishop  <tim@bishnet.net>

    Remove another unused parameter.

    
  Hash: 865ad8982037cbb0023bd6a66fa68028286d68d1
  Files affected:

    src/saidar/saidar.c

2004-11-06  Tim Bishop  <tim@bishnet.net>

    Remove a couple of unused parameters.

    
  Hash: 7c4f9b8ed07c5d4fe51937008de1f11a5f095d03
  Files affected:

    examples/os_info.c
    examples/vm_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Rework the HP-UX swap stats code to fetch batches of swap devices.
    (Untested.)

    
  Hash: 299c900bb2610a4f380b7632d9331728e287b1c3
  Files affected:

    src/libstatgrab/swap_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Add a FIXME (it'd be preferable to avoid the /dev/dsk search when
    possible).

    
  Hash: 6f92c93c76a591eee01ecd22c230eadf8900d02e
  Files affected:

    src/libstatgrab/disk_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Fix IO bytes calculation -- the value returned is in 16-bit words, so
    divide by two to get bytes.

    
  Hash: 00192a0628b8fe3d6f6560496f8ff49aa4985af1
  Files affected:

    src/libstatgrab/disk_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Rework the HP-UX disk stats code to fetch batches of disks. (Untested.)

    
  Hash: 9efb37610bce8d10f4688b90cc1446ae6c4af889
  Files affected:

    src/libstatgrab/disk_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Oops -- make the loop work. (Untested.)

    
  Hash: 5a9dbad39003418055c784dddf600f2d40e7be95
  Files affected:

    src/libstatgrab/process_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Rework the HP-UX process stats code to fetch batches of processes in
    fewer system calls. (Untested.)

    
  Hash: c55ebe06c48e4d3ef30c94a7075561087262de6f
  Files affected:

    src/libstatgrab/process_stats.c

2004-11-06  Adam Sampson  <ats@offog.org>

    Add sg_get_pstat_static for HP-UX. (Untested.)

    
  Hash: 1792201bc0af8cab104ce1f665bc7dc0dab9ae30
  Files affected:

    src/libstatgrab/memory_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-11-01  Adam Sampson  <ats@offog.org>

    Correct comment.

    
  Hash: e0c516acd87c3f6cbe2445855dbc0617f925dd25
  Files affected:

    src/libstatgrab/disk_stats.c

2004-11-01  Adam Sampson  <ats@offog.org>

    We don't need the realloc workaround -- we don't rely on the GNU
    behaviour.

    
  Hash: 3eb6e4903bcf30deba7bd2dbfb29386e67f91c06
  Files affected:

    configure.in
    src/libstatgrab/tools.c

2004-11-01  Tim Bishop  <tim@bishnet.net>

    Lets not forget the documentation.

    
  Hash: f93b1a51994c3d3fa916a71ce4ac48c869cddf51
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2004-11-01  Tim Bishop  <tim@bishnet.net>

    Next release will be 0.11.

    
  Hash: 452f5bdc02b5bdd9369c70a3d6e06713d076ef4c
  Files affected:

    configure.in
    src/libstatgrab/Makefile.am

2004-11-01  Tim Bishop  <tim@bishnet.net>

    Merge in patch to provide support for HP-UX 11.11.

    Contributed by Roy Keene - thanks Roy!

  Hash: e11976bb874abbba2f36466ecb62776413cf91f3
  Files affected:

    PLATFORMS
    configure.in
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/user_stats.c

2004-10-23  Adam Sampson  <ats@offog.org>

    The maximum value must be an integer.

    
  Hash: a4e1c50c3cbee5e48e8f724cd92c5ecb629bc4ee
  Files affected:

    src/statgrab/statgrab-make-mrtg-config.in

2004-10-11  Tim Bishop  <tim@bishnet.net>

    Fix when used percentage hits 100%.

    
  Hash: 9f18e3c34a0213442c95570adf17dc9c2ed0b1db
  Files affected:

    src/saidar/saidar.c

2004-09-10  Adam Sampson  <ats@offog.org>

    Fix some nasty repeated if()s (reported by Fred Barnes).

    
  Hash: 899f7a3b094a5cfb6f9fefc3ebbf31718ac844ab
  Files affected:

    src/libstatgrab/process_stats.c

2004-08-24  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: c67f007f4687a749ab349d5ccfc3670e8abca314
  Files affected:

    configure.in

2004-08-24  Tim Bishop  <tim@bishnet.net>

    Add mention of FreeBSD 6.0 -CURRENT support.

    
  Hash: d772f1a5a6c5c91b42456235e550983aa2450985
  Files affected:

    NEWS

2004-08-24  Tim Bishop  <tim@bishnet.net>

    Add support for FreeBSD 6.0. Drop version back to get this into the new
    release.

    
  Hash: 141b2f6d1f83487ae08ab0413df5f1f74e7dce23
  Files affected:

    configure.in

2004-08-23  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 871358f0d61ac42fc5529ad1b480342da8ceb0f1
  Files affected:

    configure.in

2004-08-23  Adam Sampson  <ats@offog.org>

    Fix logic error: maximum network speeds should be KiB, not Mbit.

    
  Hash: 3e374e9768d4529b1f8abe783d1264d6a47e3551
  Files affected:

    src/statgrab/statgrab-make-mrtg-config.in

2004-08-23  Adam Sampson  <ats@offog.org>

    Update NEWS for statgrab changes.

    
  Hash: 3a2f5fbd1d31ec484ea3ab0238211bb8a52cec58
  Files affected:

    NEWS

2004-08-10  Adam Sampson  <ats@offog.org>

    Repair whitespace damage in help message. (It's still there in the other
    code.)

    
  Hash: 1ef3c7bfd9a1ada1a4491e0fa3238f26c28eb118
  Files affected:

    src/statgrab/statgrab.c

2004-08-10  Adam Sampson  <ats@offog.org>

    "Mebibyte", not "mibibyte".

    
  Hash: 34900755624e650b630e2742e3503c9bb3d50f0d
  Files affected:

    src/statgrab/statgrab.c

2004-08-10  Adam Sampson  <ats@offog.org>

    We do know the interface speed these days, so we don't (always) have to
    guess.

    
  Hash: dd6913d3b0407f15088c0784dfbedae8d12f58a9
  Files affected:

    src/statgrab/statgrab-make-mrtg-config.in

2004-08-10  Adam Sampson  <ats@offog.org>

    Use -K and -f to produce better MRTG output.

    
  Hash: ee5981152ec39e641f01463ba23238fb84d103a4
  Files affected:

    src/statgrab/statgrab-make-mrtg-config.in

2004-08-10  Adam Sampson  <ats@offog.org>

    Add -K, -M and -G to display byte counts in kibibytes, mibibytes and
    gibibytes (mostly for MRTG use, since it can't deal with numbers bigger
    than 32 bits).

    
  Hash: 4ea841d876ba45648400518d0c5ef5978cd7029e
  Files affected:

    src/statgrab/statgrab.c

2004-08-10  Adam Sampson  <ats@offog.org>

    Add -f option to scale floating-point values to integers for MRTG
    output.

    
  Hash: fcfc251e8f0a80ba308fa46583eb2b7f9a62d645
  Files affected:

    src/statgrab/statgrab.c

2004-07-27  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 9ed36c69da3565760a8046bf73f511a8962c7936
  Files affected:

    configure.in

2004-07-27  Tim Bishop  <tim@bishnet.net>

    Fix the shared library version.

    
  Hash: b26238bb6e2d836123ab29d6c2f864f4040d2b21
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2004-07-25  Tim Bishop  <tim@bishnet.net>

    Fix release date.

    
  Hash: 7c13a73f201412273e5389c7e7a2deb70426459d
  Files affected:

    NEWS

2004-07-18  Adam Sampson  <ats@offog.org>

    getpagesize() cannot fail.

    
  Hash: 5e68cdb56d16f1e304ab052dfd6f0873b374e244
  Files affected:

    src/libstatgrab/memory_stats.c

2004-07-18  Adam Sampson  <ats@offog.org>

    Use sg_set_error_with_errno whenever errno's valid. Change the one user
    of SG_ERROR_ENOENT to SG_ERROR_SYSCTL instead (since that's what it
    should have been).

    
  Hash: c9306f8f499ddbab2df1dc8795d060b46dbd1723
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/user_stats.c

2004-07-18  Adam Sampson  <ats@offog.org>

    Document sg_get_error_errno. Note that sg_get_error_arg can return NULL.

    
  Hash: f2061c795e0c837e4d793904944d694409ee7b61
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2004-07-18  Adam Sampson  <ats@offog.org>

    Remove extraneous consts.

    
  Hash: 244967ce941c501d53320ef001d3303f365d88e0
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h

2004-07-18  Adam Sampson  <ats@offog.org>

    Clear errno_value on errors that don't have a valid errno.

    
  Hash: 579b0576118804e8beabaf2791185450908ee9f6
  Files affected:

    src/libstatgrab/error.c

2004-07-18  Adam Sampson  <ats@offog.org>

    Fix a couple of typos.

    
  Hash: 80cafcaa673eed0caf249b3b300106e1ddf076e7
  Files affected:

    NEWS

2004-07-18  Tim Bishop  <tim@bishnet.net>

    Post-release version increment.

    
  Hash: dc207c64e4f03c8653468c2a8f42b899fd95e919
  Files affected:

    configure.in

2004-07-18  Tim Bishop  <tim@bishnet.net>

    Catch a few bits of documentation/comments containing the deprecated
    function names.

    
  Hash: 021c2bc0791565c3b8cad6cb6e64bc1a697d9d5b
  Files affected:

    PLATFORMS
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/sg_get_disk_io_stats.xml
    src/statgrab/statgrab.c

2004-07-18  Tim Bishop  <tim@bishnet.net>

    Update NEWS and library version for next release.

    
  Hash: 9196d1425bc847b933f684b3395ab2d7013547ed
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2004-07-16  Tim Bishop  <tim@bishnet.net>

    Do the errno capturing in a nicer way.

    
  Hash: 74cfc44efabd6700c23dcb8144c24fdb3131ef85
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.c

2004-07-16  Tim Bishop  <tim@bishnet.net>

    Add function to allow grabbing of the current errno. Should we store
    errno too maybe?

    
  Hash: 4bb6787deabf20ab9691a6e9c43354adaecffc4b
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.c

2004-07-16  Adam Sampson  <ats@offog.org>

    Make sure that network interfaces get an interface_name stat, even if
    they don't have IO stats (like for loopback interfaces on Solaris).

    
  Hash: ffc36810237a293908b4d9fa5b2481ed4d514b03
  Files affected:

    src/statgrab/statgrab.c

2004-07-02  Tim Bishop  <tim@bishnet.net>

    Make sure statgrab.h can't be included twice.

    
  Hash: f6ffcca1d39a3c197c1c66f1230ea4acf0d4e5dd
  Files affected:

    src/libstatgrab/statgrab.h

2004-06-21  Tim Bishop  <tim@bishnet.net>

    Add three variables to the pkg-config file: bin_owner, bin_group,
    bin_perm

    The purpose of these variables is to suggest the required owner, group
    and permissions that might be used to make a binary using libstatgrab
    work fully. I'm not sure if this is the "best" way of doing this, but it
    seems like a reasonable idea.

  Hash: e638f3d0559d62671a7f6d2476c359251260cdff
  Files affected:

    configure.in
    libstatgrab.pc.in

2004-06-21  Tim Bishop  <tim@bishnet.net>

    Let libstatgrab know about the veritas file system (vxfs).

    
  Hash: a1fe2057497d1d29e175574db066791639fe99be
  Files affected:

    src/libstatgrab/disk_stats.c

2004-06-21  Tim Bishop  <tim@bishnet.net>

    Fix memory leak on NetBSD 2.0. (kl_stats wasn't being free'd)

    
  Hash: c40d11b62ba0832983fd3cd8f2d0c5cd13f899db
  Files affected:

    src/libstatgrab/process_stats.c

2004-06-20  Tim Bishop  <tim@bishnet.net>

    On NetBSD 2.0 (in fact, all BSD's, but only know of NetBSD 2.0) use
    statvfs instead of statfs when available.

    No guarantees I've got this right - I need to upgrade our NetBSD 2 test 
    machine to a more recent build.

  Hash: a2615d6590dc8a381ad92320fe5105f60fb9a863
  Files affected:

    configure.in
    src/libstatgrab/disk_stats.c

2004-06-20  Tim Bishop  <tim@bishnet.net>

    Since OpenBSD 3.5 disk io stats have been seperated into read and write,
    just like NetBSD. This fixes libstatgrab to work on 3.5+.

    Bug reported by Wijnand Wiersma and Christian Weisgerber.

  Hash: 19c7f1dbbe62dc22b150f17a4e2b4ca4ed984a34
  Files affected:

    configure.in
    src/libstatgrab/disk_stats.c

2004-06-18  Tim Bishop  <tim@bishnet.net>

    Fix permission setting when DESTDIR is used. There still seems to be an
    issue with libtool on my FreeBSD box, but a google search suggests this
    is fixed in later versions of libtool.

    Thanks to Daniel <dragonheart@gentoo.org> for this one.

  Hash: 2a42457fbfbea708d924b75f185b8dd81cb61ef2
  Files affected:

    src/saidar/Makefile.am
    src/statgrab/Makefile.am

2004-05-30  Adam Sampson  <ats@offog.org>

    Clear the error buffer on startup.

    
  Hash: 63f6f9c0c7f679b40d40b0bcc83aa128cebf2c6d
  Files affected:

    src/libstatgrab/tools.c

2004-05-19  Tim Bishop  <tim@bishnet.net>

    Post-release increment.

    
  Hash: e7954000786b08539e10926e0481d3edd6a10210
  Files affected:

    configure.in

2004-05-19  Tim Bishop  <tim@bishnet.net>

    Update NEWS file for 0.10 release.

    
  Hash: b7daaeea8be5ecd8e08ccb3af8956916dfc7a6ff
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2004-05-18  Peter Saunders  <pajs@i-scream.org>

    Added details about the supplied sorting functions that can be passed to
    qsort

    
  Hash: 9ec11958b00872ea3f2ff1758478a5b1b7207976
  Files affected:

    docs/libstatgrab/sg_get_process_stats.xml
    docs/sg_get_process_stats.xml

2004-05-08  Tim Bishop  <tim@bishnet.net>

    Eek. I commited XML that didn't parse!

    
  Hash: a9e6673c123aa06648ad37862ae616bb1f2f2b03
  Files affected:

    docs/libstatgrab/sg_get_fs_stats.xml
    docs/sg_get_fs_stats.xml

2004-05-08  Tim Bishop  <tim@bishnet.net>

    Reword some bits about the entries parameter.

    
  Hash: 5680b380231d82ce6b21025238c8de7463af4ac3
  Files affected:

    docs/libstatgrab/sg_get_fs_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/sg_get_fs_stats.xml
    docs/sg_get_process_stats.xml

2004-05-05  Tim Bishop  <tim@bishnet.net>

    And add sg_get_fs_stats properly :-)

    
  Hash: 7780143040ba08cd2babd23ee4adb242173192fd
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2004-05-05  Tim Bishop  <tim@bishnet.net>

    Add sg_get_fs_stats to statgrab.xml.

    
  Hash: a5821edb9f088a177ca48f7e21158791f3498b38
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2004-05-05  Tim Bishop  <tim@bishnet.net>

    Add docs for sg_get_fs_stats.

    
  Hash: 7bc91f28c4f6e90ab29a61a850197c78199a9481
  Files affected:

    docs/Makefile.am
    docs/libstatgrab/sg_get_fs_stats.xml
    docs/sg_get_fs_stats.xml

2004-05-04  Tim Bishop  <tim@bishnet.net>

    Document the new process stats code a bit, and the error reporting code.
    No mention of the sorting stuff, because I'm not sure how that works.

    That's it for new stuff - assuming I haven't missed anything.

  Hash: b0fd9f01b870748668627b2a9ff03ddccc0ac031
  Files affected:

    docs/Makefile.am
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/statgrab.xml
    docs/sg_get_process_stats.xml
    docs/statgrab.xml

2004-05-02  Tim Bishop  <tim@bishnet.net>

    Another pass, finish off the main page and fix a few problems.

    Still to document: process stats (new stuff), error stuff, and some fs 
    related stuff.

  Hash: 06bfc4062406fe026ddc6552a72766b24e45658f
  Files affected:

    docs/Makefile.am
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/statgrab.xml
    docs/sg_get_cpu_stats.xml
    docs/sg_get_process_stats.xml
    docs/statgrab.xml

2004-05-02  Tim Bishop  <tim@bishnet.net>

    First pass as updating contents of documentation.

    
  Hash: 130f282dcb4e9e1cec31918162a3e16f3f9578fa
  Files affected:

    docs/Makefile.am
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/sg_get_cpu_stats.xml
    docs/sg_get_disk_io_stats.xml
    docs/sg_get_host_info.xml
    docs/sg_get_load_stats.xml
    docs/sg_get_mem_stats.xml
    docs/sg_get_network_iface_stats.xml
    docs/sg_get_network_io_stats.xml
    docs/sg_get_page_stats.xml
    docs/sg_get_process_stats.xml
    docs/sg_get_user_stats.xml

2004-05-02  Tim Bishop  <tim@bishnet.net>

    Do a repo copy of the documentation to their new names, then delete the
    old ones. They still need their content updating though. We also need
    docs for the new process stats stuff, the error reporting code, and I
    think the FS stats which seem to be missing.

    
  Hash: bbfb532761e753c52c12d827f37747532838351d
  Files affected:

    docs/cpu_percent_usage.xml
    docs/get_diskio_stats.xml
    docs/get_general_stats.xml
    docs/get_load_stats.xml
    docs/get_memory_stats.xml
    docs/get_network_iface_stats.xml
    docs/get_network_stats.xml
    docs/get_page_stats.xml
    docs/get_process_stats.xml
    docs/get_user_stats.xml

2004-04-08  Adam Sampson  <ats@offog.org>

    Skip over argv pointers on OpenBSD.

    
  Hash: 00fa4238e533e5cc415cd4cbb7e1aefe4670f4a2
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-08  Tim Bishop  <tim@bishnet.net>

    Attempt to rework the command line argument fetching - mallocing 256Kb
    was a bit on the large side. Now we start with something sensible and
    make it bigger as required.

    This produces odd results on OpenBSD.

  Hash: 5cf639964ed290feeb1b22850d7e9193a9ffd6ea
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-08  Tim Bishop  <tim@bishnet.net>

    Fix bugs in error code.

    
  Hash: 31ed19a196c764522015d3f410ffc823511f5baa
  Files affected:

    src/libstatgrab/disk_stats.c

2004-04-08  Adam Sampson  <ats@offog.org>

    Add comparison functions for names where that's likely to be useful.

    Make the network_iface_stats example show how to use bsearch to find an 
    interface by name.

  Hash: 1a1b5a1b965041117f1004be8f6678c1cd2930e7
  Files affected:

    examples/network_iface_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-04-08  Adam Sampson  <ats@offog.org>

    Nuke sg_process_sort, and make the process stats example demonstrate how
    to sort using the compare functions and qsort.

    
  Hash: 4a1a8666f6c47a4fc6ce40b528d5b0927f804ecd
  Files affected:

    examples/process_snapshot.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-04-08  Tim Bishop  <tim@bishnet.net>

    s/sg_sort_method/sg_process_sort_method/

    
  Hash: 3a7a2ef409a1a6819561fc92c9c463f31b9277b4
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-04-08  Peter Saunders  <pajs@i-scream.org>

    Name change for future friendlyness.

    
  Hash: 536d3e6afd39f56a02ea5a12f7c6bdf4ef4938c6
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-04-08  Peter Saunders  <pajs@i-scream.org>

    Added some generic sorting methods for process_stats.

    
  Hash: 1be73abbcb871f8a254f1e34b0c14ca7bf4abcf7
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-04-08  Adam Sampson  <ats@offog.org>

    ... and include tools.h to get the definition of sg_strlcpy.

    
  Hash: d7f0d61dd365311ae232a377768c545c70e08761
  Files affected:

    src/libstatgrab/error.c

2004-04-08  Adam Sampson  <ats@offog.org>

    sg_strlcpy, not strlcpy.

    (I think that bit of code's won the "most errors in a three-line commit" 
    award...)

  Hash: ae6cdd27bf66305269258ff07f8f6b7259e14b9c
  Files affected:

    src/libstatgrab/error.c

2004-04-08  Tim Bishop  <tim@bishnet.net>

    Shift a bunch of parsing functions to be linux/cygwin only. Prompted by
    a regex related compile error on FreeBSD (we don't use regex's on
    FreeBSD).

    
  Hash: 50676852563a96dd505e8cb1da12d6d948d79f1c
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-04-07  Tim Bishop  <tim@bishnet.net>

    Bugfix in error setting code - we can't strlcpy a NULL. Test out the
    error code in an example.

    
  Hash: f0c22d1b527eb015c491269fb3fd2b467abcb252
  Files affected:

    examples/vm_stats.c
    src/libstatgrab/error.c

2004-04-07  Adam Sampson  <ats@offog.org>

    Remove a couple of FIXMEs that have been dealt with.

    
  Hash: cc30c6f849e1608c966d4d1203cb70b1cf908840
  Files affected:

    src/libstatgrab/statgrab.h

2004-04-07  Adam Sampson  <ats@offog.org>

    Add sg_get_error_arg. It uses a static buffer for storage rather than
    sg_update_string because we can't do anything about a malloc failure at
    that point.

    Remove the default case in the switch, so GCC will give an "unhandled 
    enum value in switch" warning if we add a new error code without a 
    string.

  Hash: b1beee81439c1bf945d6002ae2e11fd1e3dbe369
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h

2004-04-07  Tim Bishop  <tim@bishnet.net>

    The rest of the error handling stuff (except the vector code).

    I've been extremely unimaginative with the string names in error.c, but 
    they're all in one place so much easier to tidy up. I'm also beginning
    to wonder if we actually needed an SG_ERROR_SYSTEM_CALL to indicate some
    call into the system failed - because the majority of our errors are
    those :-)

    Still to do, then:
    - vector code
    - better string names in error.c
    - deal with arg string in some way
    - make use of the error status in statgrab/saidar/examples

  Hash: a908e912552d5d3f9fb1a9a24167d8a5096d59d7
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/user_stats.c

2004-04-07  Tim Bishop  <tim@bishnet.net>

    Error reporting for disk_stats.

    
  Hash: e62aafbfb309491c044821dc23c52d486fd743ed
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h

2004-04-07  Tim Bishop  <tim@bishnet.net>

    More whitespace tidyup (spaces->tabs).

    
  Hash: 2e2d3c60b1761b879798eef3733ec87c30e68a28
  Files affected:

    examples/process_snapshot.c
    src/saidar/saidar.c
    src/statgrab/statgrab.c

2004-04-07  Peter Saunders  <pajs@i-scream.org>

    Fixed tools.c change of enum Fixed a FD leak in solaris and added nice
    value.

    
  Hash: 10492acbc9c448edbd66b4660c7b0bf171fd8e7e
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c

2004-04-07  Tim Bishop  <tim@bishnet.net>

    Whitespace tidyup - change spaces to tabs.

    
  Hash: 0a1ca6f679a43a2844a0367eac1d1d473d35d895
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c

2004-04-07  Tim Bishop  <tim@bishnet.net>

    Add error reporting to cpu_stats.

    
  Hash: 489ede889de56cafb1e199ecbd4621ae6bc33bce
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h

2004-04-07  Peter Saunders  <pajs@i-scream.org>

    More linux code, now does uid/gid.

    
  Hash: bdd5d5ea3d1e692b24bfb8e06af16de3c62e9f77
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-07  Adam Sampson  <ats@offog.org>

    Include tools.h to get sg_realloc.

    
  Hash: bdd442fe0ceb9d05fd51b7e90febd08d66244b4d
  Files affected:

    src/libstatgrab/vector.c

2004-04-07  Adam Sampson  <ats@offog.org>

    Change malloc -> sg_malloc, realloc -> sg_realloc, and rewrite the one
    calloc call to use sg_malloc.

    
  Hash: 62d181edaa7b2e7ad465f7b92d2b0fa54483f6a6
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/vector.c

2004-04-07  Adam Sampson  <ats@offog.org>

    Change the last few instances of strdup to use sg_update_string.

    
  Hash: ebdd80d8106b057b8f5d40d6fa53290640faa047
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c

2004-04-07  Tim Bishop  <tim@bishnet.net>

    Add sg_realloc, and a macro fo sg_malloc.

    
  Hash: 02e39fc58f063bfaa82ccb3941de95191f6dfd3c
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-04-06  Adam Sampson  <ats@offog.org>

    Add SG_ERROR_NONE.

    Make sg_str_error return const char *.

  Hash: 1d7e4fe4244d7d8641e554ad99fa2dd905339613
  Files affected:

    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Some very basic startings of error handling stuff. I've not put much
    thought into this yet, it's basically just the idea we've discussed.

    Of course, this is the easy task. The hard job is creating a whole list
    of different errors and using them across libstatgrab :-)

  Hash: cd4cfaa36d51dea96fdce4fa26aafa1b9624a5e2
  Files affected:

    src/libstatgrab/Makefile.am
    src/libstatgrab/error.c
    src/libstatgrab/statgrab.h

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Fix a couple of includes.

    
  Hash: c6c069f42b8833ef87a7653650940adb7a098310
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab_deprecated.c

2004-04-06  Adam Sampson  <ats@offog.org>

    Consistently return -1 for error.

    
  Hash: 740c34612946fae785b6c7646d32d821b672230d
  Files affected:

    src/libstatgrab/tools.c

2004-04-06  Adam Sampson  <ats@offog.org>

    NetBSD's sysctl sometimes (repeatably) misreports the size of struct
    uvmexp. Fortunately, it's a fixed-size structure anyway, so we don't
    need to dynamically allocate it.

    We probably should be using struct uvmexp_sysctl anyway, since it's
    ABI-stable.

  Hash: b5dd0af6f1e283913fe8459196eabdb8cf553181
  Files affected:

    src/libstatgrab/tools.c

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Add compatibility code. This provides a working pre-0.10 API for old
    applications. To use simply change the #include line to:

  define SG_ENABLE_DEPRECATED
  include <statgrab.h>

    This can be disabled at build time completely using
    --disable-deprecated.

  Hash: 99ac0e9eacbbaff3c58c6dea9c6e7e4e91da201d
  Files affected:

    configure.in
    src/libstatgrab/Makefile.am
    src/libstatgrab/statgrab.h
    src/libstatgrab/statgrab_deprecated.c
    src/libstatgrab/statgrab_deprecated.h

2004-04-06  Peter Saunders  <pajs@i-scream.org>

    A bit more of the linux code.. Need to do uid/gid bit still. Also,
    haven't done nice on solaris yet.

    
  Hash: 6615325a8f5e3adb8b298708b02e30d59f36d0b8
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Add header block.

    
  Hash: de3ad684a0726b13c223b363c720214377d45316
  Files affected:

    src/libstatgrab/vector.h

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Update name of project at the top of all soure files. These files now
    exist in their own right, rather than as part of the "CMS".

    
  Hash: 549fddd68669d462167b65a9e23900f0917b0fec
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/saidar/saidar.c
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Add a note about something that needs fixing. We still have problems
    getting proctitle on some of the BSD's :-(

    
  Hash: da731fbceb09678c6de46782dca2b54fd583c637
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Add mention of NetBSD 2.0. I'm not sure of the best way to format this..
    we have platforms we expect to work, and platforms we know to work. For
    example, we might not have tested OpenBSD 3.4 but we're pretty sure it
    works.

    
  Hash: c75d5704394571a4b8e02ced8981fdb1334c4722
  Files affected:

    PLATFORMS

2004-04-06  Tim Bishop  <tim@bishnet.net>

    Fix process stats on NetBSD 2.0 (beta). Also fix the
    5-processes-workaround Adam committed yesterday on the rest of the BSD's
    (not just FreeBSD5).

    
  Hash: 957cb1f375354a271ea123a907b99aa7c89895e1
  Files affected:

    configure.in
    src/libstatgrab/process_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    To quote from the FreeBSD kernel source: "/* overestimate by 5 procs
    */". This is the workaround.

    
  Hash: fc22704de055ef73761d35acfc1e10d403a099ac
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Make sg_update_string return an int to indicate success, so that it can
    be used to set a string to NULL.

    Make Linux process_stats code set proctitle to NULL if it's empty rather 
    than "".

  Hash: 82aa974246a83187f94c75c9f651135d60190834
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-04-05  Tim Bishop  <tim@bishnet.net>

    Update examples to use new names. I guess some renaming could probably
    be done here, but at least they all compile again now.

    
  Hash: be558daad8430f19ac464f505bdd74ef96bd9bcd
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_iface_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Rename all the functions, types and enums in the API to be consistent.
    Types are now of the form "sg_mem_stats"; functions of the form
    "sg_get_mem_stats"; enums of the form "SG_PROCESS_STATE_RUNNING". (The
    old get_proc_snapshot follows the usual calling convention now.)

    Make internal functions static where possible.

    Rename non-static internal functions to have an sg_ prefix so they don't 
    collide with those from other libraries. In particular, strlcpy and 
    strlcat are now called sg_strlcpy and sg_strlcat and are always 
    included.

    Fix saidar and statgrab to use the new API.

  Hash: ce02a5f7377337b0a9553b6cb08944a20b4c2973
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h
    src/saidar/saidar.c
    src/statgrab/statgrab.c

2004-04-05  Tim Bishop  <tim@bishnet.net>

    Fixed, and properly tested.

    
  Hash: c0103e9fcd99281e4f28239d3257fe3b16b226d9
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-05  Tim Bishop  <tim@bishnet.net>

    Instead of reallocing on the fly, work out the size of the buffer in
    advance and then fill it on a second pass. Suggested by Adam.

    
  Hash: 7f42d15e605d0489f6bba454acdfb7214696951e
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    NULL -> \0, initialise malloced memory to \0, and plug a memory leak.

    
  Hash: a34e5866ff2c276ab917148d3230a6718909dae9
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Use vectors and update_string. (I haven't really touched the BSD code
    here yet.)

    
  Hash: 9921edff2b21e6a7e665097c0608555f9afe83cb
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Kill a memory leak when the mapping already exists.

    
  Hash: 4e37c1f8c6da9edf4cb89d6eb742af97d3cc8b23
  Files affected:

    src/libstatgrab/tools.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Add a missing check for vector resize failing.

    
  Hash: 4d114cfbc417fc5e4f23c460570cc956840cc4e3
  Files affected:

    src/libstatgrab/user_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Fix the strict-aliasing problem in a clean, sensible way that actually
    works.

    As a bonus, we now get a "value computed is not used" warning from GCC 
    if we don't check the return value of VECTOR_RESIZE. (This is dubiously 
    a bonus when it's being resized to 0, but it's not going to hurt to 
    check even then -- we might support destructors failing in the future.)

  Hash: ab13430f6f21302fbc6149a1eede8b2f163e95d7
  Files affected:

    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2004-04-05  Adam Sampson  <ats@offog.org>

    Fix the strict-aliasing warnings.

    This is even uglier than the previous code, since it pushes a test for a 
    sentinel value into the VECTOR_RESIZE macro. I'm pretty certain that the 
    pointer-to-static-used-as-sentinel is my own invention. I'm not entirely 
    convinced that it's a good idea, but I can't see anything technically 
    wrong with it...

  Hash: 24e444d73b7127ea32fa625de0714cc440fc9409
  Files affected:

    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2004-04-05  Tim Bishop  <tim@bishnet.net>

    We nearly forgot to make the process stats work on cygwin again :-)

    
  Hash: d9d7cb0d4868ac1b82540ce45a09a4aa75aa80ec
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Deal with vectors as char ** rather than void **, so we can do pointer
    arithmetic without Sun cc complaining.

    
  Hash: 899c3015ddcace40f86a824777f46cc2efa72c5a
  Files affected:

    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2004-04-05  Tim Bishop  <tim@bishnet.net>

    Fix a couple of warnings on Solaris.

    
  Hash: e44ee4b8861bca0488593410d1a534664cc6c956
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/tools.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Use update_string.

    
  Hash: 34c77c552b29e5f30a05e52b5ba10c56688dcfbe
  Files affected:

    src/libstatgrab/network_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Use update_string throughout.

    
  Hash: c960c65057be798b14af3452a11e481edfd37917
  Files affected:

    src/libstatgrab/disk_stats.c

2004-04-05  Adam Sampson  <ats@offog.org>

    Add prototype for get_svr_from_bsd, and make it take and return const
    char *.

    
  Hash: 3eca300abc1778ddc1115c6f82792b4dae78e0e1
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Returning NULL in a function that returns int's is wrong :)

    Now returns -1 on failure. Also change code that calls us to check for <
    0 for failures.

  Hash: 6aeb1a865534610a24d3210fc0607fac739726e6
  Files affected:

    examples/process_snapshot.c
    src/libstatgrab/process_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    I like copy_string. We should use it EVERYWHERE. Also, the name needed
    changing.

    
  Hash: 80a81b61adae4466f2d98f33cbed41ae6b717f18
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-04-04  Adam Sampson  <ats@offog.org>

    Fix realloc memory leak.

    
  Hash: 6cd0c745b3e65a4acba76a1894f2142b613724d1
  Files affected:

    src/libstatgrab/tools.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Rework user_stats to use vectors, which gets rid of all the
    MAX_LOGIN_NAME_SIZE stuff too.

    
  Hash: c33042a03d8d797f795ec7a4b291b417ce4d43e1
  Files affected:

    src/libstatgrab/user_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Minor bugfixes.

    
  Hash: ad7e65730bd94fe5b5bfac7f5b2c3f7007db5bd6
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Convert another realloc-managed static array to a vector.

    
  Hash: 3118b075e21898ec6a8348fa239fa3858eb567da
  Files affected:

    src/libstatgrab/disk_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Fix a bunch of silly errors.

    
  Hash: c82653511a0b7e53d7a8d5a9bb4c24bee656ae83
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    get_proc_snapshot returns an int, not a pointer.

    
  Hash: 26855f2a9ead0e379c34905e7f464cfa892ee150
  Files affected:

    examples/process_snapshot.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Make network_stats use vectors.

    
  Hash: 38dbd998adec74832b00ff5ce39f8a42f2ead7ad
  Files affected:

    src/libstatgrab/network_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Fix a bunch of warnings on the BSD's.

    
  Hash: 2f874f5ced1b8af85c475dfac098b0b493b7a912
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_traffic.c
    examples/page_stats.c
    examples/process_snapshot.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/saidar/saidar.c

2004-04-04  Adam Sampson  <ats@offog.org>

    atoll's a static helper function; it shouldn't be in the header.

    
  Hash: 7fe328383c4c586f3b4b890431ae1dac01360add
  Files affected:

    src/libstatgrab/tools.h

2004-04-04  Adam Sampson  <ats@offog.org>

    Make copy_string not leak memory on realloc() failure. Make copy_string
    static.

    We probably ought to move copy_string to tools.c/h at some point in the 
    future, since it's useful.

  Hash: 630d7c0b8d0a01bebd25fadc9f62df6a6ac06fc7
  Files affected:

    src/libstatgrab/disk_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Make disk_stats use vectors.

    (Note that this introduces some harmless strict aliasing warnings on GCC 
    3.3; I'll do something about that later.)

  Hash: 2963ae4b894282e2812529b390d6d1f7c8a1ccbe
  Files affected:

    src/libstatgrab/disk_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Add an get_kvm2 function to open kvm with slightly different args. This
    set of args doesn't seem to need elevated privileges, but in my last
    test wouldn't perform the functions required in swap_stats.

    
  Hash: 013edd4dbcc40b6f767e48e3d09d2ee4d8ab0c4b
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/tools.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Fix TIME_T printing on systems where time_t isn't a long.

    
  Hash: d2f4eadb953940c199989619e5b4f47122361473
  Files affected:

    src/statgrab/statgrab.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Fix a bunch of warnings.

    
  Hash: b52543e8c8f1bb30a5be9b9d5951fb0ed4eaaa99
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Silence a (harmless) "enumeration value `UNKNOWN' not handled in switch"
    error.

    
  Hash: a76c7e6c921ca1be8c585db04e146dea355e5af8
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    get_proc_snapshot returns an integer, not a pointer.

    
  Hash: 918a4b2fbe4ffd04473e92ef001556f560c3036d
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Silence 40-odd (harmless) "use of assignment suppression and length
    modifier together" errors.

    
  Hash: 69fdac7898618dfa6c061dc36f8a9ff2a1dc0694
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Silence another (harmless) "may be used uninitialised" error.

    
  Hash: 90c94f6e44e750ddae92a16d2f52b524719339e4
  Files affected:

    src/libstatgrab/network_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Silence a (harmless) "may be used uninitialised" error.

    
  Hash: df1838f930cab7333502d366497f5e6f03d6f49b
  Files affected:

    src/libstatgrab/disk_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    No longer need kvm on FreeBSD 5, OpenBSD, and NetBSD.

    
  Hash: 9d323cdf526dd22c9198d80efacc7c343469453c
  Files affected:

    configure.in

2004-04-04  Tim Bishop  <tim@bishnet.net>

    This has been a bit more complex than it probably should have been. We
    now have the command line arguments on FreeBSD5, NetBSD, and probably
    OpenBSD without using kvm. The sysctl interface provided the required
    information.

    However, on FreeBSD 4 and Dragonfly BSD there was no matching sysctl 
    interface, so the kvm way remains. Fortunately neither of those two OS's 
    require elevated privileges to use that bit of kvm.

    Finally in a decent position with no elevated privileges required for
    this section of code, on any of the BSD's.

    Still one bug to fix: there are 5 "null" processes on the end of the
    list. This has been introduced at some point, because it wasn't there
    yesterday.

  Hash: 3c8e47515509700ba6efafcf05965a35ee35bbff
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Adam Sampson  <ats@offog.org>

    Add a macro for declaring static vectors too.

    
  Hash: e763a92eb3c5dd7fa66e50b403b9e32514041401
  Files affected:

    src/libstatgrab/vector.h

2004-04-04  Adam Sampson  <ats@offog.org>

    Add generic vector-handling code. This can be used to implement
    resizable arrays of objects with optional initialisation/destruction
    functions.

    
  Hash: 825cd5386d21e122484a7430d51688d8fa59e682
  Files affected:

    src/libstatgrab/Makefile.am
    src/libstatgrab/vector.c
    src/libstatgrab/vector.h

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Revert to using sysctl instead of kvm to get process stats. This should
    be more compatible with NetBSD and OpenBSD. Still need to use kvm to get
    the command line args, but this seems unavoidable.

    At this stage we don't bail if kvm fails (eg. not enough privs), instead 
    the command line args will just be set to NULL. Seems a fair compromise.

  Hash: e384144bb6187df9bd18804199d175606374aad1
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Add support for DragonFly BSD. Seems to be working correctly, and works
    without needing any extra privileges. Some stuff comes from proc.h,
    whilst some comes from thread.h.

    A word of warning - the DragonFly folk seem to be changing a lot of
    stuff to do with processes and threads, so it's likely this could break
    very easily :-)

  Hash: 0a9f41502ad3439ef435f20608793067e08254ee
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Support for OpenBSD, although it suffers the same problems as NetBSD.

    
  Hash: b6efd4b3fc247ee9b9bd5673e6444b2cb80efcc1
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    This adds support for NetBSD, although it currently needs elevated
    privileges. I will try and fix that.

    
  Hash: d7520594744a284dd8e1039f13f37d469ec386e1
  Files affected:

    configure.in
    src/libstatgrab/process_stats.c

2004-04-04  Tim Bishop  <tim@bishnet.net>

    Handle failure to get a snapshot.

    
  Hash: 53ff461995d7496d44690cf7586f389f9c21eee5
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Add default to case statement which uses the UNKNOWN process state.

    
  Hash: 37170dbade0a4a2e79208e6d515b6390c708c5b1
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Add support for FreeBSD 4. I suspect this may work on OpenBSD and NetBSD
    too, although I'll need to verify that.

    Also add an additional process state of UNKNOWN.

  Hash: 677d7c41d89c530f3f6c1af87994630b6030f4c9
  Files affected:

    examples/process_snapshot.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Now need -lkvm on FreeBSD 5.

    
  Hash: 77f08e4a725c8742c1b4049ffd6412f43c067e52
  Files affected:

    configure.in

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Add test for failure to get stats.

    
  Hash: 3b4a29ed0b281ac73430d31751085dbbdd3e2d98
  Files affected:

    examples/process_snapshot.c

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Got the command line args. Now using kvm to get information, although
    fortunately this doesn't need any special privileges. Switched to using
    kvm to get the process listing too.

    When no command line arguments available doing something similar to ps
    and putting the command name in brackets.

  Hash: 247c78915f3b6c7abea4ca21b73228a7d6ec108d
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Fix CPU percentages on FreeBSD 5. Set args to NULL until we can figure
    out how to collect them. Still need to add code for other BSD's.

    
  Hash: 61d3aa94f823f7c0437b06d16766c559e9f745cd
  Files affected:

    src/libstatgrab/process_stats.c

2004-04-03  Tim Bishop  <tim@bishnet.net>

    Add process_snapshot example for testing the new process stats code.

    
  Hash: 7cf41642709993c8c1f7ebfa9b17685d6dc2725b
  Files affected:

    examples/Makefile.am
    examples/process_snapshot.c

2004-04-02  Tim Bishop  <tim@bishnet.net>

    Reimplement get_process_stats. I presume the plan was to rewrite this to
    use the new function for collecting stats :-)

    Seems to work on FreeBSD5 - but I'm not entirely convinced my BSD code
    is working yet.

  Hash: 9e4d96f1710ef79bb270a9e10d0324adee7eb705
  Files affected:

    src/libstatgrab/process_stats.c

2004-03-30  Tim Bishop  <tim@bishnet.net>

    The startings of the BSD code. Only works on FreeBSD 5 so far.

    Doesn't yet do command line arguments, or CPU percentages correctly.

  Hash: cfc20ab4e7be0f7853a915f66b8a976418ce048e
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-03-30  Peter Saunders  <pajs@i-scream.org>

    Basic framework for linux.. Doesn't do CPU on a per process basis, as
    i'm not sure the best way to approach that yet.

    
  Hash: 3f50d6e2fadfdd4cd0d61adf60f8f05449ff9f60
  Files affected:

    src/libstatgrab/process_stats.c

2004-03-28  Peter Saunders  <pajs@i-scream.org>

    Added the state for solaris

    
  Hash: 104a547386c340477d93627fe491a2e03e4cf6b5
  Files affected:

    src/libstatgrab/process_stats.c

2004-03-28  Peter Saunders  <pajs@i-scream.org>

    Modifying the type of process states to an enum. The names maybe a touch
    unfriendly however..?

    
  Hash: 8c9ba14632dd6bf0777c491a01ecccf008160c14
  Files affected:

    src/libstatgrab/statgrab.h

2004-03-28  Peter Saunders  <pajs@i-scream.org>

    The start of the rework for process_stats to give more information, and
    to become a standard proc interface.

    
  Hash: 01ecf001e1f679d2638edee618c99f37bdee94cf
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h

2004-03-20  Tim Bishop  <tim@bishnet.net>

    We don't need kvm on FreeBSD 5 any more.

    
  Hash: a3cd20e84422f3617a01f00cca29e9b3fcd451e8
  Files affected:

    src/libstatgrab/tools.c

2004-03-20  Tim Bishop  <tim@bishnet.net>

    The libstatgrab python bindings are now their own package - pystatgrab.

    
  Hash: a35d0b2ca077c09bd1d57473cccd2ebf8d05330d
  Files affected:

    Makefile.am
    extras/python/setup.py
    extras/python/statgrab.pyx

2004-03-19  Adam Sampson  <ats@offog.org>

    People using devfs have partition names longer than 20 characters.

    
  Hash: 0acc5cdd5e1feb70ed5d3099584e3ad51ac84261
  Files affected:

    src/libstatgrab/disk_stats.c

2004-03-17  Adam Sampson  <ats@offog.org>

    Add a workaround for NetBSD: the first call to get_uvmexp() doesn't fill
    in the structure, so we would normally get junk values on the first call
    that used it.

    
  Hash: 38a604e5e1fc853125a6e9b17ca09c7ce3cdef84
  Files affected:

    src/libstatgrab/tools.c

2004-03-11  Tim Bishop  <tim@bishnet.net>

    Put libstatgrab URL, rather than i-scream URL, in the docs.

    
  Hash: d0bf8015fc268962ffa31c7a010babc6ab45ed3c
  Files affected:

    docs/cpu_percent_usage.xml
    docs/get_diskio_stats.xml
    docs/get_general_stats.xml
    docs/get_load_stats.xml
    docs/get_memory_stats.xml
    docs/get_network_iface_stats.xml
    docs/get_network_stats.xml
    docs/get_page_stats.xml
    docs/get_process_stats.xml
    docs/get_user_stats.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/statgrab.xml
    docs/sg_get_cpu_stats.xml
    docs/sg_get_disk_io_stats.xml
    docs/sg_get_host_info.xml
    docs/sg_get_load_stats.xml
    docs/sg_get_mem_stats.xml
    docs/sg_get_network_iface_stats.xml
    docs/sg_get_network_io_stats.xml
    docs/sg_get_page_stats.xml
    docs/sg_get_process_stats.xml
    docs/sg_get_user_stats.xml
    docs/statgrab.xml

2004-03-09  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 1e0614d2a993b962d2add9ebc16d9601189355da
  Files affected:

    configure.in
    extras/python/setup.py

2004-03-09  Tim Bishop  <tim@bishnet.net>

    Mention what UNKNOWN_DUPLEX could mean.

    
  Hash: e59176b6b193d39108b48e7a62f9494d5249cedb
  Files affected:

    docs/get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/sg_get_network_iface_stats.xml

2004-03-09  Adam Sampson  <ats@offog.org>

    Rework transfer_diff so that it doesn't need an inexpressible constant
    on 64-bit systems. Add OpenBSD to the platforms with 32-bit transfer
    stats.

    
  Hash: daa9723389f00b62138fc55d87c2f558257a64e6
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-09  Tim Bishop  <tim@bishnet.net>

    Add note about privileges, and more comment on state of cygwin port.

    
  Hash: 50f731e6e2d07b8c79ec1face4cdfa23e9507626
  Files affected:

    PLATFORMS

2004-03-09  Tim Bishop  <tim@bishnet.net>

    Add note about PLATFORMS to the NEWS file.

    
  Hash: ec092bc1bc706413bab45d7b72dde974223371d2
  Files affected:

    NEWS

2004-03-09  Tim Bishop  <tim@bishnet.net>

    Add platform specific notes (particularly on required privileges) to the
    PLATFORMS file.

    
  Hash: 55a3546794494ef3a96a98da16c1fa50989486eb
  Files affected:

    PLATFORMS
    README

2004-03-09  Adam Sampson  <ats@offog.org>

    Add a FIXME note on the network interface stats code; some Solaris
    interfaces have packet counts but not byte counts, so it would be useful
    to return those once we have a way of indicating the byte count is
    unknown.

    
  Hash: d5ed76edd2aa59052a172bb1fd62040411458356
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-08  Tim Bishop  <tim@bishnet.net>

    Getting ready for 0.9.

    
  Hash: 984625282dd063fce3dace56851890c4ec89add6
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2004-03-08  Tim Bishop  <tim@bishnet.net>

    On OpenBSD IFM_1000_TX is defined to be IFM_1000_T. We can't have both
    in our case statement, so ignore IFM_1000_TX.

    
  Hash: 7fb2fa03eb4c15020ab3adc00ded628a5390159e
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-08  Tim Bishop  <tim@bishnet.net>

    Add support for new network stats on Solaris. Please check this change
    cos this is the first time I've coded Solaris stuff :-)

    
  Hash: d48452894f0fa2d1b9fd922bffee94e00b3fee6f
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-08  Tim Bishop  <tim@bishnet.net>

    The values are long long, not long.

    
  Hash: a42c13b61bce7cc1599378b84289d6feb0d5ea85
  Files affected:

    examples/network_traffic.c

2004-03-08  Tim Bishop  <tim@bishnet.net>

    Change MAXVAL to Hex. I've made an assumption that they were +1 too big
    before. I might be wrong, though.

    
  Hash: ed2dfa7957b6de46f9dd4770f55c59b10d1799e4
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-08  Tim Bishop  <tim@bishnet.net>

    Fix layout problems with network traffic example.

    
  Hash: 847643e04780fdc3eeff4a4c5b1c174deb3255ef
  Files affected:

    examples/network_traffic.c

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Update documentation to know about the new functions and return data.

    
  Hash: c3130b05a631b690d9de3b4c4bc7fbb6e62673b8
  Files affected:

    docs/Makefile.am
    docs/get_network_iface_stats.xml
    docs/get_network_stats.xml
    docs/libstatgrab/sg_get_network_iface_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/statgrab.xml
    docs/sg_get_network_iface_stats.xml
    docs/sg_get_network_io_stats.xml
    docs/statgrab.xml

2004-03-06  Adam Sampson  <ats@offog.org>

    "And if a 4 turned out to be 9, I don't mind, I don't mind..." Fix
    regexec result count.

    
  Hash: 0c07b933bb6b36dd68e8b69830147070d128286b
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Fix bug in network_iface_stats example - I forgot to increment pointer
    :-)

    
  Hash: 66ea3c3c75fed0c3e1e851b08e58d9cd98b8d26c
  Files affected:

    examples/network_iface_stats.c

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Update network traffic example to make it aware of new data.

    
  Hash: db8b36c34ae68c7cf4e156b49a7233d386827dc1
  Files affected:

    examples/network_traffic.c

2004-03-06  Adam Sampson  <ats@offog.org>

    Chase new network interface stats.

    
  Hash: 4ad5fe1b4c21dfd5ca71c233f15a4ccf50b39e54
  Files affected:

    src/statgrab/statgrab.c

2004-03-06  Adam Sampson  <ats@offog.org>

    Make the network stats regexp simpler. Since /proc/net/dev is a fixed
    format, there's no need to use [[:space:]] and [[:digit:]]; a literal
    space and [0-9] will suffice.

    
  Hash: 60cfa970ef88d085f3a104d3121bb7a8aa7c18f5
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-06  Adam Sampson  <ats@offog.org>

    Make the regexp match array the right size for Linux.

    
  Hash: 13f0fc81cd8bab7e9df35dd56650e99ba70c632e
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Add new features to python wrapper.

    
  Hash: 6d167bf6d898a2c691626f71ec82b47814393304
  Files affected:

    extras/python/statgrab.pyx

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Add support for errors/packets/collisions to Linux.

    
  Hash: bd13cddb002ee3a6570bfecd459e8ebe8afaf23b
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Make the rest of the code aware of the new values in the struct.

    
  Hash: 3a3050355db9addbff909ed94b71c958a5b0dd46
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-06  Tim Bishop  <tim@bishnet.net>

    Add getting errors, packets, and collisions for network interfaces on
    BSD.

    
  Hash: f23411758fb2b3796009d19ee1f2aab0db4e6779
  Files affected:

    src/libstatgrab/network_stats.c

2004-03-04  Tim Bishop  <tim@bishnet.net>

    An "idea" what the network stats might look like with extra stuff in.
    Pete, please approve/fix then I'll do the BSD code :-)

    
  Hash: 196dd4e7476e751f0f7671f894b402edf716b8a5
  Files affected:

    src/libstatgrab/statgrab.h

2004-02-18  Adam Sampson  <ats@offog.org>

    Buggy Solaris qsort/bsearch still try to access the array if the length
    is zero.

    
  Hash: ac249514c1716f4855276935c80f7510fbe8f3c7
  Files affected:

    src/statgrab/statgrab.c

2004-02-16  Tim Bishop  <tim@bishnet.net>

    Add support for DragonFly BSD 1.0. Also a minor tweak to the network
    interface code to make it more portable.

    
  Hash: 0ccfd296db0b6bcf017517ea6fdea20581a2f9e4
  Files affected:

    PLATFORMS
    configure.in
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c

2004-02-15  Tim Bishop  <tim@bishnet.net>

    Seems we sometimes need root privs on linux :/

    
  Hash: f8844e1d961308f9a43fe5d92d54ef214b760987
  Files affected:

    configure.in
    src/saidar/Makefile.am
    src/statgrab/Makefile.am

2004-02-15  Tim Bishop  <tim@bishnet.net>

    Update AUTHORS; it's not quite so clear cut anymore, so just list names.

    
  Hash: 883958708f5d315249fcd2e2906aaff2d4c33483
  Files affected:

    AUTHORS

2004-02-14  Adam Sampson  <ats@offog.org>

    get_kvm() only on FreeBSD.

    
  Hash: 8f0c356ce1fb994d4dee7ab07302d6382c5ac37e
  Files affected:

    src/libstatgrab/tools.h

2004-02-14  Tim Bishop  <tim@bishnet.net>

    We don't need to be setuid root on Solaris 8+. On Solaris 7 and below we
    do need to, but only if we care about the disk mappings.

    This leaves us needing to be setuid root for disk mappings on Solaris 7 
    and below, and needing setgid kmem on FreeBSD 4 for swap statistics.

  Hash: b5a4792302f1b04a0222e86e80a6426ed4d1a068
  Files affected:

    configure.in

2004-02-14  Tim Bishop  <tim@bishnet.net>

    Change swap_stats on FreeBSD 5 - no longer uses kvm. This means that we
    no longer need setgid kmem on FreeBSD 5, or kvm, at all. However, this
    change doesn't work on FreeBSD 4 - so kvm is still needed there.

    
  Hash: ff66078d38d9f5bed01da0de8e212a1f207cfd2f
  Files affected:

    configure.in
    src/libstatgrab/swap_stats.c

2004-02-14  Tim Bishop  <tim@bishnet.net>

    Chase changes in statgrab.h.

    
  Hash: 350e1e88734c1051c9519ee246be838c65361609
  Files affected:

    extras/python/statgrab.pyx

2004-02-14  Adam Sampson  <ats@offog.org>

    Rework iface_stat code for Solaris so that it uses SIOCGIFFLAGS to find
    out whether an interface is up or not. This means that we need to link
    with -lsocket -lnsl now to get socket().

    Also make the comment about when bytes-transferred stats a bit more
    explicit. We're now in the slightly odd situation where it's possible
    for an interface to show up in either or both of get_network_stats and
    get_network_iface_stats: for instance, on raptor at the moment, ce0 is
    in use so shows up in both, lo0 doesn't have kstats for bytes
    transferred and thus only shows up in the second, and ce1 exists but
    hasn't been plumbed so only shows up in the first. I'd be mildly
    inclined to "fix" this by making get_network_stats do a SIOCGIFFLAGS 
    ioctl so unplumbed interfaces don't show up at all (and add packets 
    received/transmited to the get_network_stats result so we can at least
    show something for lo0).

  Hash: d3b089b3212654ca707bdec1b93ea993e28eb446
  Files affected:

    configure.in
    src/libstatgrab/network_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    Move free inside the right #ifdef, and fix a memory leak when sysctl
    fails.

    
  Hash: 0dbfac505eaf0fc3b85b424a648e95bee2b4fa34
  Files affected:

    src/libstatgrab/process_stats.c

2004-02-14  Tim Bishop  <tim@bishnet.net>

    Look at all the process states on all the BSD's. Tidly done using
    ifdef's.

    
  Hash: c7f808d8fed1935cc6e1f9951a1008837e4c5ad8
  Files affected:

    src/libstatgrab/process_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    ifaces doesn't need to be static.

    
  Hash: a66565347516e268b9da736e03f0fcecfbbc6712
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    There's no need to get_uvmexp on startup on NetBSD any more.

    
  Hash: 644ad27a9494952cead90bbe8fc382719e7dd99d
  Files affected:

    src/libstatgrab/tools.c

2004-02-14  Tim Bishop  <tim@bishnet.net>

    kvm is now only needed for FreeBSD, so change defines accordingly.

    
  Hash: 3befdae60fd466f4c2e9b0c82bb3993fdf88be6e
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-02-14  Adam Sampson  <ats@offog.org>

    Define u64 to fix Linux 2.4.21 build.

    
  Hash: aba1e60e690ca6db8663ac59d30a486129db3556
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Tim Bishop  <tim@bishnet.net>

    NetBSD and OpenBSD no longer need any elevated privileges, or any extra
    libraries to link against.

    
  Hash: fb783fc0b4262d667697fa8cd798e8a780f10ea9
  Files affected:

    configure.in

2004-02-14  Peter Saunders  <pajs@i-scream.org>

    Fixed compile error. We not sure that link_up gets us what we want tho.

    
  Hash: 68dbd048ed03eca7ef4addbcedc259014f7e9094
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Tim Bishop  <tim@bishnet.net>

    Switch process stats to using sysctl on ALLBSD. On OpenBSD and hopefully
    NetBSD (this hasn't been tested yet - but I'm quite confident) this
    means we no longer need any elevated privileges.

    
  Hash: 1e8581ff0006884f1cb0c490825131ff8b862a83
  Files affected:

    src/libstatgrab/process_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    Rearrange the BSD network_iface_stat code in the same way as the Linux
    code; try SIOCGIFFLAGS first to find out whether the interface is up,
    then only fill in the other information if it's available.

    
  Hash: cebf0376c8581d59397739c9b2a00407a395a43e
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    Make the unknown speed 0 to match the BSD code.

    
  Hash: 4ff1ff8eefca76f11ec7880a7b211c385d87fbd3
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    Tidy up the Linux iface_stat code.

    - fclose(f) once we're done to avoid fd leak
    - no need to malloc struct ethtool_cmd since it's of constant size (and
     this avoids some odd-looking casts)
    - use switch rather than multiple ifs for duplex codes
    - use SIOCGIFFLAGS ioctl first to find out whether the interface is up,
     since this works on all interfaces

    The user-visible change here is that ->speed and ->dup now get filled in 
    with -1, UNKNOWN_DUPLEX for interfaces that don't support SIOCETHTOOL. 
    Fixing this properly is on the todo list...

  Hash: 8728d2b4c24c16c870f76f80b59a181ef9afcfad
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    Rename BSD "int s" to "int sock" to match Linux code and fix compile
    error. Make BSD code set the interface name before calling ioctl so it
    gets the stats for the right interface.

    
  Hash: 8b2935c701b2aaa11af1856b3dfb2d60aaea2fa5
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-14  Adam Sampson  <ats@offog.org>

    Add support for interface .up.

    
  Hash: 3ac9c1951cefd3ca1bb07f0852eb328905e79370
  Files affected:

    src/statgrab/statgrab.c

2004-02-14  Adam Sampson  <ats@offog.org>

    uvm.h needs sys/time.h on NetBSD to get struct timeval.

    
  Hash: 8b551144c0c978c690c691dea4a1655cb2b9581d
  Files affected:

    src/libstatgrab/memory_stats.c
    src/libstatgrab/swap_stats.c

2004-02-13  Peter Saunders  <pajs@i-scream.org>

    *bsd didn't do what i wanted. Still needs testing for all platforms.

    
  Hash: baae0072dd871ca5641994c5efde03977017809d
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-13  Peter Saunders  <pajs@i-scream.org>

    Added up/down interface detection. Not tested (or even compiled) on any
    os. So that really needs to be done :)

    
  Hash: 5449b6972857ca14cd0c0ade7407c0dffa88c6f8
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h

2004-02-13  Tim Bishop  <tim@bishnet.net>

    Chase statgrab_duplex name changes. Add variables that can be accessed
    within python for the duplex enum.

    
  Hash: fa7ebb339bd882fcc9e8d363d79e7ccea25ea3b4
  Files affected:

    extras/python/statgrab.pyx

2004-02-13  Tim Bishop  <tim@bishnet.net>

    Finish support for OpenBSD.

    Get disknames out of sysctl as well for Disk IO. Fix memory/page/swap
    stats to use get_uvmexp in tools.c (same as NetBSD).

  Hash: ab2ea9abf3426b39a8af9ac774d69966587b7fd9
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.h

2004-02-13  Tim Bishop  <tim@bishnet.net>

    Remove debugging line.

    
  Hash: 209625088387e6ccada30293481c7efc54f07aa0
  Files affected:

    examples/network_iface_stats.c

2004-02-13  Tim Bishop  <tim@bishnet.net>

    Add example for network_iface_stats. Fix duplex on Solaris.

    
  Hash: 44361e286f677e32b2b1c906bbb26af8973f30ee
  Files affected:

    examples/Makefile.am
    examples/network_iface_stats.c
    src/libstatgrab/network_stats.c

2004-02-13  Peter Saunders  <pajs@i-scream.org>

    Solaris bug fix for duplex detection.

    
  Hash: 9e256525238d82e2009ca799f7ab324eb70a32e1
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-13  Adam Sampson  <ats@offog.org>

    Fix another DUPEX-for-DUPLEX typo. Include <unistd.h> to get the
    definition of close().

    
  Hash: 0f8350ae9857a6cd72f819bb30277f79d2a0d337
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-13  Adam Sampson  <ats@offog.org>

    Use sysctl to read struct uvmexp, since this works on both NetBSD and
    OpenBSD.

    
  Hash: d62088ba5097f26d967fb39b3aac24cc8e6aa796
  Files affected:

    src/libstatgrab/tools.c

2004-02-13  Adam Sampson  <ats@offog.org>

    Track rename of duplex to statgrab_duplex.

    
  Hash: bd794b72370dcd2aa1cff79bedc7ab9de5085e4c
  Files affected:

    src/statgrab/statgrab.c

2004-02-13  Adam Sampson  <ats@offog.org>

    DUPLEX, not DUPEX. NetBSD has FreeBSD 5-like speed definitions.

    
  Hash: a664aa62309dbe61b16e019aba8b7d827e09dc1c
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-13  Peter Saunders  <pajs@i-scream.org>

    Added a couple of forgotten close's.

    
  Hash: 1dd6d7ba99fadf16bce6a6c03d51011546efc7a7
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-13  Peter Saunders  <pajs@i-scream.org>

    Couple of name changes, and a tidy up.

    
  Hash: 56c63e4b1d43dcc3c46953431e5e6db62bf881f7
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h

2004-02-13  Adam Sampson  <ats@offog.org>

    Add network_iface_stat support.

    
  Hash: 799496383b8fe288193e7a2af52a1f5a7e1c8199
  Files affected:

    src/statgrab/statgrab.c

2004-02-13  Tim Bishop  <tim@bishnet.net>

    There's no need to return how many entries are in a list at the start of
    the list. There's much easier ways to work out how many there are :-)

    
  Hash: 25823ee034268ba08a066c331a90035fa8036661
  Files affected:

    extras/python/statgrab.pyx

2004-02-13  Tim Bishop  <tim@bishnet.net>

    Bring the python extension up-to-date with the latest libstatgrab
    functions. Still need to look at that enum thing and how best to use it.

    
  Hash: 109e9645e3388083a8fbec5f8d11a71469fad28a
  Files affected:

    extras/python/setup.py
    extras/python/statgrab.pyx

2004-02-12  Tim Bishop  <tim@bishnet.net>

    Fix on FreeBSD 5. Also add IFM_1000_FX missed on FreeBSD 4.

    
  Hash: 7b1776a1a01ae65ff9d7f890c53d699c09bd1ebb
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-12  Tim Bishop  <tim@bishnet.net>

    We'll almost certainly go with 0.9 for our next release.

    
  Hash: 8704e02b9483f46a318e7619d80f9392f220e91d
  Files affected:

    configure.in

2004-02-12  Tim Bishop  <tim@bishnet.net>

    Add preliminary support for OpenBSD (tested on 3.3).

    All works apart from Disk IO stats - currently the disks are not named 
    correctly. The fix for this is probably to use KVM.

    Mostly similar to the NetBSD code, the notable exception being the uvm 
    stuff. In NetBSD there's a function to get it, in OpenBSD sysctl is
    needed to get hold of it.

  Hash: 70dc2fdc3edb6b782a76578ee2c16671849dc124
  Files affected:

    PLATFORMS
    configure.in
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/user_stats.c

2004-02-12  Peter Saunders  <pajs@i-scream.org>

    Added network interface stats for linux.

    Points to remember: a) This code will need to be run as root. Otherwise,
    it should
      safely return null. b) the "speed" may be incorrect if the interface
    is not actually up
      and talking to anything. However, duplex will be set to NO_DUPLEX
      so as long as they use that test first, there should be no problem.
      (This is safe assumption to work on, even for other platforms) c) This
    was a nastyish and hard bit of code. Maybe bugs, would appricate
      a look over by people :)

  Hash: 628944eca72e2f503769e371c11c8fa7238ae396
  Files affected:

    src/libstatgrab/network_stats.c

2004-02-10  Tim Bishop  <tim@bishnet.net>

    StatgrabException should be derived from Exception.

    
  Hash: 6cf61a903ba9cd2a279204dfb42766cea5625dd6
  Files affected:

    extras/python/statgrab.pyx

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 5ac6c5e0090a93ae409f75c53a6a1743468da54d
  Files affected:

    extras/python/setup.py

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Update version.

    
  Hash: 2afc42989f9d789043820b56a08a39b67880ba2b
  Files affected:

    extras/python/setup.py

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 4c6b279c82bc98493f2384b040f57aa09cfdbc75
  Files affected:

    configure.in

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Update for release of 0.8.2.

    
  Hash: be64fcdbca598b7ecec5dc9b8d18f7a3d108e3e2
  Files affected:

    NEWS
    PLATFORMS
    src/libstatgrab/Makefile.am

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Make setup.py figure out compiler flags using pkg-config. This makes it
    portable across platforms.

    
  Hash: ff798dc0ad666100269eae34ab533815b63bf3a8
  Files affected:

    extras/python/setup.py

2004-02-10  Tim Bishop  <tim@bishnet.net>

    On solaris 6/7 test for libdevinfo and only try to link it if we find
    it.

    
  Hash: 26679c8084ff2523db3e8b75c4fe71e37ca74357
  Files affected:

    configure.in

2004-02-10  Peter Saunders  <pajs@i-scream.org>

    Added extra ifdef due to compile error

    
  Hash: ebe310115af382e0eb1d4daadb29dc98d42f7400
  Files affected:

    src/libstatgrab/tools.c

2004-02-10  Peter Saunders  <pajs@i-scream.org>

    Ooops, wrong logic and didn't think hard enough about it.

    
  Hash: 095138f918b26c8a56ad367f28aea1419be117a4
  Files affected:

    src/libstatgrab/tools.c

2004-02-10  Peter Saunders  <pajs@i-scream.org>

    Solaris 6 doesn't have libdevinfo. So, as a way to get it to compile, we
    will not do the drive mappings sol 6 and lower.

    
  Hash: 5d5040df0681960985d5df4e3fe1e7385bf64a45
  Files affected:

    src/libstatgrab/tools.c

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Add check for libdevinfo.h

    
  Hash: 6d4c3dd7c350192e9d7ada76878d602f07966e42
  Files affected:

    configure.in

2004-02-10  Peter Saunders  <pajs@i-scream.org>

    Fix it so it will actually work :)

    
  Hash: 28cccdc01f439258435fa920a0e4a3a3d1ba699c
  Files affected:

    src/libstatgrab/load_stats.c

2004-02-10  Peter Saunders  <pajs@i-scream.org>

    Allow load_stats to work on solaris 6 (and probably 5)

    
  Hash: 26bfd7cc4d1f6a93ecd5585df450d8a86663b680
  Files affected:

    src/libstatgrab/load_stats.c

2004-02-10  Tim Bishop  <tim@bishnet.net>

    Add check for sys/loadavg.h. We need to test for it on Solaris 2.6...

    
  Hash: a08a2ed7a8520a18b1d7d8a6317b34098ba22f99
  Files affected:

    configure.in

2004-02-09  Tim Bishop  <tim@bishnet.net>

    statgrabmodule -> statgrab.

    
  Hash: 4b2eb66df368ec4fd74da3af570105277b3ed995
  Files affected:

    Makefile.am

2004-02-09  Tim Bishop  <tim@bishnet.net>

    Add error checking to the python bindings. They previously didn't check
    for a NULL response from the libstatgrab functions - which resulted in
    python core dumping. It now raises an exception instead. Also add a
    first stab at a setup.py so people can quickly build/install this
    extension if they want.

    
  Hash: bfc5d417631f3733c9a18ecee7c2bef97e0b040d
  Files affected:

    Makefile.am
    extras/python/setup.py
    extras/python/statgrab.pyx

2004-02-06  Tim Bishop  <tim@bishnet.net>

    Return objects instead of hash-like-things :)

    
  Hash: 031f1fc19d0108167409762d46966f65861de421
  Files affected:

    extras/python/statgrab.pyx

2004-02-06  Tim Bishop  <tim@bishnet.net>

    Add the python wrappers to the Makefile so they're added to the dist.

    
  Hash: 570366d5abd24ccd9d8f75c630102ccb86f2aede
  Files affected:

    Makefile.am

2004-02-06  Tim Bishop  <tim@bishnet.net>

    Add libstatgrab python wrapper. This won't be installed with
    libstatgrab, or in fact have anything done to it - it's just there if
    people want it. If it matures, I'll consider making it a package in it's
    own right.

    
  Hash: e5b63cd083e48a1c9acc915fcce8f1c7c0309d62
  Files affected:

    extras/python/statgrab.pyx

2004-01-25  Peter Saunders  <pajs@i-scream.org>

    Added code for freebsd to do the network interface speeds. I've put it
    under the label ALLBSD however, as i suspect it will work on all the
    BSD's of intrest.

    
  Hash: 76e9506ba09297f5ec2a070a6f1bef5f36e49cb6
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h

2004-01-23  Peter Saunders  <pajs@i-scream.org>

    Added the ability to get the interface speed/duplex for solaris. Not
    really checked code, but it appears to work.

    
  Hash: 806a6a52c2e41dafc6d5ab4cb573670c6cfc57e8
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h

2004-01-21  Adam Sampson  <ats@offog.org>

    Tidy up get_network_stats_diff and get_diskio_stats_diff.

    
  Hash: 23695ae8f29cafbb8131bb5f5d0cc0bba028835b
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c

2004-01-21  Adam Sampson  <ats@offog.org>

    Fix build on NetBSD.

    
  Hash: 1b54bd2d02d2e832dc254adaf48ae88f88d9f9ea
  Files affected:

    src/libstatgrab/user_stats.c

2004-01-21  Tim Bishop  <tim@bishnet.net>

    Fix compile error on cygwin.

    
  Hash: 15f4fae2bb1b477506a07ecda4df0c9026e75169
  Files affected:

    src/libstatgrab/user_stats.c

2004-01-21  Tim Bishop  <tim@bishnet.net>

    Very minor fix to saidar. It happily accepted a negative number for it's
    delay flag - which wasn't overly useful :-)

    
  Hash: 826a862a73aefb670c243fc10db6506fd5ec9fb7
  Files affected:

    NEWS
    src/saidar/saidar.c

2004-01-19  Tim Bishop  <tim@bishnet.net>

    Post release version increment.

    
  Hash: 7d2f6e4ef5eb1a7a7d0b1a66a72b8157a28afd25
  Files affected:

    configure.in

2004-01-19  Tim Bishop  <tim@bishnet.net>

    A whole bunch of minor cosmetic changes.

    
  Hash: 70dfdfb9a566a7fca8f8c14e0282d4a2f4bd45f2
  Files affected:

    AUTHORS
    Makefile.am
    NEWS
    README
    README.CVS
    docs/Makefile.am
    examples/Makefile.am
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c
    libstatgrab.pc.in
    src/Makefile.am
    src/libstatgrab/Makefile.am
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c
    src/saidar/Makefile.am
    src/saidar/saidar.c
    src/statgrab/Makefile.am
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c

2004-01-19  Tim Bishop  <tim@bishnet.net>

    Update relevant files for release of 0.8.1.

    
  Hash: 9a0573ca14e9c7cfbe1002df983242942d9217c4
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2004-01-16  Tim Bishop  <tim@bishnet.net>

    Alter the licensing of libstatgrab. The library part is now under the
    LGPL, whilst the tools/examples are under the GPL. Both licenses are
    included in the distribution (and are both now in CVS). Also made a
    minor alteration to the webpage where it said everything was licensed
    under the GPL.

    
  Hash: 52a2ca4665f94d15c677b0bb12adda397c653b95
  Files affected:

    COPYING
    COPYING.LGPL
    Makefile.am
    README
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c
    src/saidar/saidar.c
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in
    src/statgrab/statgrab.c

2004-01-15  Peter Saunders  <pajs@i-scream.org>

    Not the exactly "nice" code. Infact, not entirely happy with it... But,
    it makes a *massive* speed increase to the statgrab_init() function on
    solaris. It goes from take 15-20 seconds on pelican to < 1.

    
  Hash: 60b2193dc638f0927d99e9179e1fd8c254f92109
  Files affected:

    src/libstatgrab/tools.c

2004-01-10  Adam Sampson  <ats@offog.org>

    Add a couple of missing checks for NULL return values; this fixes the
    crash when libstatgrab runs out of FDs.

    
  Hash: ff8200da67494f4c499dc68702d34a902b1cb9d9
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c

2004-01-10  Adam Sampson  <ats@offog.org>

    Don't close f twice.

    
  Hash: 417291b5a765c1b2431c8f33635e6a6a04112e8f
  Files affected:

    src/libstatgrab/disk_stats.c

2004-01-10  Adam Sampson  <ats@offog.org>

    Fix broken comment.

    
  Hash: 8fc0a13ae80e229cff49907a68f1e8d0bac0c8d1
  Files affected:

    src/libstatgrab/tools.c

2004-01-09  Peter Saunders  <pajs@i-scream.org>

    As pointed out by azz.... time_t will be needed, thus the #include of
    sys/types.h

    
  Hash: e44981686b7e5cd4d508890636dd376040f00516
  Files affected:

    src/libstatgrab/statgrab.h

2004-01-09  Peter Saunders  <pajs@i-scream.org>

    Solaris 7 "fix" :)

    
  Hash: a4a496b82e32cb025352fcf264e1ab5f5b0846bb
  Files affected:

    src/libstatgrab/tools.c

2004-01-09  Peter Saunders  <pajs@i-scream.org>

    Removed #ifdef's as they should not be there.

    
  Hash: a4c03548e22e74f743b867df900eaa1328f2fa73
  Files affected:

    src/libstatgrab/statgrab.h

2004-01-09  Peter Saunders  <pajs@i-scream.org>

    Added strlcat/strlcpy (taken from openssh). Added a #define for both,
    and also atoll which we appear to of forgotten about when it was
    written.

    Removed that #ifdef around get_ll_match as atoll will now always be
    defined.

  Hash: 1da56116b04a58610a310a52b1b113da0aad835b
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2004-01-09  Adam Sampson  <ats@offog.org>

    Oops, yes. f can't be NULL at that point, though. Fix unterminated
    comment.

    
  Hash: 95412139c87974938c58f07ff1ef350db30f0752
  Files affected:

    src/libstatgrab/disk_stats.c

2004-01-09  Peter Saunders  <pajs@i-scream.org>

    Fixed leaking fd in diskio_stats code. Fixed a potential leak in
    page_stats.

    
  Hash: 99796ebbf900a3694dbf069f49443e45feab9010
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/page_stats.c

2004-01-06  Peter Saunders  <pajs@i-scream.org>

    Moving the MAX_LOGIN_NAME_SIZE to where it should be.

    
  Hash: ff89efbf1bf319ce41e72eb1bd87355c2a9022b1
  Files affected:

    src/libstatgrab/statgrab.h
    src/libstatgrab/user_stats.c

2004-01-06  Peter Saunders  <pajs@i-scream.org>

    Minor correction in docs.

    
  Hash: 26fc069362740c634dc5f0f6b56e62dea58b1ce8
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2004-01-06  Tim Bishop  <tim@bishnet.net>

    Post-release version increments.

    
  Hash: 22e8d7b277250783d6b1c55297ec8bde4b221e90
  Files affected:

    configure.in

2004-01-06  Tim Bishop  <tim@bishnet.net>

    We're going with 0.8.

    
  Hash: c8e3568b189236f802eb10d9da4cf1ac8c71e12b
  Files affected:

    NEWS
    configure.in

2004-01-06  Tim Bishop  <tim@bishnet.net>

    Add new drop privileges function to NEWS.

    
  Hash: e8fe18afb4f2fe6dee9336d19b6aa3b8f5a93816
  Files affected:

    NEWS

2004-01-06  Tim Bishop  <tim@bishnet.net>

    Add dropping privileges to all the examples.

    
  Hash: 4fdf526dcae4c3635874c3406fe612cd0b0f06a7
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c

2004-01-05  Adam Sampson  <ats@offog.org>

    Make one of the examples use statgrab_drop_privileges.

    
  Hash: 79ab2775a9089440584373dbff55a411d82bcef4
  Files affected:

    examples/network_traffic.c

2004-01-05  Adam Sampson  <ats@offog.org>

    Fix a typo. Tidy up the description of statgrab_init a bit. Update the
    list of supported platforms.

    
  Hash: f868c4a1a3764b3eb8aa66dbc3f5a0e95adfce6a
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2004-01-05  Tim Bishop  <tim@bishnet.net>

    Update shared library version.

    
  Hash: 2ca280b47bc17eb5eda9d3331c4431a532885990
  Files affected:

    src/libstatgrab/Makefile.am

2004-01-05  Adam Sampson  <ats@offog.org>

    Replace duplicated code for dropping privileges with a library function
    that always drops setuid/setgid privileges.

    
  Hash: 0ed4522a8dd693591a63d0449072f6420955307f
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml
    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.c
    src/saidar/saidar.c
    src/statgrab/statgrab.c

2004-01-05  Adam Sampson  <ats@offog.org>

    Remove unused variable "gid".

    
  Hash: 7706e8e6aee85e95174c844239dac8edc6a60808
  Files affected:

    src/saidar/saidar.c

2004-01-05  Adam Sampson  <ats@offog.org>

    Drop setuidness on Solaris.

    
  Hash: 65dec31411e596492bbbeafd47df2172f8a5f60b
  Files affected:

    src/statgrab/statgrab.c

2004-01-05  Tim Bishop  <tim@bishnet.net>

    Update stuff for new release.

    
  Hash: d5c1a2a0e295f1a61f9b43c1d28c9236dcc0a4bb
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2004-01-05  Peter Saunders  <pajs@i-scream.org>

    Drop setuid for solaris.

    
  Hash: bbf40090d35f32c2ef087d165ef7c9bc02c85f51
  Files affected:

    src/saidar/saidar.c

2004-01-05  Peter Saunders  <pajs@i-scream.org>

    Minor tiding

    
  Hash: 7ac0489fe91900a34e8e49bf871fb1888d987f35
  Files affected:

    src/libstatgrab/tools.c

2003-12-12  Tim Bishop  <tim@bishnet.net>

    On Solaris we sometimes need to be setuid root.

    
  Hash: 95c68cf473773b8c10ca54ca32402f12640759b7
  Files affected:

    configure.in
    src/saidar/Makefile.am
    src/statgrab/Makefile.am

2003-12-11  Tim Bishop  <tim@bishnet.net>

    Fix problem with -d flag in saidar. The line removed subtracted 1 from
    the delay. I guess at some point this was needed, but not now. So
    setting a delay of 1 resulted in a sleep 0 :-)

    
  Hash: b491a8b39f1cd7d70fd31f4a4d1e16d86b025066
  Files affected:

    src/saidar/saidar.c

2003-11-23  Tim Bishop  <tim@bishnet.net>

    Add statgrab_init() call to the examples. If people are going to copy
    them I guess we should try and make them correct :-)

    Also tidied up whitespace in the examples.

  Hash: 1b321fc8365c6f1384913316a96212b16948722f
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/page_stats.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c

2003-11-21  Tim Bishop  <tim@bishnet.net>

    Add section about new disk mappings.

    
  Hash: af446c3febf7ad466ecb2afe2993ab0854280a4c
  Files affected:

    docs/get_diskio_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/sg_get_disk_io_stats.xml

2003-11-20  Tim Bishop  <tim@bishnet.net>

    Add PLATFORMS file to list the known working operating systems. The list
    is roughly right, I think. It's just a starting point really.

    
  Hash: 203c129ef8b7bb82526c45b5c8134fdeb019a4b1
  Files affected:

    Makefile.am
    PLATFORMS

2003-11-20  Tim Bishop  <tim@bishnet.net>

    Turn on the solaris disk mapping code. Fix some minor bugs, and remove
    some debugging code.

    
  Hash: 637fdf1ee3187696d107315b15234818a4b4b1e0
  Files affected:

    configure.in
    src/libstatgrab/disk_stats.c
    src/libstatgrab/tools.c

2003-11-19  Tim Bishop  <tim@bishnet.net>

    Die nasty incorrect whitespace. Ahem. Excuse me.

    
  Hash: 0e521e64dd997ab924c0784892dd05947caf06c2
  Files affected:

    src/libstatgrab/tools.c

2003-11-13  Peter Saunders  <pajs@i-scream.org>

    Basic implementation of name mapping for solaris. The code is ugly,
    mostly because its initially taken from a sun example, and modified. It
    needs tiding somewhat. I'm not sure if tools.c is the right place for
    this, i guess it could go in disk_stats.c, but its doing a specific job,
    and we could right another mini-program which does the disk mappings.

    Comments welcome about the general implementation.

    Should we call build_mapping if the user calls get_svr_from_bsd and 
    build_mapping hasn't been run before? Or should we force them to use the 
    init function? (Bare in mind, on some systems, to do the mappings
    correctly the program will require to be root. (Only ones with a
    /dev/osa , so everything with an A1000 for e.g.)

  Hash: 664c601ba74a53fa9014e3a0997076ecb5a0ecd5
  Files affected:

    src/libstatgrab/tools.c

2003-11-12  Tim Bishop  <tim@bishnet.net>

    Remove a line added for Cygwin that's no longer needed.

    
  Hash: 4dec1ba45dc9056538662687b3bf81a7c8bae027
  Files affected:

    src/libstatgrab/load_stats.c

2003-11-12  Adam Sampson  <ats@offog.org>

    Use the userspace limits.h header, not the kernel one.

    
  Hash: 17faab46f2d903175c99ebe8cc57c7c17e51aa58
  Files affected:

    src/libstatgrab/process_stats.c

2003-11-12  Adam Sampson  <ats@offog.org>

    Make libstatgrab functions return NULL for stats that can't be fetched
    on cygwin.

    
  Hash: 27955e00dbd0781d228b84f7b23a7b36ebf6a1fa
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/process_stats.c

2003-11-11  Tim Bishop  <tim@bishnet.net>

    Fix a couple of Cygwin build issues. Not all the #ifdef LINUX's were
    changed in a previous commit.

    
  Hash: cd3989f443ee87711c6e9268aad60f6597b75536
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/statgrab.h

2003-11-10  Adam Sampson  <ats@offog.org>

    Strip colons from Cygwin drive names.

    
  Hash: 3566ce9ad782dd6100fc60a7d42d7b0e909abf9d
  Files affected:

    src/statgrab/statgrab.c

2003-11-10  Adam Sampson  <ats@offog.org>

    Factor out duplicated code that checks for valid FS types.

    
  Hash: 9957160f7530ffca096b53624e53ca9471847424
  Files affected:

    src/libstatgrab/disk_stats.c

2003-11-10  Adam Sampson  <ats@offog.org>

    Make Cygwin its own platform, rather than defining LINUX. This stops
    libstatgrab from trying to fetch stats that Cygwin doesn't have.

    
  Hash: 45688f718b75319dd668bd6f94e13e06df1d1040
  Files affected:

    configure.in
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/user_stats.c

2003-11-10  Adam Sampson  <ats@offog.org>

    Provide atoll() on platforms that don't have it.

    
  Hash: d0c7cf72daa4e27328328aa948620d0d272603d9
  Files affected:

    src/libstatgrab/tools.c

2003-11-10  Tim Bishop  <tim@bishnet.net>

    Add support for cygwin. This is a bit limited, there's a few things that
    can't be retrieved on cygwin such as load averages, diskio, network io,
    and process stats. The package compiles and runs, and both saidar and
    statgrab work.

    Taken from a patch submitted by Ron Arts <raarts@netland.nl>. Thanks
    Ron!

  Hash: 80739611acc9172b805cab7ddf4fb0aac1f7505b
  Files affected:

    README
    configure.in
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.c

2003-11-07  Adam Sampson  <ats@offog.org>

    Fix getopt() return value.

    
  Hash: 7bc1944750754fb5c066989d54de9bbb6614c36a
  Files affected:

    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_traffic.c
    examples/page_stats.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c

2003-11-07  Adam Sampson  <ats@offog.org>

    Remove a little bit of duplicated code.

    
  Hash: f5b14b6b30c5741e75a31bfcebf859e7fce3e5fe
  Files affected:

    src/saidar/saidar.c

2003-11-07  Adam Sampson  <ats@offog.org>

    Do the "don't update more than once a second" thing slightly
    differently; this avoids having it be unresponsive for 20 seconds if you
    type 20 spaces.

    
  Hash: 025f4a95ab87b200975a9bbb361b0794a63d86bc
  Files affected:

    src/saidar/saidar.c

2003-11-07  Adam Sampson  <ats@offog.org>

    getopt returns -1 on completion, not EOF.

    
  Hash: e6106ed48488772b8e324fe7b31d3daae4f3a25d
  Files affected:

    src/saidar/saidar.c

2003-11-07  Adam Sampson  <ats@offog.org>

    Fix type of ch.

    
  Hash: de1af90b67cb527acaaf0df152780cbb4489de64
  Files affected:

    src/saidar/saidar.c

2003-11-07  Adam Sampson  <ats@offog.org>

    Use curses' timeout() rather than select().

    
  Hash: d43fb5bb0835dea6720d47f0b5545fbe12fbb3dd
  Files affected:

    src/saidar/saidar.c

2003-11-07  Tim Bishop  <tim@bishnet.net>

    Add a space I removed by accident.

    
  Hash: 1998928211d1cc537338b9caab6084b4649ee074
  Files affected:

    src/statgrab/statgrab-make-mrtg-index.in

2003-11-07  Tim Bishop  <tim@bishnet.net>

    Now generates valid XHTML. Also added a line to the end of the page
    saying what generated it :-)

    
  Hash: 8af9a27d9b644ff0648d9dc2ee6ff090ee02ba33
  Files affected:

    src/statgrab/statgrab-make-mrtg-index.in

2003-10-24  Adam Sampson  <ats@offog.org>

    Support disk IO statistics on Linux 2.6. Remove a couple of unused
    variables.

    
  Hash: 8531cbfd39a4c39d1548bf3bb12902aa8f6ea2a8
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-24  Adam Sampson  <ats@offog.org>

    Support memory, swap and paging stats on Linux 2.6. For memory and swap,
    this just means reading the new-style data in /proc/meminfo (since it's
    present in 2.2 and 2.4 too); for paging, this means trying to read
    /proc/vmstat if it's available, else reading /proc/stat (for 2.2).

    
  Hash: d21c22a25fd1bf3b7e5b06dfa4efd82d7d964bfb
  Files affected:

    src/libstatgrab/memory_stats.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/swap_stats.c

2003-10-24  Adam Sampson  <ats@offog.org>

    Add the correct type to a couple of long long constants.

    
  Hash: 7d37be1c36d26b16ea4ad1690db50beae07fe0be
  Files affected:

    src/libstatgrab/network_stats.c

2003-10-24  Adam Sampson  <ats@offog.org>

    Initial Linux 2.6 support.

    
  Hash: 073c36dcf759b89d05057ac3dd710ed9852f2798
  Files affected:

    src/libstatgrab/memory_stats.c

2003-10-24  Adam Sampson  <ats@offog.org>

    Move MAX_LOGIN_NAME_SIZE definition to the right place.

    
  Hash: bcba79bedb4d8aed2af6e5f30070801a70a386e0
  Files affected:

    src/libstatgrab/statgrab.h
    src/libstatgrab/user_stats.c

2003-10-24  Tim Bishop  <tim@bishnet.net>

    Fix when --disable-saidar or --disable-statgrab used on BSD platforms.
    It seems you can do nested if statements, which is nice. Not sure if you
    can do combined ones (if foo && bar) or similar, though.

    
  Hash: 9a184bd71b7d82e334f02c98771267065cd55b4a
  Files affected:

    src/saidar/Makefile.am
    src/statgrab/Makefile.am

2003-10-24  Tim Bishop  <tim@bishnet.net>

    Fix for building from NetBSD pkgsrc. There the OS is detected as just
    netbsdelf, without a version suffix. I've left the elf bit, because I'm
    not sure what the implications would be for non-elf NetBSD's?

    
  Hash: 010156a3125cdacccfb72a69a7a0543f29f044c9
  Files affected:

    configure.in

2003-10-22  Tim Bishop  <tim@bishnet.net>

    Bump version post release.

    
  Hash: 627a3f21fca8840775fd1b91469dc7040b6f5e80
  Files affected:

    configure.in

2003-10-22  Tim Bishop  <tim@bishnet.net>

    Update the NEWS file to add new platforms we've tested on.

    
  Hash: 50cc300b3b99549f6fe5b4e1749f6f34294eb415
  Files affected:

    NEWS

2003-10-22  Tim Bishop  <tim@bishnet.net>

    Do the divides a bit more safely :-)

    
  Hash: d100e577db79fcc89493724a1bc0524b6327c667
  Files affected:

    src/saidar/saidar.c

2003-10-21  Tim Bishop  <tim@bishnet.net>

    Make saidar display the VM percentages for swap *or* memory if it can,
    rather than not displaying either if it can't get one or the other.

    
  Hash: c8db6a3ac4a49f1bb090c65c6204fdc1bb205304
  Files affected:

    src/saidar/saidar.c

2003-10-21  Tim Bishop  <tim@bishnet.net>

    Update for new release.

    
  Hash: f5b9ff09f6e0990fc6a14548aab60b2d3cf62b98
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2003-10-21  Peter Saunders  <pajs@i-scream.org>

    Added doc's for statgrab_init

    
  Hash: 74d96cdaffaaa249b891bc00c18caeed4c23466f
  Files affected:

    docs/libstatgrab/statgrab.xml
    docs/statgrab.xml

2003-10-20  Adam Sampson  <ats@offog.org>

    Only display the stats that are available (rather than bombing out if
    they aren't all available).

    
  Hash: 0b89834a2a29b44b3ece3f662dab0d6be08362b4
  Files affected:

    src/saidar/saidar.c

2003-10-20  Adam Sampson  <ats@offog.org>

    Use statgrab_init and drop privs as soon as possible.

    
  Hash: 38bca6a103661a641fcef1106194acf15b6df4e0
  Files affected:

    src/statgrab/statgrab.c

2003-10-20  Adam Sampson  <ats@offog.org>

    Clean up NetBSD memory calculations.

    
  Hash: e020eda2291abd98aad7ae4f04e74954f5a250ac
  Files affected:

    src/libstatgrab/memory_stats.c

2003-10-20  Peter Saunders  <pajs@i-scream.org>

    Changed the style slightly to be more readable.

    
  Hash: aacf8be61fba91dfce2ef8cf1374f477feea4e96
  Files affected:

    src/libstatgrab/tools.c

2003-10-20  Peter Saunders  <pajs@i-scream.org>

    Added statgrab_init()

    This function just calls the get_kvm type functions so all special
    privilages can be dropped after this function has been called. It
    currently only does stuff on *bsd (and needs testing on netbsd). All
    other OS's will just have a function that returns 0

    Solaris at somepoint may need to do something here so we can do the
    drive mappings.

  Hash: 5ede5c120eea442deaa7a7bacecad218410b4c51
  Files affected:

    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.c
    src/saidar/saidar.c

2003-10-19  Tim Bishop  <tim@bishnet.net>

    Bump the version number.

    
  Hash: b960d3e979f1d8a96f08f6e532f36861aa3ebaf0
  Files affected:

    configure.in

2003-10-19  Adam Sampson  <ats@offog.org>

    Correct comment about where dk_rbytes is available.

    
  Hash: d24ffd4a5e0a87a372a282d41753eed3b00688ef
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Update VALID_FS_TYPES for FreeBSD (at least, those that I can see from a
    quick look at src/sys).

    
  Hash: 93a730218b1093520771fae3feb961d75786bc7a
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Update VALID_FS_TYPES for NetBSD.

    
  Hash: 7c285a7ce4586df27fcd8db4f884837551448ce1
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Implement diskio stats on NetBSD. Tested on 1.6, but should work on
    1.6.1 (and give more useful output, since 1.6.1 seperates read and write
    statistics).

    
  Hash: d212f731bade09219a2d19a297ca4c12be41b4d6
  Files affected:

    configure.in
    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Avoid bzero(NULL, ...) on malloc failure.

    
  Hash: dc4c6c3009b6965b05b85f55a6c5259b7bb592f1
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Update the Linux VALID_FS_TYPES list based on the writable disk-based
    filesystems in 2.4.22 (plus xfs and jfs).

    
  Hash: 8e98a9062dbb52fe21767cdca92c93b88f170178
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Remove another patch glitch.

    
  Hash: 064d9bb9ab55af10d8da212d6e392d9d7b7e48c0
  Files affected:

    src/libstatgrab/os_info.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Dear patch(1),   Kindly don't insert random lines from my code into the
    middle of other peoples' sscanfs.        love,          Adam

    
  Hash: b9d221a697440905282e66a816d7fa75e399d348
  Files affected:

    src/libstatgrab/memory_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Initial support for NetBSD. This adds NetBSD support for everything
    except diskio stats (since they're even more disturbingly complex to get
    at on NetBSD than the three OSs we already support). Tested against
    NetBSD 1.6 on i386.

    
  Hash: 21aa38b17814bcb1eb7cecf28ceeaed3b761dd24
  Files affected:

    configure.in
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Correct type of page.systime.

    
  Hash: 846e320c5b0a8544f2f457413b2da124fdac67fa
  Files affected:

    src/statgrab/statgrab.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Add a helper function for opening the kvm handle. This removes a little
    bit of duplicated code, and means that we don't open and close kvm
    (which can potentially be quite expensive) each time we use it. This
    will also be useful for NetBSD.

    
  Hash: e5a3b852b17e7d2b6e4d2bc5c744b36578196ac9
  Files affected:

    src/libstatgrab/process_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2003-10-19  Adam Sampson  <ats@offog.org>

    Fix warning when building on Linux.

    
  Hash: 440f87cd9e743d4eba487783e8e6d9b7e40a60a2
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-19  Adam Sampson  <ats@offog.org>

    Remove headers from tools.h that the prototypes don't need (since  
    they're included elsewhere where needed). Include tools.h in tools.c, so
    we get warnings if the prototypes are   wrong.

    
  Hash: 79f0c1d1bb9c24f51fa58ab67d3a52955229e462
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2003-10-18  Adam Sampson  <ats@offog.org>

    ... and the size parameter should be initialised to the size of the
    buffer first (although FreeBSD doesn't actually seem to care, NetBSD
    does, and the manual page says so).

    
  Hash: 2849cc62be327fd7d9633314aea4c043f4dda85b
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c

2003-10-18  Adam Sampson  <ats@offog.org>

    Fix a little bit of slightly-confused comment formatting.

    
  Hash: 6315bb548d347daedda73995921ea07a965bbd0c
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-18  Adam Sampson  <ats@offog.org>

    You only need to call sysctl{,byname}() twice if you're actually going  
    to do something with the size the first call returns. The last argument
    to sysctl{,byname}() is a size_t, not a pointer, so it   should be 0,
    not NULL.

    
  Hash: 19c8a51fd36dac9f2986aa09c0dc23c18467e5ad
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c

2003-10-18  Tim Bishop  <tim@bishnet.net>

    Update for new release - 0.6.1.

    
  Hash: 67241fe039d47b712e5e930e00ff7dbc2ec8e194
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2003-10-18  Adam Sampson  <ats@offog.org>

    Mangle device names more correctly; now a device like "/dev/vinum/foo"
    will become "vinum_foo", rather than "foo".

    
  Hash: c6849a7a444371b39357481d47fbafc447158b2e
  Files affected:

    src/statgrab/statgrab.c

2003-10-18  Adam Sampson  <ats@offog.org>

    Allow the user to specify the page title. Include the hostname in the
    page title by default.

    
  Hash: 59eb9d2f1fd3f56ea08d6e86e39f8c7c64326a83
  Files affected:

    src/statgrab/statgrab-make-mrtg-index.in

2003-10-18  Tim Bishop  <tim@bishnet.net>

    Now behaves a little bit more like df with regard to percentages. This
    needs a better fix somewhere in libstatgrab really; we don't currently
    know anything about the reserved space.

    
  Hash: 152aab4035f9264e882f84f9a9f8652f672c0622
  Files affected:

    src/saidar/saidar.c

2003-10-18  Peter Saunders  <pajs@i-scream.org>

    Brain failure over a confusion with strncpy (thinking it worked like
    strlcpy)

    
  Hash: 1c50ce817c369cc852988006061e8dc41c8ecc93
  Files affected:

    src/saidar/saidar.c

2003-10-18  Peter Saunders  <pajs@i-scream.org>

    Fix an annoying long hostname problem.

    
  Hash: 315d45f5ac6cf73c522ddb78d06656c4fdb2d079
  Files affected:

    src/saidar/saidar.c

2003-10-18  Tim Bishop  <tim@bishnet.net>

    Fix the total memory that I broke in the last commit.

    
  Hash: fbaf9351d74a5e1598a4cbceb297d052244ee52f
  Files affected:

    src/libstatgrab/memory_stats.c

2003-10-18  Tim Bishop  <tim@bishnet.net>

    Fix the FreeBSD memory code. The sysctl calls are returning ints, not
    long longs, so putting the values straight in to long longs was
    breaking. Now put the values into ints and then fill in the structure
    afterwards.

    This, for some reason, only showed up on FreeBSD 5.1/sparc64. The
    changed code works on the other FreeBSD's too.

    One bug still outstanding: on sparc64 the total memory isn't working.

  Hash: 3290e70c3d8e94a10b4c40f9336204c854d59e74
  Files affected:

    src/libstatgrab/memory_stats.c

2003-10-16  Tim Bishop  <tim@bishnet.net>

    Disk percentage may be arguably more "right" than it is before. It's
    debatable, of course :)

    
  Hash: cb5515a184a9134daa445742346e6e7353a192fb
  Files affected:

    src/saidar/saidar.c

2003-10-12  Tim Bishop  <tim@bishnet.net>

    Unbodge the pkgconfig stuff.

    
  Hash: 750c414bbca9cb197942fef68c7fdfdb464603b4
  Files affected:

    Makefile.am
    configure.in

2003-10-09  Tim Bishop  <tim@bishnet.net>

    Push version number for next release.

    
  Hash: 42b8d7009df2b377b5748a0fd706d6047207524d
  Files affected:

    configure.in

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Fixed for freebsd 5 to count the new states a process can be in.
    Reverted back to the proper way for the total now this has been proven
    was the problem.

    
  Hash: 73b67ed366d0d5b197289479d22a7605f0e73c91
  Files affected:

    src/libstatgrab/process_stats.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Possibly making sure that the total is always correct on freebsd 5, even
    if some of the states are left out.

    
  Hash: 2a7c7e0bf14365fc752a42eed3620ab8b146232c
  Files affected:

    src/libstatgrab/process_stats.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Another stupid mistake. Now actually prints the program name :)

    
  Hash: a09b6c211ed9d9e74072343fb9a0e0d8b55a22f2
  Files affected:

    src/saidar/saidar.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Tab problem in a fprintf and actually turn on the new command line
    options ;)

    
  Hash: 73c7ce44cc18d1e200e70bfa73f770637cce65f0
  Files affected:

    src/saidar/saidar.c

2003-10-09  Tim Bishop  <tim@bishnet.net>

    Ready for new release of libstatgrab - 0.6.

    
  Hash: d7ba856cebb1e40a8b9e5bd0029a4f66fb132544
  Files affected:

    AUTHORS
    NEWS
    src/libstatgrab/Makefile.am

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Added some usage flags, and a -v for version and -h for help.

    
  Hash: 3d12d13883548c28ecf52fc473359067afb7e911
  Files affected:

    src/saidar/saidar.c

2003-10-09  Tim Bishop  <tim@bishnet.net>

    Standard header, plus make it include the right curses.h dependent on
    what the configure system finds.

    
  Hash: d23cc9dc451ce6e878e974467508d3e9a5e3e09a
  Files affected:

    src/saidar/saidar.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    First release of saidar. This version works on all platforms, using
    ncurses fine. Bugs exist when linked against the solaris curses. (E.g.
    if while running saidar you hammer a key repeatedly, the screen no
    longer updates. This only happens with the solaris curses however)

    Saidar takes a single optional flag, "-d" and an argument of the delay
    in seconds. e.g.

    saidar -d 1

    Will update the screen once a second (the fastest allowed update time).
    The default update it every 3 seconds. However, if you press any other
    key, it will update immidiately (unless its less than 1 second, in which
    case it will update at the earlist available time)

  Hash: df3f049cf17f66c2f800be7bc6eba308227ff95d
  Files affected:

    src/saidar/saidar.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Fixed a forgotten line from the patch

    
  Hash: 749e526c41f0dae6f3b7a79dfa5d7d1b2ef52e62
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Update to work for Freebsd5. Thanks to Tim Bishop for doing the hard
    work for this patch.

    
  Hash: 781cb270dc13de01c8986aac5c0537b0647e4caf
  Files affected:

    src/libstatgrab/process_stats.c

2003-10-09  Peter Saunders  <pajs@i-scream.org>

    Freebsd 5 patch for disk stats. Thanks to Tim Bishop for doing the hard
    work on this patch.

    
  Hash: e0f048a16be6d77f9907988cf19a2a5b1aca1b4e
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-09  Tim Bishop  <tim@bishnet.net>

    Enable binaries being setgid kmem on FreeBSD. Will set this based on the
    operating system, but is overridable using a configure flag.

    
  Hash: 23d6c8df53a6760981102e03faf95600d6839c8b
  Files affected:

    configure.in
    src/saidar/Makefile.am
    src/statgrab/Makefile.am

2003-10-08  Tim Bishop  <tim@bishnet.net>

    Add a define for FreeBSD 5.x.

    
  Hash: 6c2f42a0f3c018da5f777d3ae89e206337adba9e
  Files affected:

    configure.in

2003-10-08  Tim Bishop  <tim@bishnet.net>

    Unroll Pete's commits for doing drive mappings on Solaris. It doesn't
    work right and he wants to start again. Also, we don't want it in the
    next release :) This effectively removes revisions 1.22 and 1.23.

    
  Hash: 89507a88dbd07e60135a9709609797d60d1285d4
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-07  Tim Bishop  <tim@bishnet.net>

    Allow user to specify a different pkgconfig directory. Default is the
    sensible one (prefix/lib/pkgconfig). Main reason was that on FreeBSD
    they use prefix/libdata/pkgconfig, so a simple configure flag made it
    easier to do the port :-)

    
  Hash: 8014ec8487da374461bc65c9014344091951f300
  Files affected:

    Makefile.am
    configure.in

2003-10-07  Tim Bishop  <tim@bishnet.net>

    Further following of the manpage:

    "getdevs() expects the statinfo structure to be allocated, and it also 
    expects the dinfo subelement to be allocated and zeroed prior to the 
    first invocation of getdevs()."

    This finally makes saider work on FreeBSD.

  Hash: c0ccec46126d2644c5dab1c4df9fcf34e6f25d27
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-07  Tim Bishop  <tim@bishnet.net>

    Don't free stats.dinfo. If it used to store state between calls of
    getdevs it probably doesn't make sense to free it at the end of the
    first call of the function :)

    This follows Adam's last commit on this bit of which made sure we didn't
    reinitialise stats.dinfo every time round the loop.

  Hash: d6060756a465e1a139a478d689fd6d01e67f60fe
  Files affected:

    src/libstatgrab/disk_stats.c

2003-10-04  Tim Bishop  <tim@bishnet.net>

    Add autogen.sh, a script to run automake/autoconf/etc. This is used to
    build the build system when the package is checked out of CVS.

    Updated README.CVS files accordingly.

  Hash: 370ddbeb5899a4d5b0a861cf88845f16d6c718f9
  Files affected:

    README.CVS
    autogen.sh

2003-10-04  Tim Bishop  <tim@bishnet.net>

    The new version of ncurses installs it's headers in include/ncurses.
    Make the prefix setting stuff aware of this.

    
  Hash: e07b6054c6572b78105bccac522d87fd49492cb7
  Files affected:

    configure.in

2003-10-04  Tim Bishop  <tim@bishnet.net>

    Add all the build stuff for saidar (assuming Pete sticks with that
    name). The configure script will attempt to find curses, but if it can't
    will simply disable building of saidar (after giving a warning).

    Also made the building of saidar, statgrab, and the examples 
    conditional. They're enabled by default, but can be disabled using a 
    configure flag. Whilst I was at it, added a configure flag to disable 
    manpage installation at configure time.

    I'm not sure how well the curses detection works; we've had at least one
    report of a problem with it. Testing will be required.

  Hash: 170ff78536eb7439e8aefc8b75891c4ffa73242a
  Files affected:

    acinclude.m4
    configure.in
    docs/Makefile.am
    examples/Makefile.am
    src/Makefile.am
    src/saidar/Makefile.am
    src/statgrab/Makefile.am

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add a central page statgrab(3) which links all the functions together.
    Add a link in the See Also section of each manual page back to the
    central one.

    
  Hash: e646b8e22574c8b709ed24ec58845ea685f34636
  Files affected:

    docs/Makefile.am
    docs/cpu_percent_usage.xml
    docs/get_diskio_stats.xml
    docs/get_general_stats.xml
    docs/get_load_stats.xml
    docs/get_memory_stats.xml
    docs/get_network_stats.xml
    docs/get_page_stats.xml
    docs/get_process_stats.xml
    docs/get_user_stats.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/libstatgrab/statgrab.xml
    docs/sg_get_cpu_stats.xml
    docs/sg_get_disk_io_stats.xml
    docs/sg_get_host_info.xml
    docs/sg_get_load_stats.xml
    docs/sg_get_mem_stats.xml
    docs/sg_get_network_io_stats.xml
    docs/sg_get_page_stats.xml
    docs/sg_get_process_stats.xml
    docs/sg_get_user_stats.xml
    docs/statgrab.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Dropped the old text documentation in favour of manpages.

    
  Hash: ae7b5a26a32e06fff0ee16cbab43acb4da52ba1e
  Files affected:

    docs/Makefile.am
    docs/cpu.txt
    docs/diskio.txt
    docs/load_average.txt
    docs/network.txt
    docs/os_stats.txt
    docs/page_stat.txt
    docs/process_stats.txt
    docs/user_list.txt
    docs/vm_stats.txt

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add final manpage - swap and memory.

    
  Hash: 0f7ae5d30c75bd836acc1b33e0f7b5b9071f58dd
  Files affected:

    docs/Makefile.am
    docs/get_memory_stats.xml
    docs/libstatgrab/sg_get_mem_stats.xml
    docs/sg_get_mem_stats.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add process statistics.

    
  Hash: 4cc2c9b12abff424451f42b86f8ca6f8ae4d9c0a
  Files affected:

    docs/Makefile.am
    docs/get_process_stats.xml
    docs/libstatgrab/sg_get_process_stats.xml
    docs/sg_get_process_stats.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Fix some markup.

    
  Hash: 4315433d982f0d98b4ccd516da5954c38c13549a
  Files affected:

    docs/get_diskio_stats.xml
    docs/get_network_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/sg_get_disk_io_stats.xml
    docs/sg_get_network_io_stats.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add page stats manpage.

    
  Hash: b57bee93e1c6fb5180d7fdb3282d508d92429f52
  Files affected:

    docs/Makefile.am
    docs/get_page_stats.xml
    docs/libstatgrab/sg_get_page_stats.xml
    docs/sg_get_page_stats.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add user statistics.

    
  Hash: ad486b66462943036dd07b7f140ba874bfce4121
  Files affected:

    docs/Makefile.am
    docs/get_user_stats.xml
    docs/libstatgrab/sg_get_user_stats.xml
    docs/sg_get_user_stats.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add diskio stats. Anyone notice there's no documentation or examples for
    the disk stats? :)

    
  Hash: e5fa9e14e746548bae7044b3d1cfd0c12afb9dfb
  Files affected:

    docs/Makefile.am
    docs/get_diskio_stats.xml
    docs/libstatgrab/sg_get_disk_io_stats.xml
    docs/sg_get_disk_io_stats.xml

2003-10-02  Tim Bishop  <tim@bishnet.net>

    Add network stats manpage.

    
  Hash: 1997ac6f71ea0bea9ad679647971bbe0bd9b1dc9
  Files affected:

    docs/Makefile.am
    docs/get_network_stats.xml
    docs/libstatgrab/sg_get_network_io_stats.xml
    docs/sg_get_network_io_stats.xml

2003-10-01  Tim Bishop  <tim@bishnet.net>

    Add CPU statistics documentation.

    
  Hash: 61409375d41f6fb4fe9f9c431d0d13a5053da51c
  Files affected:

    docs/Makefile.am
    docs/cpu_percent_usage.xml
    docs/libstatgrab/sg_get_cpu_stats.xml
    docs/sg_get_cpu_stats.xml

2003-10-01  Tim Bishop  <tim@bishnet.net>

    Add manual pages in docbook XML format. The Makefile will convert them
    in to manual pages at distribution time, so the archive will ship with
    manual pages, not XML.

    
  Hash: ca967bd6b1f06fa1dc4fa271ae1cc32f4fdd7ccd
  Files affected:

    docs/Makefile.am
    docs/get_general_stats.xml
    docs/get_load_stats.xml
    docs/libstatgrab/sg_get_host_info.xml
    docs/libstatgrab/sg_get_load_stats.xml
    docs/sg_get_host_info.xml
    docs/sg_get_load_stats.xml

2003-09-29  Tim Bishop  <tim@bishnet.net>

    By popular demand the next release will be 0.6 :-)

    
  Hash: 3d2030f78cbc03f25c8257240b529d6e31d09148
  Files affected:

    configure.in

2003-09-29  Tim Bishop  <tim@bishnet.net>

    Seperate out the flags used to link against libstatgrab. We use them to
    compile the examples and statgrab. They're also in the pkg-config file
    to allow other app's to know which libraries they'll need.

    
  Hash: 8e77228452b3433cb3dc2a3bbbd6567204d4e29e
  Files affected:

    configure.in
    examples/Makefile.am
    libstatgrab.pc.in
    src/statgrab/Makefile.am

2003-09-26  Peter Saunders  <pajs@i-scream.org>

    Bug fix on systems with large path_to_inst files.

    
  Hash: 1bd201fcab7e6ad3d0cbe399b667259f84b0a485
  Files affected:

    src/libstatgrab/disk_stats.c

2003-09-26  Tim Bishop  <tim@bishnet.net>

    Add pkg-config file for libstatgrab.

    
  Hash: f664809fc156c664a49f5309f207eedd71c39fae
  Files affected:

    Makefile.am
    configure.in
    libstatgrab.pc.in

2003-09-26  Peter Saunders  <pajs@i-scream.org>

    Added drive mapping for solaris from the old sunos names, to the more
    modern solaris names.

    E.g.

    ssd0 to c0t0d0s0

    This is rather more useful :)

  Hash: 3e688b57f69c0770d6b63a7807a3a70e494b8d33
  Files affected:

    src/libstatgrab/disk_stats.c

2003-09-09  Tim Bishop  <tim@bishnet.net>

    Update configure.in for next release.

    
  Hash: 4dc99ea25584253a25532cf9e61b0978626aa194
  Files affected:

    configure.in

2003-09-09  Tim Bishop  <tim@bishnet.net>

    Update NEWS with latest changes. Change bug report address in README
    file. Update AUTHORS to include Adam as the statgrab author. Now ready
    for the 0.5.1 release.

    
  Hash: 50c0bf36e279a248c47a3e944f4d8deb7cb77252
  Files affected:

    AUTHORS
    NEWS
    README

2003-09-09  Adam Sampson  <ats@offog.org>

    Fix FreeBSD segfault. From the getdevs() man page: "The dinfo subelement
    is used to store state between calls, and should not be modified after
    the first call to getdevs()."

    
  Hash: 4be02370b45bc77021a2cd2ed6df20069e8e7fa8
  Files affected:

    src/libstatgrab/disk_stats.c

2003-08-31  Adam Sampson  <ats@offog.org>

    If invoked as "statgrab foo.", print all stats starting with "foo.".
    Print multiple values with the same name correctly.

    
  Hash: d08b3f759ba371a992fb8cf81c9e5faa0db2f09b
  Files affected:

    src/statgrab/statgrab.c

2003-08-29  Adam Sampson  <ats@offog.org>

    Only fetch the stats that we're actually interested in.

    
  Hash: 569e8ccaf72738c9c85ada75ddf733c775b6888f
  Files affected:

    src/statgrab/statgrab.c

2003-08-29  Adam Sampson  <ats@offog.org>

    *Really* fill in time_taken correctly.

    
  Hash: 5e1d8d69b9ca06b9eb6f59094df514a407c26251
  Files affected:

    src/statgrab/statgrab.c

2003-08-29  Adam Sampson  <ats@offog.org>

    Fill in time_taken correctly.

    
  Hash: 8d605c085c287d892e697cc64185dc4e1e848ee4
  Files affected:

    src/statgrab/statgrab.c

2003-08-28  Adam Sampson  <ats@offog.org>

    Make disk_stats read /proc/partitions on Linux, which contains
    information for   all disks on recent 2.4 kernels. (It'll fall back to
    /proc/stat if it can't   find the information there.)

    
  Hash: 4f0987de9a4e980d514b5ae0969897519f6451c6
  Files affected:

    src/libstatgrab/disk_stats.c

2003-08-28  Adam Sampson  <ats@offog.org>

    Don't fclose(NULL).

    
  Hash: e0d1957ce23b1cdc4c4b6a8f53b375fd45d667e7
  Files affected:

    src/libstatgrab/disk_stats.c

2003-08-28  Adam Sampson  <ats@offog.org>

    -p doesn't make any sense unless you've got stat differences. -m should
    work with -o. Make statgrab-make-mrtg-config use -o for CPU stats.

    
  Hash: 26f9909d7f6b3dfa5abf0cba5b7870db43bac5f5
  Files affected:

    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab.c

2003-08-28  Adam Sampson  <ats@offog.org>

    Generate statgrab MRTG scripts.

    
  Hash: ee86f1e599210cf3e7974cfd6c30631489c5c923
  Files affected:

    configure.in

2003-08-28  Adam Sampson  <ats@offog.org>

    Add scripts to generate MRTG config and index page from statgrab output.

    
  Hash: 10f34f27ce50ed830b9a0b021cb73611856ef52c
  Files affected:

    src/statgrab/Makefile.am
    src/statgrab/statgrab-make-mrtg-config.in
    src/statgrab/statgrab-make-mrtg-index.in

2003-08-27  Tim Bishop  <tim@bishnet.net>

    Apply patch in bug id #10. Submitted by Adam :-)

    
  Hash: 63cbece654ed1de10e1c6a7970a9553f0a324a6f
  Files affected:

    src/statgrab/statgrab.c

2003-08-27  Tim Bishop  <tim@bishnet.net>

    Have to pull in the definitions from config.h.

    
  Hash: 072b364ad59aed4ea17ebe3d963f51f1f1db59b3
  Files affected:

    src/statgrab/statgrab.c

2003-08-27  Tim Bishop  <tim@bishnet.net>

    Put the version number in the usage page.

    
  Hash: c434a2cda4c6d3c16d86d0d8857ef7e3a0dd3d7b
  Files affected:

    src/statgrab/statgrab.c

2003-08-26  Peter Saunders  <pajs@i-scream.org>

    Fix for freebsd network traffic too.. Everything stores it in 32bit with
    the exception of SOL8+ hosts.

    Its a stupid world ;)

  Hash: cf1e2001232807d15da61ef83875c47e6195ed0f
  Files affected:

    src/libstatgrab/network_stats.c

2003-08-26  Peter Saunders  <pajs@i-scream.org>

    Linux stores it as a 32bit unsigned long, so suffers the same wrap
    around bug as sol 7 hosts. This increases the chances it may happen on
    freebsd too so some testing maybe needed. If so, we prob should change
    this to a default and have a #ifdef 64bit for the odd (good) ones :)

    
  Hash: 5542af8120d71b752f9860d67831d5e746ce5a0d
  Files affected:

    src/libstatgrab/network_stats.c

2003-08-26  Tim Bishop  <tim@bishnet.net>

    Move the world around a bit to allow for subdirs in src.

    
  Hash: 335739628ea4dd71f16a07b6ec28af655450d0d4
  Files affected:

    configure.in
    examples/Makefile.am
    src/Makefile.am
    src/libstatgrab/Makefile.am
    src/statgrab/Makefile.am

2003-08-26  Tim Bishop  <tim@bishnet.net>

    A sysctl-style program to display system statistics collected through
    libstatgrab. Contributed by Adam Sampson, azz@us-lot.org.

    
  Hash: 4dbed79d1992376cb3cbd31b78a1410c69bc8486
  Files affected:

    src/statgrab/statgrab.c

2003-08-25  Tim Bishop  <tim@bishnet.net>

    Update version number for next release.

    
  Hash: 637d1da13e90d78f517a2c2d9c8ec5f871127324
  Files affected:

    configure.in

2003-08-25  Tim Bishop  <tim@bishnet.net>

    Ready for the next release.

     - Update NEWS with details of new release.
      (FreeBSD bug fix, new docs, new examples)
    - Update version number to 0.5.
    - Update shared library version.
    - Move docs directory to more sensible place.

  Hash: f176355fd9d9a79dfccea4faa6a29f9e52f9f2eb
  Files affected:

    NEWS
    configure.in
    docs/Makefile.am
    src/libstatgrab/Makefile.am

2003-08-24  Tim Bishop  <tim@bishnet.net>

    Tidy page_stat.txt, and add the page stats stuff to the Makefiles.

    
  Hash: e37e5e9c8040d0e0854a059291e25c67c567a5ac
  Files affected:

    docs/Makefile.am
    docs/page_stat.txt
    examples/Makefile.am

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    page stats example

    
  Hash: fd6c7981825b6b1eee077db441d62b174b95bad5
  Files affected:

    examples/page_stats.c

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    Page stats

    
  Hash: bd1a5106694f4fa79bafca244a38900672ab8d40
  Files affected:

    docs/page_stat.txt

2003-08-24  Tim Bishop  <tim@bishnet.net>

    Tidy cpu.txt and add to Makefile.

    
  Hash: eeb561658625dc7d5d60bc7cc4e08c8c1ab04124
  Files affected:

    docs/Makefile.am
    docs/cpu.txt

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    CPU documentaion

    
  Hash: c134cc37db834c8ea30a9717f32fdfa87e03a324
  Files affected:

    docs/cpu.txt

2003-08-24  Tim Bishop  <tim@bishnet.net>

    Tidy user_list too.

    
  Hash: 14e83ce8301d21a4a33cffdbdaee633eff9b24e9
  Files affected:

    docs/Makefile.am
    docs/user_list.txt

2003-08-24  Tim Bishop  <tim@bishnet.net>

    Tidy up of lots of little things. :)

    
  Hash: a427805c2cf694be14b4be8b8c11d693dfbe56d4
  Files affected:

    NEWS
    README
    docs/Makefile.am
    docs/diskio.txt
    docs/load_average.txt
    docs/network.txt
    docs/os_stats.txt
    docs/process_stats.txt
    docs/vm_stats.txt
    examples/Makefile.am
    examples/cpu_usage.c
    examples/disk_traffic.c
    examples/load_stats.c
    examples/network_traffic.c
    examples/os_info.c
    examples/process_stats.c
    examples/user_list.c
    examples/vm_stats.c
    src/libstatgrab/Makefile.am
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h
    src/libstatgrab/user_stats.c

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    User docs

    
  Hash: 36359be6ae20aa3d653547c549def0ea8066a2cd
  Files affected:

    docs/user_list.txt

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    User details example.

    
  Hash: b96b633768607f71207ed90f9e136e3d461641b4
  Files affected:

    examples/user_list.c

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    Documentation for memory and swap stats.

    
  Hash: 69fda15612999cb8b6364c7c262937e26e57d0fa
  Files affected:

    docs/vm_stats.txt

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    Memory and swap stats example

    
  Hash: eef8ccdbf9dec6ed5030abfae50dcc013f0b9644
  Files affected:

    examples/vm_stats.c

2003-08-24  Tim Bishop  <tim@bishnet.net>

    The AUTHORS file has been here since it was copied from ihost ;)

    
  Hash: b33a5157c60f889ae124a18b77f457e2af6382a1
  Files affected:

    AUTHORS

2003-08-24  Tim Bishop  <tim@bishnet.net>

    Add latest docs and examples.

    
  Hash: 224bb6e0223a85e42c0e68f9dde8ff94d66ebafe
  Files affected:

    docs/Makefile.am
    examples/Makefile.am

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    os_stats docs

    
  Hash: 976c2ba691e0a50ff026036d2c291be7007b3783
  Files affected:

    docs/os_stats.txt
    docs/process_stats.txt

2003-08-24  Peter Saunders  <pajs@i-scream.org>

    OS stats example

    
  Hash: 2604220f4f9d8f928e745fef16d1d42896431295
  Files affected:

    examples/os_info.c

2003-08-22  Peter Saunders  <pajs@i-scream.org>

    Basic process_stats documentation

    
  Hash: b50eafa6b2079c6932dfd7b4d5f31dca9aac47f8
  Files affected:

    docs/process_stats.txt

2003-08-21  Peter Saunders  <pajs@i-scream.org>

    Added a process stats example.

    
  Hash: 34156158e9e0315a3319aeaadd6d27ff27322c8f
  Files affected:

    examples/process_stats.c

2003-08-21  Tim Bishop  <tim@bishnet.net>

    Add the load stats to the Makefile.

    
  Hash: db542ba9abf16518e42c7443268ca51f170bfa9f
  Files affected:

    docs/Makefile.am
    examples/Makefile.am

2003-08-21  Peter Saunders  <pajs@i-scream.org>

    Added load_average examples and documentation.

    
  Hash: 7f2d563bd166a90c0cee72963ad2eb5b23513587
  Files affected:

    docs/load_average.txt

2003-08-21  Peter Saunders  <pajs@i-scream.org>

    Added load_stats example, and documentation.

    
  Hash: 4e1bb4fd7593764ab1eecb61a7f9f75fe6758a07
  Files affected:

    examples/load_stats.c

2003-08-21  Tim Bishop  <tim@bishnet.net>

    Bug reporting address is now bugs@i-scream.org.

    
  Hash: d55004d7d8d251ef1e26e48bc8f6057645132d24
  Files affected:

    configure.in

2003-06-05  Tim Bishop  <tim@bishnet.net>

    Add new examples to Makefile.

    
  Hash: 66a8171796b7215a1432a80e5d081074575e9d78
  Files affected:

    examples/Makefile.am

2003-06-05  Tim Bishop  <tim@bishnet.net>

    Proof read and slightly alter diskio.txt and network.txt. Also add
    diskio.txt to the Makefile.

    
  Hash: 51f8568de18fa8925ac6f0798a9deb9a994ac368
  Files affected:

    docs/Makefile.am
    docs/diskio.txt
    docs/network.txt

2003-06-05  Peter Saunders  <pajs@i-scream.org>

    Example for disk traffic.

    
  Hash: 0f42c8d70b0e19856da85616368b46b01dc0b45b
  Files affected:

    examples/disk_traffic.c

2003-06-05  Peter Saunders  <pajs@i-scream.org>

    Example of how to get and display cpu usage.

    
  Hash: 7640aaa1f7cc2a32ecad27e5a01c533ade74ba66
  Files affected:

    examples/cpu_usage.c
    examples/network_traffic.c

2003-06-04  Peter Saunders  <pajs@i-scream.org>

    Diskio doc's... Prob needs some serious proof reading :)

    
  Hash: 34b31bcdee61375b1e3dc788b9659f1c18e45d74
  Files affected:

    docs/diskio.txt

2003-06-04  Peter Saunders  <pajs@i-scream.org>

    Fix bug report #748942. Moved the ifdef to where it should be :)

    
  Hash: b8ee214293ebd60610e48d8ed8686921af8e5b60
  Files affected:

    src/libstatgrab/process_stats.c

2003-05-20  Tim Bishop  <tim@bishnet.net>

    Added building of examples. We don't, currently, install them though.

    
  Hash: 4199dceb902fcd195081bfb64837d10ab1f38610
  Files affected:

    Makefile.am
    configure.in
    examples/Makefile.am

2003-05-20  Tim Bishop  <tim@bishnet.net>

    Change i-scream.org.uk to i-scream.org.

    
  Hash: cdc929df499d3f20cf3cb2e8086cb26a7fad8f93
  Files affected:

    AUTHORS
    Makefile.am
    README
    README.CVS
    configure.in
    docs/Makefile.am

2003-05-20  Tim Bishop  <tim@bishnet.net>

    Allow documentation to be installed to $(datadir)/libstatgrab/docs.

    
  Hash: 57c123bfd9dddd09b904c54d55f66f84d8973d81
  Files affected:

    Makefile.am
    configure.in
    docs/Makefile.am

2003-05-12  Peter Saunders  <pajs@i-scream.org>

    Typo fixed, added another bug

    
  Hash: 881a7879f462ec3571ca955f165cb1fda6cab8be
  Files affected:

    docs/network.txt

2003-05-11  Peter Saunders  <pajs@i-scream.org>

    Added basic docs for network stats, and a example. Needs some basic
    work, and no doubt several typos :)

    
  Hash: 7e2f8bdb51afb64700445b93b34864e89eabffcb
  Files affected:

    docs/network.txt
    examples/network_traffic.c

2003-04-09  Tim Bishop  <tim@bishnet.net>

    Increment for next release.

    
  Hash: e860d96c9cd2abd7ea9cebb1cd3241f53df41494
  Files affected:

    configure.in

2003-04-09  Tim Bishop  <tim@bishnet.net>

    Version 0.4 now with FreeBSD support.

    
  Hash: cc3664992ccc7cc5b84d0e55a3afebacf95900b6
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2003-04-09  Tim Bishop  <tim@bishnet.net>

    Add the standard header. Particularly the bit about including config.h
    was needed to allow the ifdef around the last function to work.

    
  Hash: f1ffd15a963a0a427f014b60003491b1ead0c86a
  Files affected:

    src/libstatgrab/tools.c

2003-04-09  Tim Bishop  <tim@bishnet.net>

    libstatgrab needs to do a check for atoll too. This should fix
    libstatgrab on all platforms. New release coming shortly ;)

    
  Hash: 19370f8e8119fde78d15ee3aff98b3248d26f5d7
  Files affected:

    NEWS
    configure.in

2003-04-06  Peter Saunders  <pajs@i-scream.org>

    Added a library to link against on freebsd so that it will compile.

    
  Hash: 2c208011d1ef5849d2a434c3dabed4ad9306f059
  Files affected:

    configure.in

2003-04-06  Peter Saunders  <pajs@i-scream.org>

    Make the functions that use atoll have a #ifdef HAVE_ATOLL around them.
    I did this because freebsd doesn't have this function, and it doesn't
    need to run any of the functions in tools.h that uses them.

    
  Hash: 2591b93c5691da53fc062e843f5d7d9e972ef3e6
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2003-04-06  Peter Saunders  <pajs@i-scream.org>

    Now works on freebsd. This is the last of parts that needed to be ported
    so its now "finished" for testing. Solaris and Linux should also be
    tested as minor changes in code may of disturbed them (it shouldn't
    have, i just may of made a mistake :) )

    Certain things will require setgid kmem permissions (swap and processor 
    stats)

  Hash: 0d0cd7d55207da824ceb0d531a35c1db618a063e
  Files affected:

    src/libstatgrab/network_stats.c

2003-04-05  Peter Saunders  <pajs@i-scream.org>

    Should now work on freebsd.

    
  Hash: eb713b48e3e3651cbec64f6ad4162ff4ecc642f7
  Files affected:

    src/libstatgrab/disk_stats.c

2003-04-05  Tim Bishop  <tim@bishnet.net>

    Next release of libstatgrab will (hopefully) have FreeBSD support, and
    will therefore be version 0.4 I guess.

    
  Hash: cc386a731bcc75d737d65eaa8a037fb47330ee1e
  Files affected:

    configure.in

2003-04-04  Peter Saunders  <pajs@i-scream.org>

    Disk stats for freebsd. This does not currently include diskio stats.

    
  Hash: 9c05b660e4ff9496ee34e951e3deffa3b2d146cc
  Files affected:

    src/libstatgrab/disk_stats.c

2003-04-04  Peter Saunders  <pajs@i-scream.org>

    Ported to work onto freebsd.

    
  Hash: 8c90f2265ccbdd3bedbdcf46f80de9ca4845be2e
  Files affected:

    src/libstatgrab/statgrab.h
    src/libstatgrab/user_stats.c

2003-04-04  Peter Saunders  <pajs@i-scream.org>

    Now works on freebsd

    
  Hash: 8bdad32081a654dfda0bcd3c8dd5ffe95c97b026
  Files affected:

    src/libstatgrab/swap_stats.c

2003-04-03  Peter Saunders  <pajs@i-scream.org>

    Now works on freebsd.. Now why couldn't they follow the same scheme as
    everything else :) ?

    
  Hash: dd36536b70419a3dacbdef66bb58997ac57661e8
  Files affected:

    src/libstatgrab/process_stats.c

2003-04-03  Peter Saunders  <pajs@i-scream.org>

    Now works on freebsd.

    
  Hash: 3a502e95eda09826cc6dc6629193b08843d582cc
  Files affected:

    src/libstatgrab/page_stats.c

2003-04-03  Peter Saunders  <pajs@i-scream.org>

    Now works on freebsd

    
  Hash: 930738aaffd0ee09e255a7220c0207825bdee7dc
  Files affected:

    src/libstatgrab/os_info.c

2003-04-03  Peter Saunders  <pajs@i-scream.org>

    Should now work happily on freebsd. sysctlbyname seems to return a lot
    of things in long's. Im not completely trusting this code, but it does
    appear to work, and its the same as the old implementation.

    
  Hash: fc48e74b6e5d86db230263150a07ca22960d495a
  Files affected:

    src/libstatgrab/memory_stats.c

2003-04-03  Peter Saunders  <pajs@i-scream.org>

    Freebsd support. Smile tim ;)

    
  Hash: d895f0c3b968e65974c658522d93a1b629fc8efe
  Files affected:

    src/libstatgrab/cpu_stats.c

2003-03-31  Tim Bishop  <tim@bishnet.net>

    Update version for next release.

    
  Hash: c93f65bd652065a72adaaabc531f31a2acad75c5
  Files affected:

    configure.in

2003-03-31  Tim Bishop  <tim@bishnet.net>

    Package up 0.3.4 which fixes some leaking linux issues :-)

    
  Hash: d89fe67fed37469f6f48bef5db96cd3b05e94a8f
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2003-03-31  Peter Saunders  <pajs@i-scream.org>

    Fixed memory leak in regex stuff

    
  Hash: ffaddaf6a5a20d4c81e16f87706eb3b4e0c65785
  Files affected:

    src/libstatgrab/network_stats.c

2003-03-31  Peter Saunders  <pajs@i-scream.org>

    Fixed some issues with not closing FILE*'s.

    
  Hash: f92e8369f81e74178a167a1679c18a32fffe29a8
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/network_stats.c

2003-03-29  Tim Bishop  <tim@bishnet.net>

    Fix another #include.

    
  Hash: 121e9bf7810f622808a9b8f004a0378a8b12c119
  Files affected:

    src/libstatgrab/network_stats.c

2003-03-22  Tim Bishop  <tim@bishnet.net>

    Update version for next release.

    
  Hash: 4cd2885367310506a2ab83c6a74dcbbe8fe881c7
  Files affected:

    configure.in

2003-03-22  Tim Bishop  <tim@bishnet.net>

    Version 0.3.3. Bug fixed in the wraparound code.

    
  Hash: 9e937186404b0fc2eefac411e517bc5bd39bacdb
  Files affected:

    NEWS
    configure.in
    src/libstatgrab/Makefile.am

2003-03-22  Peter Saunders  <pajs@i-scream.org>

    Another stupid bug in the wrap around code.

    
  Hash: 778fa7a1fc27fef42d99a617602e36723833f760
  Files affected:

    src/libstatgrab/network_stats.c

2003-03-21  Tim Bishop  <tim@bishnet.net>

    Update the shared library version number too.

    
  Hash: ac6c73b7aca572b457b5a174d2538cd3af2d4b8f
  Files affected:

    src/libstatgrab/Makefile.am

2003-03-21  Tim Bishop  <tim@bishnet.net>

    Once again, heading for 0.4. If Pete manages to not find any more bugs
    :-)

    
  Hash: 819e90f9b9b7687e5ca0a198c226072fce8870be
  Files affected:

    configure.in

2003-03-21  Tim Bishop  <tim@bishnet.net>

    Version 0.3.2. Has fixed wraparound stuff, well tested by now :-)

    
  Hash: b4740fd83c5db1bef21351f972d7c6aca4ff209f
  Files affected:

    NEWS
    configure.in

2003-03-12  Peter Saunders  <pajs@i-scream.org>

    Well, i carefully made the function to look after wrap around issues,
    and then apparently didn't use it :)

    It now uses it :)

  Hash: de6405ade97a1c9d3c3cb8e26ad7c0a41143789d
  Files affected:

    src/libstatgrab/network_stats.c

2003-03-12  Tim Bishop  <tim@bishnet.net>

    Bump shared library version for 0.3.1.

    
  Hash: 9680741565c3202938a720b2b0c181d741607009
  Files affected:

    src/libstatgrab/Makefile.am

2003-03-12  Tim Bishop  <tim@bishnet.net>

    Hopefully heading towards 0.4 with FreeBSD support :-)

    
  Hash: 3e50d20070b2b39a833f3947c3378fdaef07f84a
  Files affected:

    configure.in

2003-03-12  Tim Bishop  <tim@bishnet.net>

    The configure setup explicitly checks for Solaris versions older then 8,
    and sets a define so the code knows not to use 64bit values. Also
    updated the NEWS file, bringing about version 0.3.1.

    
  Hash: 2317d93cb7a90878d1a002b76c98c2319699eb92
  Files affected:

    NEWS
    configure.in

2003-03-11  Peter Saunders  <pajs@i-scream.org>

    Ok, wrap around fixed for 32bit machines, not 64. I really ought to
    change all the long long's to ulong long's. I'll ponder if i can be
    bothered :)

    
  Hash: 98492c4ee7ece6c68bc15bc758fb78b6f0f5acb0
  Files affected:

    src/libstatgrab/network_stats.c

2003-03-11  Peter Saunders  <pajs@i-scream.org>

    Make network stats work on pre sol8. BUGS: On pre sol8 systems, it
    doesn't cope with a wrap around once the 32bit uint becomes too big. So
    when this happens it will report one set of dodgy data, then continue.
    This bug technically is there in the 64bit version too, but it will need
    to of sent 9223372036854775808 bytes first. (8388608 terrabytes, so
    basically a *big enough* number that will come around and byte me in 20
    years time or something ;) )

    
  Hash: 84c8e6378eeace37ff25af7e27a5c40536508810
  Files affected:

    src/libstatgrab/network_stats.c

2003-03-11  Peter Saunders  <pajs@i-scream.org>

    Bug fix, again :) .. I wasn't reporting the time taken since last
    statgrab correctly. So got very busy disks apparently ;)

    
  Hash: 375eee85221bc0fa043bd26d4acdb63b1a5ebee8
  Files affected:

    src/libstatgrab/disk_stats.c

2003-03-10  Peter Saunders  <pajs@i-scream.org>

    Think i've fixed another bug which causes seg faults on machines with no
    users :)

    
  Hash: 022f44a44c1188eab0b4506bf84ae7b6493dbc59
  Files affected:

    src/libstatgrab/user_stats.c

2003-03-10  Tim Bishop  <tim@bishnet.net>

    Increment version numbers so we're working towards the next versions...

    
  Hash: 8af77e02c9c5cc73d54109941349b427085a5e9d
  Files affected:

    configure.in

2003-03-10  Tim Bishop  <tim@bishnet.net>

    libstatgrab now has linux support and goes to version 0.3. ihost has
    only minor bugfixes and changes, so becomes version 1.5.1. NEWS files
    updated accordingly. libstatgrab shared library version numbered
    incremented using the libtool rules - under the assumption that someone
    must have thought about that idea, which is more than we can manage to
    do ;)

    
  Hash: 589384f499fa026e5ba01fffe168af52240db73c
  Files affected:

    NEWS
    src/libstatgrab/Makefile.am

2003-03-07  Tim Bishop  <tim@bishnet.net>

    Added tools.c and tools.h to the Makefile. It now compiles ok on both
    Solaris and Linux. Also fixed a minor compile bug in disk_stats.c - I
    did check the history in CVS, and it used to be like this. The bug got
    introduced in the Linux changes.

    
  Hash: 57112430828f34c075ef37eb5420cf32e951db94
  Files affected:

    src/libstatgrab/Makefile.am
    src/libstatgrab/disk_stats.c

2003-03-07  Peter Saunders  <pajs@i-scream.org>

    Made work with linux. Last thing that needs to be ported.

    
  Hash: b81524e06267dc4743ae18c3917c22060a736278
  Files affected:

    src/libstatgrab/swap_stats.c

2003-03-07  Peter Saunders  <pajs@i-scream.org>

    Added linux support.

    
  Hash: 005e59dcbcdb53c12f62bc9e89f154f856d6b907
  Files affected:

    src/libstatgrab/process_stats.c

2003-03-07  Peter Saunders  <pajs@i-scream.org>

    Removed getting of some data we didn't really need or use. Updated
    page_stats to work with linux. Fixed tools.h to compile nicely :)

    
  Hash: c6c14d07c5dc399abd5542f808f9e5b6cc6aa599
  Files affected:

    src/libstatgrab/page_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/tools.h

2003-03-07  Peter Saunders  <pajs@i-scream.org>

    Made it work with linux :)

    
  Hash: c2c9347cc43f1fc6a767b3e7faa22eaaea278a4c
  Files affected:

    src/libstatgrab/os_info.c

2003-03-07  Peter Saunders  <pajs@i-scream.org>

    Made network stats work with linux.

    
  Hash: 37daf15289de257cbac7387d78633450bdab311c
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2003-03-05  Peter Saunders  <pajs@i-scream.org>

    Updated Memory stats to work with linux.

    
  Hash: 3068e91a69c3216527f0bca7774ac8de2ec56dcd
  Files affected:

    src/libstatgrab/memory_stats.c

2003-03-05  Peter Saunders  <pajs@i-scream.org>

    Linux reports stupid results. Fixed to return real vaules. Side note,
    gkrellm is doing it wrong ;)

    
  Hash: dd466679e976eda0e3b76707b60e4871d51aa251
  Files affected:

    src/libstatgrab/disk_stats.c

2003-03-05  Peter Saunders  <pajs@i-scream.org>

    Working linux diskio stats. Fixed bug in tools.c

    
  Hash: 58b451133bddfe84b54602e21905d78471891aae
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/tools.c

2003-03-04  Peter Saunders  <pajs@i-scream.org>

    Useful tools, currently only one function. Function takes a file pointer
    and will read threw it until it hits a passed string. It will return
    that line.

    
  Hash: 995b00cb8e0fe22e1ee0fd89350d3f6c5e18574d
  Files affected:

    src/libstatgrab/tools.c
    src/libstatgrab/tools.h

2003-03-04  Peter Saunders  <pajs@i-scream.org>

    Diskio stats for linux. Not been checked. Relies on tools.c (seperate
    comit) If someone knows a nicer way of getting the device name, please
    tell me, as the way im doing it is horrible! :)

    
  Hash: e7ec5c8932a20f22ad4859b123bf75210d9fbe31
  Files affected:

    src/libstatgrab/disk_stats.c

2003-03-04  Peter Saunders  <pajs@i-scream.org>

    disk_stats for linux. Does not do diskio stats yet.

    
  Hash: c39139ef8b828e4bbea96979e0c5d67d44e62de4
  Files affected:

    src/libstatgrab/disk_stats.c

2003-03-03  Tim Bishop  <tim@bishnet.net>

    Update version numbers. It seems to make sense to increment version
    numbers just after a release. Then you're working towards the next
    version...

    
  Hash: 39a695a2e54409c17315bb82996c5cf6c0679cc7
  Files affected:

    configure.in

2003-03-03  Peter Saunders  <pajs@i-scream.org>

    Added linux support for cpu stats

    
  Hash: 375144386f274b3746e98c5ee20b170fbaa7f7f8
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/statgrab.h

2003-03-03  Peter Saunders  <pajs@i-scream.org>

    Removed headers that were not used.

    
  Hash: f0577346c6b189552c3bcbbbad7a2956b9f035be
  Files affected:

    src/libstatgrab/cpu_stats.c

2003-03-03  Tim Bishop  <tim@bishnet.net>

    Update NEWS and README files. We now have version 0.2 of libstatgrab!

    
  Hash: 9ecf0aae35004ca6d5a0c2ddfca53d2d30f7513b
  Files affected:

    NEWS
    README

2003-03-03  Peter Saunders  <pajs@i-scream.org>

    Made cpu stats to a type a bit more cross platform :)

    
  Hash: 41551cdae892f5527834e6216203125ae7f16002
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/statgrab.h

2003-03-03  Tim Bishop  <tim@bishnet.net>

    And we have 0.2 :-)

    
  Hash: 0b3b23dc59123368784e88668a795fe6ca88e8e4
  Files affected:

    configure.in

2003-03-02  Peter Saunders  <pajs@i-scream.org>

    Removed debugging statements

    
  Hash: 78218eaa898a30615b8feba1b62a89015888d921
  Files affected:

    src/libstatgrab/user_stats.c

2003-03-01  Peter Saunders  <pajs@i-scream.org>

    Bug fix :

    
  Hash: 2c68891f52c145d7f6ea99269b12b9da31dd1a7d
  Files affected:

    src/libstatgrab/process_stats.c

2003-03-01  Peter Saunders  <pajs@i-scream.org>

    changed user_stats to return something more useful for ihost, and prob
    something more useful to everyone else too. Although, they can't just
    itterate thru it now, they got to find ' ' :)

    
  Hash: bc17be01a255fbdfe6d132cb37db1370b3cde894
  Files affected:

    src/libstatgrab/statgrab.h
    src/libstatgrab/user_stats.c

2003-03-01  Peter Saunders  <pajs@i-scream.org>

    bug fix

    
  Hash: c84116e1acfa6af605d3dfb594d78f84fb611969
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/user_stats.c

2003-03-01  Peter Saunders  <pajs@i-scream.org>

    Bug fix

    
  Hash: 2b80862df1521d271b6fc9f88df8411329e33dd3
  Files affected:

    src/libstatgrab/disk_stats.c

2003-03-01  Peter Saunders  <pajs@i-scream.org>

    Removed debugging printf

    
  Hash: f3584b43bdb7b51cb80d56e93bb9099a93189ea6
  Files affected:

    src/libstatgrab/process_stats.c

2003-02-28  Tim Bishop  <tim@bishnet.net>

    Typo which meant the network stats code wasn't being compiled in to the
    library. Opps :-)

    
  Hash: 48b63afb0799c135e908c2808520d93514afa2c1
  Files affected:

    src/libstatgrab/Makefile.am

2003-02-28  Tim Bishop  <tim@bishnet.net>

    Tidy up of configure script, and includes.

    
  Hash: a6f6e7a70ae67d4a7a4a50ad14ec3f098c489167
  Files affected:

    configure.in
    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/user_stats.c

2003-02-23  Peter Saunders  <pajs@i-scream.org>

    Changed function name changed to be consistent.

    
  Hash: 05b8f8796c4776742bb51a81184b19a6d83967d9
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/statgrab.h

2003-02-23  Peter Saunders  <pajs@i-scream.org>

    Added a diff diskio_stats and fixed a bug. This is the last thing needed
    for the solaris version of the new libstatgrab, bar bug fixes.

    
  Hash: 67b33f8cfcc5c7261418049b4c190d0c7ebef6d3
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/statgrab.h

2003-02-23  Peter Saunders  <pajs@i-scream.org>

    Added support for read/write stats on a per disk basis. This does not
    count metadisks as disks. I will also add io transfer for mounted
    devices, and the ususal diff() function that gives you the differences
    since last time you called it.

    
  Hash: 3b7d3f8fbaaff7d2a639736657b667b1aa5d55bd
  Files affected:

    src/libstatgrab/disk_stats.c
    src/libstatgrab/statgrab.h

2003-02-20  Tim Bishop  <tim@bishnet.net>

    Removed references to ukcprog.h. Fixed a missing * in the disk stats.
    And removed a block of linux stuff that shouldn't have been there :-)
    All with Pete's approval, of course.

    
  Hash: 306cf982e2eaa0bba1d15d11b76fcf4b1f6c1465
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/swap_stats.c
    src/libstatgrab/user_stats.c

2003-02-20  Peter Saunders  <pajs@i-scream.org>

    Header for new function.

    
  Hash: 7db6465bb97b854a7e2eac782c18035dafde850a
  Files affected:

    src/libstatgrab/disk_stats.c

2003-02-19  Tim Bishop  <tim@bishnet.net>

    Created the structure and automake stuff for the source files to be
    moved to a src subdirectory. This will break things until I repo-move
    the actual files, which I don't want to do until Pete is happy :-)

    
  Hash: 5210db6e48a4c6edb6b08e9ead045ac4e9ea86cb
  Files affected:

    Makefile.am
    configure.in
    src/libstatgrab/Makefile.am

2003-02-19  Tim Bishop  <tim@bishnet.net>

    Specified the version number. Not that I really understand them though,
    libtool seems a little confusing ;)

    
  Hash: abc1b601a3cb35a2bbe245cf23a6703bf6f7e257
  Files affected:

    Makefile.am

2003-02-19  Tim Bishop  <tim@bishnet.net>

    We now use libtool to build libstatgrab. This gives us static and shared
    versions of the library, which is nice :) Updated the CVS build
    instructions accordingly.

    
  Hash: 4a8cbb657a698fd411da8cf08566208a835545a5
  Files affected:

    Makefile.am
    README.CVS
    configure.in

2003-02-19  Peter Saunders  <pajs@i-scream.org>

    network stats now returns a diff() style function, to make it easy to
    show the exact average network traffic over a period of time.

    
  Hash: 0dfb06e924fef53b333a843338b93eafec42e60d
  Files affected:

    src/libstatgrab/network_stats.c
    src/libstatgrab/statgrab.h

2003-02-19  Peter Saunders  <pajs@i-scream.org>

    Added get_page_stats_diff() which returns the number of pages in/out etc
    since last time it was called, and the time difference since last time
    it was called. This makes it very easy for a host to know how many pages
    averaged over a period of time.

    
  Hash: 9d0b82033e6a8a934562eb69a85806c0a24da209
  Files affected:

    src/libstatgrab/page_stats.c
    src/libstatgrab/statgrab.h

2003-02-18  Peter Saunders  <pajs@i-scream.org>

    Changed the kstat_close to not return NULL in event of a failure. If we
    cant close it, well there is nothing i can do about that, so i may as
    well at least return something useful since its done all the hardwork by
    that point. And anywan, it should never fail to close :)

    
  Hash: 02c6ced0bb612526b9d76c72f78a7986b2849657
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c

2003-02-18  Peter Saunders  <pajs@i-scream.org>

    Finished page stats. It returns 2 things. One, number of pages swapped
    in and out, 2, the number of pageins and pageouts. As to if this is
    actually correct or not, im not 100% sure, but tests seem to imply it
    is.

    from: http://www.sun.com/sun-on-net/itworld/UIR960901perf.html

            ulong   pgin;           /* pageins                             
    */
           ulong   pgpgin;         /* pages paged in                      
    */
           ulong   pgout;          /* pageouts                            
    */
           ulong   pgpgout;        /* pages paged out                     
    */
           ulong   swapin;         /* swapins                             
    */
           ulong   pgswapin;       /* pages swapped in                    
    */
           ulong   swapout;        /* swapouts

    I am *not* using swapins and swapouts. I did this in the orginal
    libstatgrab, and it didn't work. Looking at it more closely, it always
    seems to have 0 in it, so my guess is its broke. :)

  Hash: 6032ea5dca0e6ec99c5b187c314d2da7c555566f
  Files affected:

    src/libstatgrab/page_stats.c
    src/libstatgrab/statgrab.h

2003-02-18  Tim Bishop  <tim@bishnet.net>

    Autoconf/Automake setup. README.CVS details how to "get started" from a
    CVS checked out copy. Then it's just the usual configure and make, as
    described in the README file.

    
  Hash: 2fe77ba447f0657f8af60240b2b75af382a13d39
  Files affected:

    AUTHORS
    Makefile.am
    NEWS
    README
    README.CVS
    configure.in

2003-02-18  Peter Saunders  <pajs@i-scream.org>

    The new revesion of libstatgrab, which is a complete rewrite
    essentially.

    Firstly the data is now returned in structures rather than xml strings. 
    The structures returned are all static, so what ever calls the library
    doesn't have to deal with the memory management of it.

    Secondly the general efficency of the code is now significantly faster.
    It no longer needs to fork a process, connect file descriptors and run
    ps, and then parse the output like it used to. Now it walks /proc and
    reads it into the correct data structures. This works without needing
    any special privilages, so it can still run as a normal mortal without
    needing any special group. (Freebsd will be an exception to this, but
    this commit only works with solaris, and that requires nothing special)

    Thridly it has more functionality than it used to. It not for instance
    is capable of showing network traffic stats, (although its not
    completely finished yet). It also in the near future be able to disk io
    stats as well. Several bug fixes have been aplied over the original
    version. For example the cpu_stats used to only reply the stats for the
    first processor. This now will report the total stats of all of them.
    Paging stats will also be fixed, but haven't been done yet.

  Hash: 1b1f8a82d406263f3e4eb4ee5e0e918b4efcd25b
  Files affected:

    src/libstatgrab/cpu_stats.c
    src/libstatgrab/disk_stats.c
    src/libstatgrab/load_stats.c
    src/libstatgrab/memory_stats.c
    src/libstatgrab/network_stats.c
    src/libstatgrab/os_info.c
    src/libstatgrab/page_stats.c
    src/libstatgrab/process_stats.c
    src/libstatgrab/statgrab.h
    src/libstatgrab/swap_stats.c
    src/libstatgrab/user_stats.c