Oracle solaris Dependency for Online services Grapher
Ruby script to graph service dependencies for online/enabled services
Current version: 0.1.6
See CHANGELOG.md for the release history.
This software is licensed as CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International)
http://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
$ ordog.rb -[h|V] -i INPUT -o OUTPUT
-h: Print usage information
-V: Print version information
-i: INPUT (input file, default is stdin)
-o: OUTPUT (output file - png, default is ordog.png)
Process piped input:
$ svcs -l | ordog
Process input from file:
$ ordog -i svcs-l.out
Process from input file and redirect to a named file:
$ ordog -i svcs-l.out -o example.png
Example output:
example.png
Graphviz (the dot binary, e.g. apt install graphviz) and the Ruby gems
listed in the Gemfile:
- ruby-graphviz
- getopt
The script installs missing gems itself on first run. To install them beforehand:
$ bundle install
Run with bundle exec ruby ordog.rb ... if the gems are not installed system-wide.
If you find this software useful and would like to support its development, please consider buying me a coffee:
