Summary: net top Summary(pl): Sieciowy top Name: nethogs Version: 0.4 Release: 2 License: GPL Group: Networking Source0: http://nethogs.bzzt.net/source/%{name}-%{version}.tar.gz # Source0-md5: 71de460887fa6c3b9c6d5cfb8942f875 URL: http://nethogs.bzzt.net/ BuildRequires: libpcap-devel BuildRequires: libstdc++-devel BuildRequires: ncurses-devel BuildRequires: perl-base BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. %description -l pl NetHogs to małe narzędzie sieciowe w stylu programu top. Zamiast rozbijania ruchu na protokoły lub podsieci, jak robi większość narzędzi, grupuje pasmo według procesów - i nie polega przy tym na specjalnym module jądra. Jeśli nagle jest duży ruch w sieci, można uruchomić NetHogs i od razu zobaczyć, który PID to powoduje i ewentualnie go zabić. %prep %setup -q %build %{__make} \ GCC="%{__cxx}" \ CFLAGS="%{rpmcflags} -I/usr/include/ncurses" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} install %{name} $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/*