01Jobs it does
Each one is a real command line. Copy it, or open it in the builder below to change it.
install settings
Also: versions, database size
p202 system info02What you get
Captured from the real binary, run against a demo store with 30 days of traffic. Switch tabs to see the same run as JSON, the shape scripts and agents parse.
$ p202 system info clicks_recorded: 2904 cron_last_ran_at: 1791540189 cron_last_ran_seconds_ago: 3 database_size_bytes: 125992960 database_upgrade_needed: false dataengine: {"minutes_left":0,"percent_done":0,"tasks_done":0,"tasks_total":0} keyword_preference: searched memcache: {"installed":false,"running":false} mysql_version: 10.11.14-MariaDB-0ubuntu0.24.04.1 php_limits: {"max_execution_time":"30","max_input_time":"60","post_max_size":"8M","upload_max_filesize":"2M"} php_safe_mode: false php_version: 8.3.6 schema_version: 1.9.77 version: 1.9.77
$ p202 system info --json { "data": { "clicks_recorded": 2904, "cron_last_ran_at": 1791540189, "cron_last_ran_seconds_ago": 3, "database_size_bytes": 125992960, "database_upgrade_needed": false, "dataengine": { "minutes_left": 0, "percent_done": 0, "tasks_done": 0, "tasks_total": 0 }, "keyword_preference": "searched", "memcache": { "installed": false, "running": false }, "mysql_version": "10.11.14-MariaDB-0ubuntu0.24.04.1", "php_limits": { "max_execution_time": "30", "max_input_time": "60", "post_max_size": "8M", "upload_max_filesize": "2M" }, "php_safe_mode": false, "php_version": "8.3.6", "schema_version": "1.9.77", "version": "1.9.77" } }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 system infoSet flags below; the command updates as you type.
04How it works
The Prosper202 code and database versions (database_upgrade_needed when they differ), PHP and MySQL versions, memcache, the PHP limits uploads and long reports run under, clicks recorded to date, database size, when the cron job last ran, and the DataEngine's progress. Whether a newer release exists is not reported: the UI asks a remote service for that.
Needs an Admin or Super user key whose role has access_to_settings (as Account › Settings asks), and system:read.
05For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands system info --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 system info",
"use": "info",
"short": "What Account › Settings shows: versions, PHP limits, memcache, clicks recorded, database size, cron, DataEngine",
"long": "The Prosper202 code and database versions (database_upgrade_needed when they differ), PHP\nand MySQL versions, memcache, the PHP limits uploads and long reports run under, clicks\nrecorded to date, database size, when the cron job last ran, and the DataEngine's progress.\nWhether a newer release exists is not reported: the UI asks a remote service for that.\n\nNeeds an Admin or Super user key whose role has access_to_settings (as Account › Settings asks), and system:read.",
"runnable": true,
"example": "p202 system info\n p202 system info --json",
"tasks": [
{
"run": "p202 system info",
"ui_pages": [
"Settings"
],
"phrases": [
"install settings",
"versions",
"database size"
]
}
]
}