Commit Graph

283 Commits

Author SHA1 Message Date
anomen
2d829675a8 cleanup 2017-01-01 20:49:38 +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
bb6c75ccd7 Merge branch 'master' of github.com:raboof/nethogs 2016-11-12 18:30:48 +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
Arnout Engelen
fd17a3a21b Merge pull request #100 from samalba/patch-1
Update Readme.md
2016-10-09 23:23:38 -07:00
Sam Alba
e9636274ce Update Readme.md
Changed debian install instructions to use checkinstall...
2016-10-09 18:14:30 -07:00
Arnout Engelen
2cc4463b45 Merge pull request #97 from sectioneight/update-readme
Update readme to point to correct binary location
2016-10-09 03:06:17 -07:00
Arnout Engelen
4ae096c286 Merge pull request #98 from richlv/patch-1
improve manpage consistency
2016-10-09 03:05:19 -07:00
Richlv
899b9b55e6 improve manpage consistency
* be consistent about the trailing dot usage and capitalisation
* use the same verb tense
2016-10-09 10:48:10 +03:00
Aiden Scandella
54be8adb0e Update readme to point to correct binary location
After running `make`, I got a `nethogs` binary in the `src/` directory, not in
the root. I think that's intended since `make install` works fine, but the docs
for running before installing are wrong.
2016-10-08 22:36:44 -07:00
Arnout Engelen
316eea5e9b Remove dead 'BusyTasks' link (fixes #95) 2016-07-31 16:30:51 +02:00
Arnout Engelen
3a38086682 By default don't build libnethogs (but document how to do it) 2016-07-12 23:34:31 +02:00
Arnout Engelen
57b668b478 Fix final comment 2016-07-12 18:04:41 +02:00
Arnout Engelen
49c9b93e80 Integrate release procedure in Makefile 2016-07-12 17:59:38 +02:00
Arnout Engelen
9defe58674 Determine version based on git tag or pwd (fixes #92) 2016-07-12 08:16:02 +02:00
Arnout Engelen
a1efe5b023 Add some notes on how to release
it'd be nice to make this even simpler :)
2016-07-11 22:07:50 +02:00
Arnout Engelen
777aa392d8 Next version is 0.8.3 2016-06-26 18:21:59 +02:00
Arnout Engelen
ba1c0c1825 Releasing 0.8.2 2016-06-26 18:14:19 +02:00
Arnout Engelen
a884d3630a Merge pull request #90 from chrisjunlee/master
Fixes screen flickering on urxvt.
2016-06-26 18:00:17 +02:00
Chris
4fbecbe54c Fixes screen flickering on urxvt.
Erase() is ncurses optimal for screen refresh. Clear() blanks the
entire screen first, which produces a flickering output on urxvt.
2016-06-19 01:58:46 -07:00
Arnout Engelen
ef39290e11 Document building on FreeBSD via vagrant 2016-05-16 20:29:50 +02:00
Arnout Engelen
28e25a15d8 Merge pull request #87 from h-ume/freebsd
Support for FreeBSD
2016-05-16 20:29:25 +02:00
Hajimu UMEMOTO
1efacaae3c The location of manpages is not /usr/local/share/man
but /usr/local/man on FreeBSD.
2016-05-17 02:10:31 +09:00
Hajimu UMEMOTO
d5ac7db5a7 Fix condition 2016-05-16 15:10:58 +09:00
Hajimu UMEMOTO
a359d1bbd4 Support for FreeBSD 2016-05-16 14:46:39 +09:00
Arnout Engelen
3a35dee94f Merge pull request #78 from jwilk/spelling
Fix typos
2016-05-01 11:11:22 +02:00
Jakub Wilk
0518642c03 Fix typos 2016-04-30 23:04:56 +02:00
Arnout Engelen
9d692b101a Merge pull request #72 from rain-1/master
Detect capabilities when NEEDROOT=0
2016-04-21 19:57:19 +02:00
Arnout Engelen
a8e4a8d255 Merge pull request #76 from fidergo-stephane-gourichon/master
Fix broken link (had ill-formed markup).
2016-04-21 12:12:21 +02:00
Stéphane Gourichon
b141994fe5 Fix broken link (had ill-formed markup). 2016-04-21 12:04:27 +02: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
Arnout Engelen
ab21b3ce74 Merge pull request #74 from akshayKMR/patch-1
add bandwidth monitor using nethogs as backend to the list
2016-04-16 18:09:50 +02:00
Akshay Kumar
b1fdcd9da4 Update README.md 2016-04-16 21:04:15 +05:30
Arnout Engelen
9f495ebd7c Merge pull request #73 from raboof/dontRemoveProcessesWhenViewingCumulativelyMerged
Don't time out processes in a cumulative view (fixes #39)
2016-04-14 20:16:56 +02:00
Arnout Engelen
3facf4f34b Don't time out processes in a cumulative view (fixes #39) 2016-04-14 20:00:30 +02: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
2ab1306246 * src/nethogs.h: Including files for PATH_MAX and readlink.
* src/nethogs.cpp: Bug fix - make capability detection work correctly when invoking a program in PATH rather than only when invoked explicitly like ./src/nethogs.
2016-04-14 12:31:13 +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
ef74014094 Include stdio.h in packet.cpp (fixes #70)
I guess we want to think about handling output consistently anyway (iostream vs
printf, what to do when we're in library mode), but that's for later.
2016-04-14 09:07:27 +02:00
Arnout Engelen
d9ade498e8 Merge pull request #68 from raboof/fix-stack-buffer-overflow
Fix stack buffer overflow
2016-03-31 08:01:33 +02:00
Arnout Engelen
db2da627df Don't redefine TH_FLAGS
Fixes compiler warning:

packet.cpp:127:9: warning: 'TH_FLAGS' macro redefined
        ^
/usr/include/netinet/tcp.h:103:9: note: previous definition is here
2016-03-31 07:56:09 +02:00
Arnout Engelen
07bd32e878 Add -Wno-missing-field-initializers to build
to suppress spurious warning
2016-03-31 07:51:46 +02:00
Wang Xin-yu (王昕宇)
17c51c6a86 fix stack buffer overflow when convert between in6_addr 2016-03-30 16:01:30 +08:00
Arnout Engelen
a2329643f6 Update build system to find manpage again (fixes #67) 2016-03-30 07:46:18 +02:00
Arnout Engelen
eb17ecb504 Extend README
add upgrading, uninstalling, etc. #65
2016-03-30 07:34:20 +02:00
Arnout Engelen
8b245e1be0 Fix packet matching for packets with IPv6 addresses 2016-03-28 00:30:53 +02:00