Summary: Top-like monitor for network traffic Name: nethogs Version: 0.6.1 Release: %mkrel 0.cvs20050321.6 Source: http://osdn.dl.sourceforge.net/sourceforge/nethogs/%{name}-%{version}.tar.bz2 URL: http://nethogs.sourceforge.net Group: Monitoring License: GPL BuildRoot: %{_tmppath}/build-%{_name}-%{_version} BuildRequires: ncurses-devel BuildRequires: libpcap-devel %description NetHogs is a small "net top" tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups bandwidth by process and does not rely on a special kernel module to be loaded. So if there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this, and if it's some kind of spinning process, kill it. Features: - shows TCP download- and upload-speed per process - supports both IPv4 and IPv6 - supports both Ethernet and PPP %prep %setup -q -n "nethogs" %build %make %install %{__rm} -rf "${RPM_BUILD_ROOT}" %{__mkdir_p} "${RPM_BUILD_ROOT}%{_sbindir}" %{__install} -m 0755 -s nethogs "${RPM_BUILD_ROOT}%{_sbindir}/" %{__mkdir_p} "${RPM_BUILD_ROOT}%{_mandir}/man8" %{__install} -m 0644 nethogs.8 "${RPM_BUILD_ROOT}%{_mandir}/man8/" %clean %{__rm} -rf "${RPM_BUILD_ROOT}" %files %defattr(-,root,root) %doc Changelog DESIGN README %{_sbindir}/nethogs %{_mandir}/man*/* %changelog * Wed Aug 09 2006 glehmann + 08/09/06 20:00:20 (55100) rebuild * Sun Jul 30 2006 glehmann + 07/30/06 10:26:06 (42698) Import nethogs * Tue May 09 2006 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 0.6.1-0.cvs20050321.5mdk - fix readline BuildRequires * Tue Apr 18 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.1-0.cvs20050321.4mdk - Fix BuildRequires * Thu Jul 28 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.1-0.cvs20050321.3mdk - Fix BuildRequires * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 0.6.1-0.cvs20050321.2mdk - rebuilt against new libpcap-0.9.1 (aka. a "play safe" rebuild) * Mon Mar 21 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 0.6.1-0.cvs20050321.1mdk - mandrake contrib * Fri Sep 17 2004 Pascal Bleser <guru@unixtech.be> - version 0.6.0 * Sat Jun 12 2004 Pascal Bleser <guru@unixtech.be> - new package