Code Monkey home page Code Monkey logo

pretty-attributes's Introduction

Pretty-Attributes

Pretty Parser for BMC Device Tree


Pretty Attribute Parser Usage pretty-attributes [option [/] [-j] [<-limited>/<attribute1,attribute2,...>]] -If no option is provided, information about all targets will be displayed. pretty-attributes export [] pretty-attributes import pretty-attributes read / pretty-attributes write / pretty-attributes translate /

Options -t,-target
--> Specify a target to display information about that specific target. usage : pretty-attributes -t[arget] <cronus_name_of_the_target> [-j] [<-limited>/<attribute1,attribute2,...>]

   -p,-path
          --> Provide a physical path to display information about the target located at that path.
          usage : pretty-attributes -p[ath] <physical_path> [-j] [<-limited>/<attribute1,attribute2,...>]

   -n,-nodes
          --> Print the hierarchical structure of nodes.
          --> If a path is specified, the subtree rooted at that path will be displayed.
          usage : pretty-attributes -n[odes] [-fullpath <full_physical_path>]  [<physical_path>]

   -l,-list
          --> Lists all available targets.
	  usage : pretty-attributes -l[ist]
   -j,-json
          --> Print target information in JSON format.
   -limited
          --> Print Limited information about all targets.
   -f,-find
      --> Displays a list of attributes for the specified target. (For example, We can get list of cores, dimms etc.)
	  usage : pretty-attributes -f[ind] <target> [attribute1=value attribute2=value ...]
   -parent
         --> Displays the parent of given target
            usage : pretty-attributes -parent <cronus_of_target>
   -child
         --> Displays the children of given target
            usage : pretty-attributes -child <cronus_of_target>
   -host
         --> Specify BMC to get connected (give -host <hostname> at the end if the command)(By default it is rain100bmc.aus.stglabs.ibm.com)
            usage : pretty-attributes [specify-options] -host <hostname> 
   -password
         --> Specify Password to get connected (give -password <password> at the end if the command)(By default it is 0penBmc0)
            usage : pretty-attributes [specify-options] -password <password>
   -user
         --> Specify username to get connected (give -user <username> at the end if the command)(By default it is service)
            usage : pretty-attributes [specify-options] -user <username>

   export
          --> Used to print all attribute values.
   import
          --> Used to update device tree with attribute values.
   read
          --> Used to print a single attribute value for a target.
   write
          --> Used to modify a single attribute value for a target.
   translate
         --> Used to translate target name between cronus and device tree.
   <attr-list>
         --> Filename containing list of attribute names to export.
   <attr-dump>
         --> Filename containing targets and attribute values.
   <target>
         --> Device tree target, e.g. p10:k0:n0:s0:p00 (cronus).
   <path>
         --> Device tree path, e.g. /sys-0/node-0/proc0 (device tree path).
   <value>
         --> Value of the attribute.
   <attribute>
         --> Name of an attribute.

pretty-attributes's People

Contributors

swethaparasa avatar

Watchers

 avatar

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.