Mohamed Boussaffa
5e28001c70
added library build mode
2016-03-03 21:34:25 +08:00
Corbin Hughes
7c19942be9
Aligned totals columns and cleaned up comments
2016-03-01 21:50:20 -06:00
Corbin Hughes
9eb98e0507
Truncate user names when necessary ( fixes #28 ) and fix alignment of sent/received fields
2016-03-01 00:15:38 -06:00
Arnout Engelen
e6df508fbf
Be more resilient about non-existing uid's ( fixes #18 )
2016-01-11 17:25:22 +01:00
Arnout Engelen
a0fefea972
Also correctly display PID's up to 7 characters
...
Thanks to Martijn Dekker
2014-05-05 21:57:11 +02:00
Arnout Engelen
cf7c07847b
Split accumulation, trace-presentation and ncurses-presentation more neatly
...
Still more work to be done there :)
2013-05-12 14:42:02 +00:00
Arnout Engelen
31b254e719
Use C++-style headers where available
2013-05-12 12:34:29 +00:00
Arnout Engelen
78bcecd109
errno is an integer, not a pointer.
2013-05-12 12:23:16 +00:00
Arnout Engelen
7305a07579
Merge patch by muszo
2013-05-12 12:13:55 +00:00
Arnout Engelen
ac7bb5c315
take into account the terminal height when printing the 'total' row
2012-03-15 23:01:12 +00:00
Arnout Engelen
4e9d29f923
allow large values for 'pid'
2012-03-15 22:45:16 +00:00
Arnout Engelen
4ff973bbd7
make a 'runtests' make target that runs some 'unit test'-like tests. Fix crash when uid's without a password entry are encountered, return the uid as a string instead.
2012-03-15 22:31:28 +00:00
Arnout Engelen
2c04ca9267
Use negative return values on errors
2012-03-15 20:53:25 +00:00
Arnout Engelen
d7476faae1
Add proper license header and COPYING file with the GPLv2 text
2011-08-28 17:22:52 +00:00
Arnout Engelen
07f7c38f00
Show '?' as PID when the PID could not be determined, instead of '0'.
...
https://answers.launchpad.net/ubuntu/+source/nethogs/+question/113880
2011-08-27 13:26:52 +00:00
Arnout Engelen
a50b249438
support wider terminals (thanks to Shock at https://bugs.launchpad.net/ubuntu/+source/nethogs/+bug/627626 )
2010-08-31 21:17:16 +00:00
Arnout Engelen
3d6ac8bdd3
remove ROBUST, this is taken care of by NDEBUG (thanks to Petr Uzel)
2008-12-31 15:52:26 +00:00
Arnout Engelen
8b7a51c57d
do not free 'getpwuid' result (thanks to Petr Uzel)
2008-12-31 15:44:32 +00:00
Arnout Engelen
cddd1d2e6c
eclipse .project and eclipse CDT .cproject files
2008-12-31 15:25:57 +00:00
Arnout Engelen
7b54891553
remove some unneccessary checks - thanks to Petr Uzel
2008-12-06 11:36:03 +00:00
Arnout Engelen
76afed26b7
bugtracking mode, performance improvement by earlier caching of inode2pid data
2008-06-24 20:01:10 +00:00
Arnout Engelen
eca73fa735
gcc 4.3 compatibility (due to Leslie P. Polzer - skypher)
2008-06-10 21:47:30 +00:00
Arnout Engelen
384581c9a9
Some fixes thanks to Bart Mertens (nethogs Debian maintainer)
2008-06-08 21:24:30 +00:00
Arnout Engelen
b8cbc9b6f5
some small changes to get nethogs into a more releaseable state again
2008-06-08 20:49:49 +00:00
Arnout Engelen
c0e6a385e4
sums, not eating 100% cpu :)
2006-12-19 20:35:33 +00:00
Arnout Engelen
501954c7c1
preliminary support for cumulative measurements
2006-11-04 18:56:08 +00:00
Arnout Engelen
e90b0906e7
removed some old files, small updates
2005-08-27 14:52:22 +00:00
Arnout Engelen
4182fc0b17
* when a packet's owner cannot be found (for example if it has already disappeared,
...
which can happen with for example small fast HTTP requests), show the source and
destination ports and ip's
* support UDP packets (which never have owners)
* nicely truncate oversized program names
2005-08-27 11:49:16 +00:00
Arnout Engelen
c66bc829ea
varia. now correctly sniffs in non-blocking mode (essential for multi-interface
...
sniffing), while requires at least libpcap 0.8
2005-04-03 09:31:26 +00:00
Arnout Engelen
a142648f45
Fixed memory leaks
2005-01-15 15:03:20 +00:00
Arnout Engelen
4a3a21a5df
* Use std::map instead of hand-written hashtable
...
* Use handwritten inode-to-process-mapping instead of the
one taken from netstat
* Use a #define for using assertions
2005-01-15 12:28:35 +00:00
Arnout Engelen
498a3df635
console interface files
2004-09-17 19:23:20 +00:00