devstat.3 (115225) | devstat.3 (119893) |
---|---|
1.\" 2.\" Copyright (c) 1998, 1999, 2001 Kenneth D. Merry. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" | 1.\" 2.\" Copyright (c) 1998, 1999, 2001 Kenneth D. Merry. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" |
28.\" $FreeBSD: head/lib/libdevstat/devstat.3 115225 2003-05-22 13:02:28Z ru $ | 28.\" $FreeBSD: head/lib/libdevstat/devstat.3 119893 2003-09-08 19:57:22Z ru $ |
29.\" 30.Dd July 15, 2001 31.Dt DEVSTAT 3 32.Os 33.Sh NAME 34.Nm devstat , 35.Nm devstat_getnumdevs , 36.Nm devstat_getgeneration , --- 115 unchanged lines hidden (view full) --- 152.Pp 153.Fn devstat_getdevs 154fetches the current list of devices and statistics into the supplied 155.Va statinfo 156structure. 157The 158.Va statinfo 159structure can be found in | 29.\" 30.Dd July 15, 2001 31.Dt DEVSTAT 3 32.Os 33.Sh NAME 34.Nm devstat , 35.Nm devstat_getnumdevs , 36.Nm devstat_getgeneration , --- 115 unchanged lines hidden (view full) --- 152.Pp 153.Fn devstat_getdevs 154fetches the current list of devices and statistics into the supplied 155.Va statinfo 156structure. 157The 158.Va statinfo 159structure can be found in |
160.Aq Pa devstat.h : | 160.In devstat.h : |
161.Bd -literal -offset indent 162struct statinfo { 163 long cp_time[CPUSTATES]; 164 long tk_nin; 165 long tk_nout; 166 struct devinfo *dinfo; 167 long double snap_time; 168}; --- 554 unchanged lines hidden --- | 161.Bd -literal -offset indent 162struct statinfo { 163 long cp_time[CPUSTATES]; 164 long tk_nin; 165 long tk_nout; 166 struct devinfo *dinfo; 167 long double snap_time; 168}; --- 554 unchanged lines hidden --- |