Skip site navigation (1)Skip section navigation (2)

CVS log for ports/net-mgmt/net-snmp/files/Attic/patch-vmstat_freebsd2.c

[BACK] Up to [FreeBSD] / ports / net-mgmt / net-snmp / files

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4
Wed May 14 08:37:38 2008 UTC (3 years, 8 months ago) by sobomax
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.3: +0 -0 lines
Improve upon previous patch (fix to use sysctls instead of KVM to
retrieve CPU stats). Use the newer BSD sysctl code already available in
the 5.4.x instead of re-enabling the obsolete code from the previous
release.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:33:53 2008 UTC (3 years, 9 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +22 -14 lines
o Fix regression in 5.4.1 - the custom FreeBSD vmstat code is not compiled
in making number of popular OIDs unavailable.

o Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problem
is that the cp_time symbol is no longer avaliable in the nevest kernels.
Use kern.cp_time sysctl which has been around for 8 years or so, so that
it should be present virtually in every FreeBSD version that is able
to use modern ports tree (4.x and upper). Sysctl is also better from the
security standpoint, as you don't need elevated privileges to get the data.
One should probably look at converting few others uses of KVM here, but
ENOTIME from me. The patch has been submitted to the vendor.

Sponsored by:	Sippy Software, Inc., http://www.sippysoft.com
Approved by:	MAINTAINER

Revision 1.2
Wed Aug 11 02:31:33 2004 UTC (7 years, 6 months ago) by kuriyama
Branches: MAIN
FILE REMOVED
Changes since revision 1.1: +0 -0 lines
- Upgrade to 5.1.2.

Numerous patches are integrated into this release.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Feb 19 23:20:08 2003 UTC (8 years, 11 months ago) by kuriyama
Branches: MAIN
CVS tags: old_RELEASE_5_2_1, old_RELEASE_5_2_0, old_RELEASE_5_1_0, old_RELEASE_4_9_0, old_RELEASE_4_8_0, RELEASE_4_10_0
Unbreak after __FreeBSD_version >= 500101.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options