Socket
Book a DemoInstallSign in
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

latest
npmnpm
Version
1.0.0
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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.