mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-10-08 23:22:21 +02:00
* feat(iftop): add iftop-scanning this is not even an MVP, but I would like it to exist to allow per client json aggregation also, a future use is a stream response * fix typos and test first regex * add more iftop fun * Update iftop.py * add tests and json Signed-off-by: Ron Green <11993626+georgettica@users.noreply.github.com> * feat: make work and add tests Signed-off-by: Ron Green <11993626+georgettica@users.noreply.github.com> * add completion * change schema for query looping * fix: tests * fix review comments * feat: add byte parsing * add no-port to options * remove completion and format dep Signed-off-by: Ron Green <11993626+georgettica@users.noreply.github.com> * Update setup.py * Update iftop.py --------- Signed-off-by: Ron Green <11993626+georgettica@users.noreply.github.com> Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
48 lines
3.8 KiB
Plaintext
48 lines
3.8 KiB
Plaintext
interface: enp0s3
|
|
IP address is: 10.10.15.129
|
|
MAC address is: 08:00:27:c0:4a:4f
|
|
Listening on enp0s3
|
|
# Host name (port/service if enabled) last 2s last 10s last 40s cumulative
|
|
--------------------------------------------------------------------------------------------
|
|
1 ubuntu-2004-clean-01:33222 => 4.72Kb 4.72Kb 4.72Kb 1.18KB
|
|
10.10.15.72:https <= 1.99Mb 1.99Mb 1.99Mb 508KB
|
|
2 ubuntu-2004-clean-01:https => 1.98Mb 1.98Mb 1.98Mb 507KB
|
|
10.10.15.73:34562 <= 3.17Kb 3.17Kb 3.17Kb 811B
|
|
--------------------------------------------------------------------------------------------
|
|
Total send rate: 23.2Mb 23.2Mb 23.2Mb
|
|
Total receive rate: 5.65Mb 5.65Mb 5.65Mb
|
|
Total send and receive rate: 28.8Mb 28.8Mb 28.8Mb
|
|
--------------------------------------------------------------------------------------------
|
|
Peak rate (sent/received/total): 23.2Mb 5.65Mb 28.8Mb
|
|
Cumulative (sent/received/total): 5.79MB 1.41MB 7.20MB
|
|
============================================================================================
|
|
|
|
# Host name (port/service if enabled) last 2s last 10s last 40s cumulative
|
|
--------------------------------------------------------------------------------------------
|
|
1 ubuntu-2004-clean-01:33222 => 4.72Kb 4.72Kb 4.72Kb 1.18KB
|
|
10.10.15.72:https <= 1.99Mb 1.99Mb 1.99Mb 508KB
|
|
2 ubuntu-2004-clean-01:https => 1.98Mb 1.98Mb 1.98Mb 507KB
|
|
10.10.15.73:34562 <= 3.17Kb 3.17Kb 3.17Kb 811B
|
|
--------------------------------------------------------------------------------------------
|
|
Total send rate: 23.2Mb 23.2Mb 23.2Mb
|
|
Total receive rate: 5.65Mb 5.65Mb 5.65Mb
|
|
Total send and receive rate: 28.8Mb 28.8Mb 28.8Mb
|
|
--------------------------------------------------------------------------------------------
|
|
Peak rate (sent/received/total): 23.2Mb 5.65Mb 28.8Mb
|
|
Cumulative (sent/received/total): 5.79MB 1.41MB 7.20MB
|
|
============================================================================================
|
|
|
|
# Host name (port/service if enabled) last 2s last 10s last 40s cumulative
|
|
--------------------------------------------------------------------------------------------
|
|
1 ubuntu-2004-clean-01:33222 => 4.72Kb 4.72Kb 4.72Kb 1.18KB
|
|
10.10.15.72:https <= 1.99Mb 1.99Mb 1.99Mb 508KB
|
|
2 ubuntu-2004-clean-01:https => 1.98Mb 1.98Mb 1.98Mb 507KB
|
|
10.10.15.73:34562 <= 3.17Kb 3.17Kb 3.17Kb 811B
|
|
--------------------------------------------------------------------------------------------
|
|
Total send rate: 23.2Mb 23.2Mb 23.2Mb
|
|
Total receive rate: 5.65Mb 5.65Mb 5.65Mb
|
|
Total send and receive rate: 28.8Mb 28.8Mb 28.8Mb
|
|
--------------------------------------------------------------------------------------------
|
|
Peak rate (sent/received/total): 23.2Mb 5.65Mb 28.8Mb
|
|
Cumulative (sent/received/total): 5.79MB 1.41MB 7.20MB
|
|
============================================================================================ |