Show system information


Keywords
pnu-project, command-line-tool, learning-python, python, shell, tools, utilities
License
BSD-1-Clause
Install
pip install pnu-about==1.1.2

Documentation

Installation

Once you have installed Python and its packages manager pip, depending on if you want only this tool, the full set of PNU tools, or PNU plus a selection of additional third-parties tools, use one of these commands:

pip install pnu-about
pip install PNU
pip install pytnix

ABOUT(1)

NAME

about - Show system information

SYNOPSIS

about [-a|--all] [-E|--env|--environment] [-H|--hw|--hardware] [-O|--os|--operating] [-P|--py|--python] [-S|--sys|--system] [-U|--user] [-d|--debug] [-h|--help|-?] [-v|--version] [--]

DESCRIPTION

The about utility shows most of the system information available through the Python Standard Library.

OPTIONS

Options Use
-a|--all Same as -SUHOEP
-E|--env|--environment Show information about the environment
-H|--hw|--hardware Show information about the hardware
-O|--os|--operating Show information about the Operating System
-P|--py|--python Show information about Python
-S|--sys|--system Show information about the system
-U|--user Show information about the user
-d|--debug Enable debug level messages
-h|--help|-? Print usage and a short help message and exit
-v|--version Print version and exit
-- Options processing terminator

EXIT STATUS

The about utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

uname(1), sysctl(8)

https://docs.python.org/3/library/index.html

STANDARDS

The about command is not a standard UNIX/POSIX command.

It tries to follow the PEP 8 style guide for Python code.

PORTABILITY

Tested OK under Windows.

HISTORY

The about command was created as an example for the PNU project, testing many of the standard Python functions for getting system information.

LICENSE

This utility is available under the 3-clause BSD license.

AUTHORS

Hubert Tournier