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

metric for procs number? #3244

Closed
alxkvx opened this issue Feb 16, 2025 · 3 comments
Closed

metric for procs number? #3244

alxkvx opened this issue Feb 16, 2025 · 3 comments

Comments

@alxkvx
Copy link

alxkvx commented Feb 16, 2025

hello,

i need metric for total number of processes, what i cab see in top:

top - 00:33:10 up 262 days,  5:06,  1 user,  load average: 0.00, 0.00, 0.00
Tasks: 174 total,   1 running, 171 sleeping,   2 stopped,   0 zombie

i need this - Tasks: 174 total

i see nothing what can be similar to that in metrics output

curl -s http://localhost:9100/metrics| grep proc | grep -v ^#
node_procs_blocked 0
node_procs_running 1
node_softnet_processed_total{cpu="0"} 1.632177e+06
process_cpu_seconds_total 59.55
process_max_fds 524288
process_open_fds 10
process_resident_memory_bytes 1.5761408e+07
process_start_time_seconds 1.73958465598e+09
process_virtual_memory_bytes 1.27123456e+09
process_virtual_memory_max_bytes 1.8446744073709552e+19
@discordianfish
Copy link
Member

Fill out the issue template and re-open

@SuperQ
Copy link
Member

SuperQ commented Feb 17, 2025

You're looking for --collector.processes.

@alxkvx
Copy link
Author

alxkvx commented Feb 17, 2025

@SuperQ exactly thanks a lot

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

No branches or pull requests

3 participants