Репозиторий Sisyphus
Последнее обновление: 4 июня 2020 | Пакетов: 17570 | Посещений: 18694359
en ru br
Репозитории ALT
5.1: 0.7.0-alt1

Группа :: Мониторинг
Пакет: nethogs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: nethogs
Version: 0.8.5
Release: alt1

Summary: net top
License: GPL
Group: Monitoring

Url: https://github.com/raboof/nethogs
Source0: %name-%version.tar
Source1: nethogs.control
#Patch2: nethogs-0.8.0-alt-pid32.patch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Tue Apr 07 2009

BuildRequires: gcc-c++ libncurses-devel libpcap-devel
BuildRequires: /proc

Summary(pl.UTF-8): Sieciowy top

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.UTF-8
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д┤.

%setup -n %name-%version
#%patch2 -p1

%make PREFIX=%_usr GCC="g++" CFLAGS="%optflags -I%_includedir/ncurses"

install -pDm755 src/%name %buildroot%_sbindir/%name
install -pDm644 doc/%name.8 %buildroot%_man8dir/%name.8
install -pDm755 %SOURCE1 %buildroot%_controldir/%name

%_sbindir/groupadd -r -f netadmin >/dev/null 2>&1
%pre_control %name

%post_control -s netadmin %name

%doc Changelog README.md
%config %_controldir/%name


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin