Giter VIP home page Giter VIP logo

verity's Introduction

Verity

Verity is a tool/library to build an inventory of system information. It aims to implement some parts of features from facter and ohai.

Usage

Do go get against this repository:

$ go get github.com/kentaro/verity/cmd/verity

Then execute the command:

$ verity
{"cpu":{"cache_size":"6144 KB","model_name":"Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz","processor":"0","stepping":"7","total":"1","vendor_id":"GenuineIntel"},"hostname":"localhost.localdomain","memory":{"active":"59832kB","anon_pages":"10672kB","bounce":"0kB","buffers":"14156kB","cached":"81084kB","commit_limit":"2856252kB","committed_as":"331420kB","dirty":"4kB","free":"316972kB","inactive":"46080kB","mapped":"7740kB","nfs_unstable":"0kB","page_tables":"1912kB","slab":"33700kB","slab_reclaimable":"13348kB","slab_unreclaim":"20352kB","swap_cached":"0kB","swap_free":"2621432kB","swap_total":"2621432kB","total":"469644kB","vmalloc_chunk":"34359711736kB","vmalloc_total":"34359738367kB","vmalloc_used":"20736kB","writeback":"0kB"}}

How to Hack

This repository provides Linux development environment using Vagrant.

$ vagrant up
$ vagrant ssh
[vagrant@localhost ~]$ cd /home/vagrant/src/github.com/kentaro/verity

To build verity command:

[vagrant@localhost verity]$ make

To test whole the project:

[vagrant@localhost verity]$ make test

See Also

Author

License

verity's People

Contributors

kentaro avatar kitak avatar mizzy 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.