Commit Graph

24 Commits

Author SHA1 Message Date
Kondo Takeo
b97fb4cfdf Issue: #96 - Garbage collect inodeproc once every 50 ui refresh as default.
- Reduce default frequency to avoid performance issue.
- The frequency of it can be modified with `-g` option
  and can be disabled with `-g 0`.
2021-02-17 23:02:27 +09:00
Kondo Takeo
0a54596bc6 Issue: #96 - Garbage collect inodeproc on each ui refresh. 2021-02-16 22:42:47 +09:00
Kondo Takeo
a4d2e550cb Fix typo in help message. 2021-02-05 22:39:01 +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
b32ae097ce unknown udp added... 2018-05-18 20:22:44 +05:30
PAVAN
2a1e068dee added unknown udp.... 2018-05-18 19:45:07 +05:30
PAVAN
9baa4aaf34 unknown udp added... 2018-05-15 21:34:29 +05:30
Jason Antman
76ced1b8d8 issue #119 - add warnings about capture filter being experimental 2017-08-27 10:37:13 -04:00
Jason Antman
7f02b84ced fixes #119 - add support for pcap capture filters 2017-08-27 09:07:44 -04:00
anomen
b27fb233e4 fix compiler warning - type of refreshdelay 2017-01-01 21:24:42 +01:00
Arnout Engelen
ff82eebb6b Merge pull request #108 from anomen-s/issue-23-r
Add -l option to show full command line (fixes #23)
2017-01-01 21:20:18 +01:00
Arnout Engelen
cfc83336c9 Merge pull request #106 from anomen-s/doc-for-a-option
fix docs of -a option
2016-12-13 15:39:25 +01:00
anomen
5e2c35700b Add -l option to show full command line (fixes #23) 2016-12-05 08:23:50 +01:00
anomen
276d648c33 fix docs of -a option 2016-11-21 21:42:07 +01:00
Arnout Engelen
5400ed3af1 Better error message when dispatching fails
In #104 an error while dispatching is logged, but gives insufficient context
to explain the problem.
2016-11-19 21:00:47 +01:00
Arnout Engelen
8e9de7a17d Remove confusing 'waiting for first packet' message
Users are unlikely to run into this problem anymore, and
might get confused when seeing this message when there's
actually nothing wrong.
2016-11-12 18:29:41 +01:00
rain1
30f1072946 * src/main.cpp: Bug fix - nul terminate the result of readlink after checking for failure. 2016-04-18 18:34:08 +01:00
rain1
b6a595ae00 * src/main.cpp: Made cap test conditional on __linux__. Improved the error message.
* src/nethogs.cpp: Reduced the scope of the includes moving them out of this file.
* src/nethogs.h: Removed NEEDROOT variable.
2016-04-18 18:04:37 +01:00
rain1
b2f008c568 * src/nethogs.h: Undo accidental commit.
* src/main.cpp: Properly commit this change.
2016-04-14 12:41:34 +00:00
rain1
a5fbdc1910 * src/main.cpp: Make the capability imports conditional.
* src/nethogs.cpp: Make the capability check conditional. Bug fix in the != test.
2016-04-14 12:15:48 +00:00
rain1
c0dd0e2e0c * src/main.cpp: Bug fix, misnamed a variable. 2016-04-14 12:02:04 +00:00
rain1
43c98c68be * src/main.cpp: Include header files for capabilities and attrs.
* src/nethogs.cpp: Add code to read and parse file attrs, and check for the required capabilities in the non-root case.
2016-04-14 11:49:55 +00:00
Arnout Engelen
e7a74b00fb Move sources to 'src' directory 2016-03-27 23:14:33 +02:00