Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
cfg2html is a UNIX shell script that creates HTML and plain ASCII system documentation for HP-UX, AIX, SunOS, Linux, and more.
cfg2html is an open-source UNIX shell script that collects system configuration and setup details into a single HTML file and a plain ASCII text file for disaster recovery, troubleshooting, and system documentation.
cfg2html is a utility that gathers the necessary system configuration files and system setup into two output files: an ASCII file and an HTML file. It is written entirely as shell scripts, making it easy to read, adapt, and extend. The tool runs on Linux, HP-UX, SunOS, AIX, SCO-UNIX, and other *NIX platforms, including small embedded systems. Originally developed for HP-UX, the current maintained version is hosted on GitHub at github.com/cfg2html/cfg2html, and the original HP-UX-only version is now deprecated.
make help.Download the zip from the GitHub repository or clone it with git clone https://github.com/cfg2html/cfg2html.git. You can run the cfg2html script directly from the extracted folder, or run make help to prepare an installable package for your package manager. The script then collects the configured system information and writes the HTML and ASCII output files to disk.
Similar UNIX configuration collectors include supportinfo, getsysinfo, and get_config, which gather system data but typically do not produce both HTML and plain ASCII documentation in one step.
Yes. The source code is publicly available on GitHub, and pre-built installation packages can be downloaded from cfg2html.com and the project's GitHub releases page without charge.
It supports Linux, HP-UX, SunOS, AIX, SCO-UNIX, and other *NIX platforms, plus small embedded systems. The original HP-UX-specific version has been deprecated; the GitHub stream is the actively maintained one.
It collects cron and at jobs, installed hardware, installed software, filesystems, dump and swap configuration, LVM, network settings, kernel parameters, system extensions, applications, and subsystems, then writes them to HTML and ASCII files.
Clone the repository, then run make help to create an installable package. Note that you need an annotated git tag on your local build system (verify with git describe --long); otherwise the build will fail.
Yes. You can either modify the shell scripts directly or use the included plugin framework, which already covers SAP, Oracle, Informix, Serviceguard, SAN, and many other environments.
