Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/domain7/d7sysinfo
gathers system information on web servers for reporting
https://github.com/domain7/d7sysinfo
Last synced: 1 day ago
JSON representation
gathers system information on web servers for reporting
- Host: GitHub
- URL: https://github.com/domain7/d7sysinfo
- Owner: domain7
- License: gpl-3.0
- Created: 2014-10-10T14:37:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-10T18:53:53.000Z (over 10 years ago)
- Last Synced: 2024-12-30T12:45:31.998Z (11 days ago)
- Language: Ruby
- Size: 180 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# D7sysinfo
Domain 7 Solutions system information.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'd7sysinfo'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install d7sysinfo
## Usage
```ruby
d7sysinfo --format json
```Will output following server information:
```json
{
"fqdn": "example.com",
"ips": [
"127.0.0.1",
"10.8.8.99",
"192.168.0.99"
],
"kernel_version": "3.08",
"linux_type": "Fedora",
"linux_version": "18",
"memory": "1000000kB",
"php_version": "4.5",
"ruby_version": "1.8.2",
"vhosts": {
"drupal.conf": {
"docroot": "/var/www/drupal/",
"drupal": "1.1.1",
"names": "drupal.example.com",
"rails": false,
"ssl": false,
"wordpress": false
},
"rails.conf": {
"docroot": "/var/www/rails/public/",
"drupal": false,
"names": "rails.example.com",
"rails": "rails (2.14)",
"ssl": true,
"wordpress": false
},
"wordpress.conf": {
"docroot": "/var/www/wordpress/",
"drupal": false,
"names": "wordpress.example.com",
"rails": false,
"ssl": false,
"wordpress": "7.7.7"
}
}
}
```## Prerequisites
* uri
* net
* rexml## Contributing
1. Fork it ( https://github.com/[my-github-username]/d7sysinfo/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request# References
* [Domain7](http://www.domain7.com)Released under the GPLv3 license
Copyright (c) 2014 [Domain7](http://www.domain7.com)