Giter VIP home page Giter VIP logo

arcconf_parser's People

Contributors

mavriq avatar

Stargazers

 avatar  avatar

Watchers

 avatar

arcconf_parser's Issues

Incomplete data output

My Input

Physical Device information
----------------------------------------------------------------------
      Device #0
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SATA 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,4(4:0)
         Reported Location                  : Connector 1, Device 0
         Vendor                             :
         Model                              : ST4000NM0033-9ZM
         Firmware                           : SN04
         Serial number                      : xxxxx
         World-wide name                    : 5000C5007FD589C0
         Reserved Size                      : 1072920 KB
         Used Size                          : 3814400 MB
         Unused Size                        : 64 KB
         Total Size                         : 3815447 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
         Temperature                        : Not Supported
         NCQ status                         : Enabled
      ----------------------------------------------------------------
      Device Phy Information
      ----------------------------------------------------------------
         Phy #0
            PHY Identifier                  : 0
            SAS Address                     : 3000000000000007
            Attached PHY Identifier         : 7
            Attached SAS Address            : 50000D1106B1C580

      Device #1
         Device is a Hard drive
         State                              : Online
         Block Size                         : 512 Bytes
         Supported                          : Yes
         Transfer Speed                     : SATA 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,5(5:0)
         Reported Location                  : Connector 1, Device 1
         Vendor                             :
         Model                              : ST4000NM0033-9ZM
         Firmware                           : SN04
         Serial number                      : xxxxx
         World-wide name                    : 5000C5007AA7E1CB
         Reserved Size                      : 1072920 KB
         Used Size                          : 3814400 MB
         Unused Size                        : 64 KB
         Total Size                         : 3815447 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
         SSD                                : No
         Temperature                        : Not Supported
         NCQ status                         : Enabled
      ----------------------------------------------------------------
      Device Phy Information
      ----------------------------------------------------------------
         Phy #0
            PHY Identifier                  : 0
            SAS Address                     : 3000000000000006
            Attached PHY Identifier         : 6
            Attached SAS Address            : 50000D1106B1C580

And output

{
  "Physical Device information": {
    "Temperature": "Not Supported",
    "Unused Size": "64 KB",
    "Firmware": "SN04",
    "Device is a Hard drive": true,
    "World-wide name": "5000C5007FD589C0",
    "Device Phy Information": {
      "Phy #0": true,
      "PHY Identifier": "0",
      "Attached SAS Address": "50000D1106B1C580",
      "Attached PHY Identifier": "6",
      "SAS Address": "3000000000000006"
    },
    "Vendor": "",
    "Total Size": "3815447 MB",
    "Device #0": true,
    "Power State": "Full rpm",
    "S.M.A.R.T.": "No",
    "Reported Channel,Device(T:L)": "0,4(4:0)",
    "FRU": "None",
    "Model": "ST4000NM0033-9ZM",
    "Used Size": "3814400 MB",
    "Reported Location": "Connector 1, Device 0",
    "Device #1": {
      "Temperature": "Not Supported",
      "Unused Size": "64 KB",
      "Firmware": "SN04",
      "Device is a Hard drive": true,
      "World-wide name": "5000C5007AA7E1CB",
      "Vendor": "",
      "Total Size": "3815447 MB",
      "Power State": "Full rpm",
      "S.M.A.R.T.": "No",
      "Reported Channel,Device(T:L)": "0,5(5:0)",
      "FRU": "None",
      "Model": "ST4000NM0033-9ZM",
      "Used Size": "3814400 MB",
      "Reported Location": "Connector 1, Device 1",
      "Transfer Speed": "SATA 6.0 Gb/s",
      "State": "Online",
      "Supported": "Yes",
      "Block Size": "512 Bytes",
      "Serial number": "xxxx",
      "Supported Power States": "Full rpm,Powered off",
      "Write Cache": "Enabled (write-back)",
      "NCQ status": "Enabled",
      "SSD": "No",
      "Reserved Size": "1072920 KB",
      "S.M.A.R.T. warnings": "0"
    },
    "Transfer Speed": "SATA 6.0 Gb/s",
    "State": "Online",
    "Supported": "Yes",
    "Block Size": "512 Bytes",
    "Serial number": "S1Z0RGZV",
    "Supported Power States": "Full rpm,Powered off",
    "Write Cache": "Enabled (write-back)",
    "NCQ status": "Enabled",
    "SSD": "No",
    "Reserved Size": "1072920 KB",
    "S.M.A.R.T. warnings": "0"
  },

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.