Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fluent-plugin-dstat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-dstat

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Dstat plugin for Fluentd

What's Dstat?

Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. If you need more detail, see here[http://dag.wieers.com/home-made/dstat] This plugin use Dstat, so you need to install Dstat before using this plugin.

Configuration

<source>
  @type dstat
  tag dstat
  option -c
  delay 3
 </source>
Parameters
  • option

    • option for dstat command (default: -fcdnm)
  • tag

    • the tag of event. You can embed hostname by #{} feature, e.g. tag "dstat.#{Socket.gethostname}".

Output Format

When you use option -a, you get structured output data like below.

{
  "hostname":"tsukuba000",
  "dstat":{"total cpu usage":"usr":"0.0","sys":"0.0","idl":"100.0","wai":"0.0","hiq":"0.0","siq":"0.0"},
           "dsk/total":{"read":"0.0","writ":"0.0"},"net/total":{"recv":"148.0","send":"164.0"},
           "paging":{"in":"0.0","out":"0.0"},
           "system":{"int":"16.333","csw":"29.0"}}
}

Supported options

aio, cpu, cpu24, disk, epoch, fs, int, int24, io, ipc, load, lock, mem, net, page, page24, proc, raw, socket, swap, swapold, sys, tcp, udp, unix, vm, disk-util, freespace, top-bio, top-cpu,top-io, top-mem, top-oom, utmp, top-io -fc

Copyright (c) 2011 Shunsuke Mikami. See LICENSE.txt for further details.

FAQs

Package last updated on 25 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc