osinfo
Information about OS
Last updated 3 years ago by 3axap4ehko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install osinfo 
SYNC missed versions from official npm registry.

Information about OS

Installation

npm install -g osinfo

Usage

Help

osinfo --help

Get Os Info in xml format

osinfo -f yaml

Result structure

platform:   # platform info
  arch:         # architecture
  type:         # platform type
  release:      # release version
  name:         # platform name
  endianness:   # OS endianness

disks:      # array of disks
  - disk:       # name/label
    total:      # total size
    free:       # free space
    path:       # drive path

cpus:       # cpus info
  list:         # array of cpus
    - model:        # model
      speed:        # speed
      times:        # times
  loadavg:  # cpus load avg (not for Windows platforms)

memory:     # RAM info
  free:         # free
  total:        # total

environment:    # environment info
  vars:         # Environment variables
  homedir:      # home directory
  hostname:     # hostname

networks:   # network interfaces
  name:         # array of available IPv6 and IPv4 network interfaces for network name
    - address:      # IP address
      netmask:      # network mask
      family:       # IPv6 or IPv4
      mac:          # network interface mac address
      scopeid:      # scopied
      internal:     # is internal true/false

License

The MIT License Copyright (c) 2017-present Ivan Zakharchenko

Current Tags

  • 0.6.2                                ...           latest (3 years ago)

6 Versions

  • 0.6.2                                ...           3 years ago
  • 0.6.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 10
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |