Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

Methods

  • smartctl(__namedParameters: ISmartctl): Promise<Record<never, never>>
  • List smart information for specified device

    example

    Get information for device /dev/sda1

    await smartctl({deviceName: '/dev/sda1', all: true});
    

    Parameters

    • __namedParameters: ISmartctl

      Set device name and toggle all flag

    Returns Promise<Record<never, never>>

Generated using TypeDoc