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

block-stat

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

block-stat

Linux block device stats

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This module reads and parses the stats for a block device on a Linux system, returning an object containing the stats parsed from /sys/block//stat.

Example JSON of the generated object:

{
  "timestamp": {
    "unix": 1452177353,
    "iso": "2016-01-07T14:35:53.987Z"
  },
  "read": {
    "ios": "69794",
    "merges": "2182",
    "sectors": "3458030",
    "ticks": "44552"
  },
  "write": {
    "ios": "65820",
    "merges": "68263",
    "sectors": "3155111",
    "ticks": "180040"
  },
  "in_flight": "0",
  "io_ticks": "34684",
  "time_in_queue": "224492"
}

FAQs

Package last updated on 07 Jan 2016

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