1998-11-22 Martin Baulig <baulig@merkur.uni-trier.de> * netload.c (glibtop_get_netload_s): Added implementation for this function. The code here is smart enough to use /proc/net/ip_acct if IP accounting is enabled in the kernel and activated on the requested device and /proc/net/dev if not. To get separate statistics for received and transmitted packets you need to use two accounting rules: ipfwadm -A in -a -P all -W eth0 ipfwadm -A out -a -P all -W eth0 But before you activate IP accounting, please have a look at /proc/net/dev - if if already contains byte counters, then don't use IP accounting.
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
1998-11-22 Martin Baulig <baulig@merkur.uni-trier.de>
|
|
|
|
* netload.c (glibtop_get_netload_s): Added implementation
|
|
for this function.
|
|
|
|
The code here is smart enough to use /proc/net/ip_acct if
|
|
IP accounting is enabled in the kernel and activated on the
|
|
requested device and /proc/net/dev if not.
|
|
|
|
To get separate statistics for received and transmitted
|
|
packets you need to use two accounting rules:
|
|
|
|
ipfwadm -A in -a -P all -W eth0
|
|
ipfwadm -A out -a -P all -W eth0
|
|
|
|
But before you activate IP accounting, please have a look
|
|
at /proc/net/dev - if if already contains byte counters,
|
|
then don't use IP accounting.
|
|
|
|
1998-10-28 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* ppp.c: Added code for ISDN here.
|
|
|
|
1998-10-26 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* netload.c: New file. Currently empty.
|
|
|
|
1998-10-26 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* procargs.c: New file. Currently empty.
|
|
|
|
1998-10-25 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* ppp.c: New file. Currently empty.
|
|
|
|
1998-10-11 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* procdata.c: Removed this obsolete file.
|
|
|
|
1998-10-02 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* proclist.c (glibtop_init_proclist_s): You can now also use the
|
|
`GLIBTOP_EXCLUDE_*' flags for the `which' parameter.
|
|
|
|
1998-10-01 Martin Baulig <baulig@Stud.Informatik.uni-trier.de>
|
|
|
|
* proclist.c (glibtop_init_proclist_s): Honor the `which' parameter
|
|
to select which processes to fetch.
|
|
|
|
1998-09-12 Martin Baulig <martin@home-of-linux.org>
|
|
|
|
* sysinfo.c: New file.
|
|
|
|
1998-09-09 Martin Baulig <baulig@Stud.Informatik.uni-trier.de>
|
|
|
|
* proctime.c (glibtop_get_proc_time_s): Added SMP support.
|
|
|
|
* open.c (glibtop_init_s): Initialize `ncpu' on SMP systems.
|
|
|
|
* cpu.c (glibtop_get_cpu_s): Added SMP support.
|
|
|
|
* ChangeLog: New file.
|
|
|