Skip to the content
Documentation

exp:systeminfo

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The facts and health checks of Setup > System information, as text or JSON (--json, --sizes)

Usage

./console exp:systeminfo [options]
php bin/php/systeminfo.php [options]
./console exp:system:info [options]

Aliases

exp:system:info

Help

The output of ./console help exp:systeminfo (the script run with --help), without the standard options:

Usage: bin/php/systeminfo.php [OPTION]...
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:
  --json   One JSON object instead of the text
  --sizes  Also measure the size of var/, of each cache directory and of the database

Options

Option Value Description
--json - One JSON object instead of the text
--sizes - Also measure the size of var/, of each cache directory and of the database

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/systeminfo.php, kernel/private/classes/commands/systeminfo.php

See also

Generated example: exp:systeminfo

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.