exp:systeminfo
The facts and health checks of Setup > System information, as text or JSON (--json, --sizes).
Script bin/php/systeminfo.php, code in kernel/private/classes/commands/systeminfo.php. Run it from the installation root, as the user the web server runs as:
./console exp:systeminfo --help
./console exp:system:info --help
php bin/php/systeminfo.php --helpHelp text
System information
The report of Setup > System information for this command-line PHP: Exponential, PHP, OPcache,
the database, storage, caches, cronjobs, mail, locale, the extensions and the health checks.
The web server's own PHP (PHP-FPM, Velocity) can differ: its report is on the page.
Nothing is changed, and no password, key, token or session id is printed.
./console exp:system:info
./console exp:system:info --json
./console exp:system:info --sizes also measure var/, the cache directories and the database
Exit 0 when no check fails, 1 when one does.Options
| Option | Value | Help |
|---|---|---|
--json | One JSON object instead of the text | |
--sizes | Also measure the size of var/, of each cache directory and of the database |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/systeminfo.php, kernel/private/classes/commands/systeminfo.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.