verity:系统信息收集器

时间:2024-03-31 13:26:30
【文件属性】:

文件名称:verity:系统信息收集器

文件大小:18KB

文件格式:ZIP

更新时间:2024-03-31 13:26:30

系统开源

真实性 Verity是构建系统信息清单的工具/库。 它的目的是要实现来自和某些功能。 用法 不要go get反对这个仓库: $ go get github.com/kentaro/verity/cmd/verity 然后执行以下命令: $ 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":"


【文件预览】:
verity-master
----macaddress()
--------macaddress.go(965B)
--------macaddress_test.go(258B)
----.gitignore(32B)
----system()
--------system.go(839B)
----README.md(2KB)
----Vagrantfile(509B)
----hostname()
--------hostname.go(267B)
--------hostname_test.go(541B)
----packages()
--------packages.go(881B)
--------packages_test.go(366B)
----ipaddress()
--------ipaddress.go(1017B)
--------ipaddress_test.go(361B)
----network()
--------network.go(2KB)
--------network_test.go(361B)
----collector.go(1KB)
----collector_test.go(567B)
----cpu()
--------cpu_linux_test.go(574B)
--------cpu_linux.go(1KB)
--------cpu.go(100B)
--------cpu_darwin.go(132B)
----env()
--------env.go(595B)
--------env_test.go(747B)
----cookbooks()
--------verity()
----memory()
--------memory.go(112B)
--------memory_linux_test.go(466B)
--------memory_linux.go(3KB)
--------memory_darwin.go(138B)
----ipv6address()
--------ipv6address.go(1017B)
--------ipv6address_test.go(372B)
----Makefile(311B)
----util()
--------util_test.go(732B)
--------util.go(948B)
----cmd()
--------verity()

网友评论