All Projects → tkuchiki → mackerel-plugin-linux-proc-stats

tkuchiki / mackerel-plugin-linux-proc-stats

Licence: Apache-2.0 license
Linux processes metrics plugin for mackerel.io agent.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to mackerel-plugin-linux-proc-stats

clappr-plugins
Main plugins for the Clappr project
Stars: ✭ 22 (+69.23%)
Mutual labels:  plugins, stats
diagnostictools
Plugin for Qt Creator (Memory and CPU usage visualizer)
Stars: ✭ 41 (+215.38%)
Mutual labels:  plugins
HiFramework.Unity
Based on component to manage project's core logic and module used in unity3d
Stars: ✭ 22 (+69.23%)
Mutual labels:  plugins
FivePD-API
A wrapper that allows you to create FivePD callouts/plugins.
Stars: ✭ 17 (+30.77%)
Mutual labels:  plugins
ProjectCleaner
Unreal engine plugin for managing all unused assets and empty folders in project.
Stars: ✭ 53 (+307.69%)
Mutual labels:  plugins
Trakt-Userscripts
Userscripts to improve and add features to Trakt.tv
Stars: ✭ 39 (+200%)
Mutual labels:  stats
rabbitmq-auth-backend-cache
Authorisation result caching plugin (backend) for RabbitMQ
Stars: ✭ 17 (+30.77%)
Mutual labels:  plugins
pscircle
https://gitlab.com/mildlyparallel/pscircle visualizes Linux processes in a form of radial tree.
Stars: ✭ 33 (+153.85%)
Mutual labels:  process
terraform-provider-mackerel
Terraform provider for Mackerel
Stars: ✭ 16 (+23.08%)
Mutual labels:  mackerel
trailmix
🍬 UI for generating a custom build using trailpacks
Stars: ✭ 12 (-7.69%)
Mutual labels:  plugins
zenaton-node
⚡ Node.js library to run and orchestrate background jobs with Zenaton Workflow Engine
Stars: ✭ 50 (+284.62%)
Mutual labels:  process
webpacker
🔸 Webpack configuration manager
Stars: ✭ 18 (+38.46%)
Mutual labels:  plugins
erk
Ərk is an open source, cross-platform IRC client written in Python 3, Qt 5, and Twisted.
Stars: ✭ 21 (+61.54%)
Mutual labels:  plugins
readis
Lightweight web frontend in PHP for reading data, stats and config from multiple redis servers.
Stars: ✭ 38 (+192.31%)
Mutual labels:  stats
wink-statistics
Fast & numerically stable statistical analysis
Stars: ✭ 36 (+176.92%)
Mutual labels:  stats
next-purgecss
nextjs + purgecss for smaller css bundles
Stars: ✭ 129 (+892.31%)
Mutual labels:  plugins
fine
🧹 Gracefully shutdown Node.js application: help you handle exit signals and cleanup
Stars: ✭ 20 (+53.85%)
Mutual labels:  process
PyStalker
Python script to see you what your friends are doing on Codeforces!
Stars: ✭ 12 (-7.69%)
Mutual labels:  stats
stati
An extensible and Jekyll-compatible PHP static website generator
Stars: ✭ 21 (+61.54%)
Mutual labels:  plugins
Awesome-Black-Friday-Cyber-Monday-deals
2021 - Black Friday & Cyber Monday, Christmas & Holidays Deals for Developers, Techies, & Entrepreneurs,
Stars: ✭ 151 (+1061.54%)
Mutual labels:  plugins

mackerel-plugin-linux-proc-stats

Linux processes metrics plugin for mackerel.io agent.

Synopsis

mackerel-plugin-linux-proc-stats -pid=<pid>|-pidfile=<pidfile>|-process-pattern=<process pattern> [-metric-key-prefix=<metric-key-prefix>] [-tempfile=<tempfile>] [-follow-child-processes] [-include-dead-children=0]
$ ./mackerel-plugin-linux-proc-stats --help
Usage of ./mackerel-plugin-linux-proc-stats:
  -follow-child-processes
        Follow child processes
  -include-dead-children
        Include dead kids in cpu sum (default true)
  -metric-key-prefix string
        Metric key prefix
  -pid string
        PID
  -pidfile string
        PID file
  -process-pattern string
        Match a command against this pattern
  -tempfile string
        Temp file name
  -version
        Version

Requirements

Example of mackerel-agent.conf

[plugin.metrics.linux_proc_stats]
command = "/path/to/mackerel-plugin-linux-proc-stats -pidfile /var/run/nginx.pid -follow-child-processes"
[plugin.metrics.linux_proc_stats]
command = "/path/to/mackerel-plugin-linux-proc-stats -pidfile /var/run/mackerel-agent.pid"
[plugin.metrics.linux_proc_stats]
command = "/path/to/mackerel-plugin-linux-proc-stats -process-pattern 'nginx: master process'"

Example

Running threads.

$ ./mackerel-plugin-linux-proc-stats -pidfile /var/run/mackerel-agent.pid
mackerel-agent_process.memory.vsize     812974080.000000        1458808344
mackerel-agent_process.memory.rss       10448896.000000 1458808344
mackerel-agent_process.num.running      0.000000        1458808344
mackerel-agent_process.num.processes    1.000000        1458808344
mackerel-agent_process.num.threads      26.000000       1458808344
mackerel-agent_process.cpu.usage        0.083986        1458808344

Only master process.

$ ./mackerel-plugin-linux-proc-stats -pidfile /var/run/nginx.pid
nginx_process.cpu.usage 0.000000        1458808477
nginx_process.memory.vsize      107450368.000000        1458808477
nginx_process.memory.rss        3399680.000000  1458808477
nginx_process.num.running       0.000000        1458808477
nginx_process.num.processes     1.000000        1458808477
nginx_process.num.threads       1.000000        1458808477

Master process and worker processes.

$ ./mackerel-plugin-linux-proc-stats -pidfile /var/run/nginx.pid -follow-child-processes
nginx_process.num.running       0.000000        1458808496
nginx_process.num.processes     2.000000        1458808496
nginx_process.num.threads       2.000000        1458808496
nginx_process.cpu.usage 0.000095        1458808496
nginx_process.memory.vsize      215269376.000000        1458808496
nginx_process.memory.rss        7966720.000000  1458808496
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].