Compare commits
10 Commits
198bfe0fa2
...
af13bdf2a3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af13bdf2a3 | ||
|
|
e252400833 | ||
|
|
f2b822dc3c | ||
|
|
3fe56a576f | ||
|
|
01b6f01cfd | ||
|
|
740755dc0a | ||
|
|
b55ac020a8 | ||
|
|
8663f4a009 | ||
|
|
d02b2f3f2d | ||
|
|
2bcd1160d8 |
BIN
nethogs-0.8.7.tar.gz
Normal file
BIN
nethogs-0.8.7.tar.gz
Normal file
Binary file not shown.
51
nethogs.spec
Normal file
51
nethogs.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: nethogs
|
||||
Version: 0.8.7
|
||||
Release: 1
|
||||
Summary: Nethogs is a small 'net top' tool
|
||||
License: GPLv2+
|
||||
URL: https://github.com/raboof/nethogs/
|
||||
Source0: https://github.com/raboof/nethogs/archive/v%{version}/nethogs-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++ libpcap-devel ncurses-devel
|
||||
|
||||
%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 identify programs that have gone wild and are su
|
||||
ddenly taking up your bandwidth.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||
export CXXFLAGS="${CXXFLAGS} -fPIE -pie"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
%make_build test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md INSTALL DESIGN
|
||||
%{_sbindir}/../local/sbin/nethogs
|
||||
%{_mandir}/../../local/share/man/man8/nethogs.8*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 14 2023 yaoxin <yao_xin001@hoperun.com> - 0.8.7-1
|
||||
- Update to 0.8.7
|
||||
|
||||
* Mon Aug 28 2023 liyanan <thistleslyn@163.com> - 0.8.6-4
|
||||
- Fix issues with Werror format security
|
||||
|
||||
* Mon Jun 05 2023 chenchen <chen_aka_jan@163.com> - 0.8.6-3
|
||||
- add PIE compiler options
|
||||
|
||||
* Tue Aug 23 2022 wulei <wulei80@h-partners.com> 0.8.6-2
|
||||
- Fix binary /usr/local/sbin/nethogs not striped problem
|
||||
|
||||
* Wed Nov 4 2020 zengwefeng<zwfeng@huawei.com> - 0.8.6-1
|
||||
- Package init
|
||||
5
nethogs.yaml
Normal file
5
nethogs.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
version_control: github
|
||||
src_repo: raboof/nethogs
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user