Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
nethogs
nethogs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nethogs.spec of Package nethogs
# vim: set sw=4 ts=4 et nu: # # spec file for package nethogs # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: nethogs Version: 0.8.0 Release: 0 Summary: Network Bandwidth Usage Monitor License: GPL-2.0+ Group: Productivity/Networking/Diagnostic Url: http://nethogs.sourceforge.net/ Source: nethogs-%{version}.tar.bz2 BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: libpcap-devel BuildRequires: make BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth. %prep %setup -q -n nethogs %build make %{?_smp_flags} \ sbin="%{_sbindir}" \ bin="%{_sbindir}" \ man8="%{_mandir}/man8" \ CFLAGS="%{optflags}" \ CXX="g++" \ nethogs %install make %{?_smp_flags} \ sbin="%{buildroot}%{_sbindir}" \ bin="%{buildroot}%{_sbindir}" \ man8="%{buildroot}%{_mandir}/man8" \ CFLAGS="%{optflags}" \ CXX="g++" \ install %clean %{?buildroot:rm -rf %{buildroot}} %files %defattr(-,root,root) %doc README DESIGN %{_sbindir}/nethogs %doc %{_mandir}/man8/nethogs.8* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor