Commit Graph

20 Commits

Author SHA1 Message Date
Andreas Gocht-Zech
9d8c92356c fix 2023-08-20 22:28:43 +02:00
Andreas Gocht-Zech
668ae29c0a add reporting of changes since last request 2023-08-20 22:07:43 +02:00
Matheus Rambo
c55a10bf26 fix: Wrong definition of "pidsToWatch" #230 2023-03-22 10:00:52 -03:00
Arnout Engelen
d30c5226a0 Format source code
It appears we have failed to run `make format` in the last few
commits. Doing it now. We should really add it to CI
2023-01-09 12:39:07 +01:00
Vladimir Panteleev
92fb73116a Replace ConnList linked list with multiset
Keeping a sorted multi-set allows faster search by source /
source+destination address.

Fixes O(n^2) complexity when handling a lot of connections (now it's
O(n log n)).
2022-03-23 17:28:09 +00:00
jimmylomro
257b576221 add python bindings 2022-03-15 21:35:11 +00:00
Matheus Rambo
cabc2a1ea3 feat: Filter by process #217
It is possible to filter by process id!
Add the -P <pid> flag.
Example: `nethogs -P 123 -P 333` to filter the processes: 123 and 333
2022-02-28 21:00:11 -03:00
Kondo Takeo
0a54596bc6 Issue: #96 - Garbage collect inodeproc on each ui refresh. 2021-02-16 22:42:47 +09:00
Kondo Takeo
18629a3b33 Issue: #62 - Treat unlisted traffic as 'unknown UDP/TCP' 2021-02-04 23:43:29 +09:00
Kondo Takeo
e024d3eb33 Issue: #62 - UDP support 2021-02-04 00:31:40 +09:00
Andreas Wieland
2cd523868d run make format with clang-format:
* reformats the repo as adviced in the readme
2019-06-12 15:00:40 +02:00
Peter M. Petrakis
677baffe6a Add MB/s and GB/s view modes
- Refactored units presentation into a lookup table
- Other minor refactoring
- Updated man page
- Cleaned up trailing white space in the vicinity
2018-12-03 13:55:54 -05:00
PAVAN
9baa4aaf34 unknown udp added... 2018-05-15 21:34:29 +05:30
Jason Antman
2a2ce7c909 fixes #29 - change all sent/recv counters from int32 to int64 to prevent wraparound 2017-08-27 10:46:21 -04:00
Jason Antman
226ec6ccdb issue #130 - have Process::gettotal include closed connections removed from ConnList 2017-08-26 09:56:43 -04:00
anomen
5e2c35700b Add -l option to show full command line (fixes #23) 2016-12-05 08:23:50 +01:00
Hajimu UMEMOTO
a359d1bbd4 Support for FreeBSD 2016-05-16 14:46:39 +09:00
Arnout Engelen
3facf4f34b Don't time out processes in a cumulative view (fixes #39) 2016-04-14 20:00:30 +02:00
Arnout Engelen
c73b8cd065 Remove some dead code 2016-03-27 23:24:12 +02:00
Arnout Engelen
e7a74b00fb Move sources to 'src' directory 2016-03-27 23:14:33 +02:00