Skip to content

Conversation

@Kableado
Copy link

@Kableado Kableado commented Aug 7, 2025

This PR adds JSON output for logging activity while running as a daemon. And adds basic reporting to the logged data.

Might fix: #152 #143 #127 #120 #64

Copy link
Owner

@raboof raboof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on the fence on this. Nethogs was never really meant for longer-term processing, just for quick interactive use. But indeed it seems more people would like longer-term reporting.

Are you using this? Is it working well for you?

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nethogs Network Monitor</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.9.1/chart.min.js"></script>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should load artifacts from 3rd-party sites

{
garbage_collect_inodeproc();

ProcList *previousproc = NULL;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there already is a remove_timed_out_processes, is this still needed?


# IDE configurations
.vscode
.idea
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(you can use a global gitignore, but I'm not opposed to adding those)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

after process stops downloading nethogs retains its last rate for too long

2 participants