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
Elie Huvier
a9258d10f4
Additional capabilities required
...
Specify additional capabilities in main.cpp (error message and comment),
and in man page.
2022-07-10 05:26:51 +08: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
Matheus Rambo
b94cd9f227
feat: Add basename support
...
Now, the user can decide to show only the program name, instead of the
full program path. It is useful, when you have a very long hierarchy of
directories, which, with the full path name, the user might not see the
program name.
2021-12-22 10:01:00 -03:00
Matheus Rambo
82a30bb644
refactor: Change bughunt mode to 'x'
2021-12-22 09:58:45 -03:00
Naïm Favier
afb5759cc3
Disable capability check, handle failure better
...
Fixes #214
2021-12-02 14:04:08 +01:00
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