Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autostart on Port Access #2927

Open
justbest23 opened this issue Aug 21, 2024 · 2 comments
Open

Autostart on Port Access #2927

justbest23 opened this issue Aug 21, 2024 · 2 comments

Comments

@justbest23
Copy link

justbest23 commented Aug 21, 2024

The only issue I have is that Glances uses quite a bit of system resources. It's not a crazy amount, but I feel it's enough to warrant me not wanting it to run full time.

Add functionality so that the glances (specifically glances -w in my case) is only started when I access the assigned port (61208 by default). It should also kill the process if the port is not being accessed.

I've tried to do this with systemd sockets but it seems to be a bit beyond my comprehension level.

Thanks!!

@nicolargo
Copy link
Owner

Hi @justbest23

what kind of resources do you want to reduce ?

On my system when i ran Glances -w with no client, the CPU consumption is very low:

image

0.2% of 1 Core == 0,0125 of my CPU Socket (16 Core).

Copy link

This issue is stale because it has been open for 3 months with no activity.

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

No branches or pull requests

2 participants