--- projects/pystatgrab/_statgrab.pyx 2004/02/13 17:53:15 1.7 +++ projects/pystatgrab/_statgrab.pyx 2004/02/14 18:07:30 1.8 @@ -17,7 +17,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# $Id: _statgrab.pyx,v 1.7 2004/02/13 17:53:15 tdb Exp $ +# $Id: _statgrab.pyx,v 1.8 2004/02/14 18:07:30 tdb Exp $ # ctypedef long time_t @@ -109,6 +109,7 @@ cdef extern from "statgrab.h": char *interface_name int speed statgrab_duplex dup + int up ctypedef struct page_stat_t: long long pages_pagein @@ -392,6 +393,7 @@ def py_get_network_iface_stats(): {'interface_name': s.interface_name, 'speed': s.speed, 'dup': s.dup, + 'up' : s.up, } )) s = s + 1