iris_metrics_system
System Metrics
Returns IRIS system metrics in Prometheus text exposition format. Includes process count, global references, routine commands, uptime, and database sizes. No parameters required.
server
io.github.jbrandtmse由 GitHub 账号 jbrandtmse 发布v1.1.0更新于 Nov 22, 2026
IRIS Operations & Monitoring MCP Server
让助手监控和运维 InterSystems IRIS 实例:健康检查、指标、作业、锁、进程、数据库、备份、任务与配置。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
IRIS Operations & Monitoring MCP Server -- Composite health check, system metrics, jobs, locks, process control, journals, mirrors, audit events, database integrity, database maintenance operations, backups, licensing, ECP, task scheduling, system configuration, and alert management via the Model Context Protocol.
Part of the IRIS MCP Server Suite.
Or run directly without installing:
All servers use the same environment variables:
server parameterOptionally, set IRIS_PROFILES (a JSON map of named IRIS instances) and IRIS_GOVERNANCE (a JSON tool-action policy) to target several instances from one server and restrict which actions are allowed. Every tool accepts an optional server parameter (a profile name from IRIS_PROFILES) that selects which instance the call targets; omit it to use the default profile. It composes with the existing per-call namespace override. Both variables are optional and additive — omit them and this server behaves exactly as a single-instance, fully-enabled install. Full model, escaping, and worked examples: Multiple Servers & Governance.
Optionally, set IRIS_GOVERNANCE_FILE to the path of a JSON file of the same shape as IRIS_GOVERNANCE to load policy from a file shared across several MCP clients instead of inline JSON. Optional and additive — unset (the default) means inert: no file is ever read and behavior is byte-for-byte unchanged. An IRIS_GOVERNANCE env value always wins over the file. Details: Governance file.
IRIS_TOOLS_PRESET)Set IRIS_TOOLS_PRESET=core to trim this server's tools/list to a 10-tool runtime roster (9 package tools + iris_server_profiles) — monitoring-persona basics: health check, system metrics, alert metrics, jobs/locks/processes, tasks, license. IRIS_TOOLS_PRESET=developer trims to a DIFFERENT 10-tool runtime roster (9 + iris_server_profiles) — the runtime debugging slice (interop metrics + task history for scheduled jobs); no backup/mirror/ECP/config surface. Same COUNT, different MEMBERSHIP — core swaps iris_metrics_alerts/iris_license_info for developer's iris_metrics_interop/iris_task_history. Omit (or set "full") for today's behavior — every tool visible, byte-for-byte. IRIS_TOOLS_DISABLE/IRIS_TOOLS_ENABLE hide/force-show individual tools independent of the preset. This is orthogonal to IRIS_GOVERNANCE above (visibility = does the agent know a tool exists; governance = is an already-visible call allowed). Full model, exact per-tool roster, and the payload-size measurements: Tool Visibility Presets.
Prompt-pack limitation. The
run-external-backupprompt callsiris_journal_infoandiris_backup_manage— both are hidden under BOTHcoreanddeveloper, so this prompt only works underfull(or withIRIS_TOOLS_ENABLE=iris_journal_info,iris_backup_manage). Thecheck-system-healthprompt's interpretation guidance also namesiris_journal_info/iris_database_check/iris_mirror_status(hidden under both presets) and, underdeveloperonly,iris_license_info/iris_metrics_alerts— the compositeiris_health_checkcall itself always works, but the FOLLOW-UP drill-down tool for some findings may be hidden depending on preset.
IRIS_AUDIT_LOG)For regulated deployments, set IRIS_AUDIT_LOG=/path/to/audit.jsonl to record every MCP tool call this server handles — success, error, or governance denial — as one secrets-free JSON line (session, sequence, tool, action, outcome, redacted parameter keys). It is off by default (unset ⇒ a mechanical no-op, zero filesystem writes) and framework-wide — the same interceptor covers every tool on this server. IRIS_AUDIT_LOG_MAX_MB (default 50) sets the single-generation rotation size; IRIS_AUDIT_LOG_PARAMS=true additionally records (redacted) parameter values. Because it is server-side configuration — not a governed tool action — an AI client cannot disable its own audit trail; only an operator with server-environment access can. This MCP-call audit trail is distinct from this server's iris_audit_events tool, which reads IRIS's own %SYS.Audit* security-audit database — full record shape, redaction rules, and that disambiguation: Compliance & Auditability.
IRIS_SERVER_MANAGER)Set IRIS_SERVER_MANAGER=auto to import IRIS connection definitions straight from the InterSystems Server Manager VS Code extension's intersystems.servers settings — one curated roster instead of re-typing host/port/username into every MCP client's config. IRIS_SERVER_MANAGER is framework configuration, not a tool — it applies identically across all five servers in the suite. Omit (or set "off", the default) for today's behavior: no settings file is ever read. A password-less imported definition is completed via an OS-keychain / IRIS_CREDENTIAL_HELPER credential chain (see the iris-mcp-credentials CLI — Server Manager passwords themselves are never readable outside VS Code, by design); iris_server_profiles reports where each profile's connection fields came from via source ("env"/"server-manager") and sourceFile. The companion variables are all optional, each with its own default: IRIS_SM_SERVERS (unset — import all), IRIS_SM_SETTINGS_PATHS (unset — normal discovery), IRIS_SM_WORKSPACE (unset — the process CWD) and IRIS_CREDENTIAL_HELPER (unset). Full model, discovery precedence, and the SecretStorage boundary explained plainly: Server Manager connections.
.mcp.json)claude_desktop_config.json)Note: Replace
"SYS"with your actual IRIS password. Avoid committing real credentials to version control.
Provided by the shared framework and available on every suite server (Epic 19).
iris_server_profiles is a read tool, enabled by default. It reports in-memory config and does not connect to IRIS. Use it to choose the right server profile and avoid governance-disabled actions before invoking other tools.
iris_health_check is a read tool, enabled by default under IRIS_GOVERNANCE. See Tool Examples below for the full contract (areas, thresholds, verdict computation).
Workflow-shaped MCP prompts (Epic 25) served via prompts/list/prompts/get. Prompts are a separate protocol capability from tools — they carry no governance key and do not change this server's tool count.
Also installable as Agent Skills.
Runs a composite health check across up to 9 IRIS instance areas in ONE round-trip and returns
a structured verdict (healthy / warning / critical) with a per-area finding explaining why.
Replaces 6+ separate calls (iris_metrics_system, iris_journal_info, iris_mirror_status,
iris_locks_list, iris_license_info, iris_database_check, iris_metrics_alerts,
iris_metrics_interop) with documented, overridable thresholds.
The ObjectScript endpoint (/monitor/health, Story 23.1) returns raw per-area values only --
every threshold, per-area level rule, and the overall verdict are computed here in TypeScript
(architecture.md ADR H5), so tuning a threshold never needs a bootstrap bump.
Areas (9): system, databases, journal, mirror, locks, license, ecp, alerts,
interop. memory is NOT a valid area -- it was REMOVED in Story 23.0 (no reliable
instance-wide memory-health signal exists in IRIS); it is dropped entirely, not folded into
system or any other area, and passing it is rejected by the input schema.
Threshold-checked areas (defaults shown; every threshold can be overridden independently):
Informational areas (no ok/warning threshold in v1 -- raw values only; always ok, or
notApplicable when not configured): system, mirror, ecp, interop.
A failed probe for one area yields level: "error" for that area only (sanitized message in
explanation) -- every other area stays intact, and an error finding counts as warning
severity for the overall verdict (it never escalates the verdict to critical by itself).
A notApplicable finding (e.g. no mirror membership, no Interoperability classes in this
namespace) never affects the verdict.
Input (no args -- check all 9 areas):
Input (subset + threshold override):
Output (structuredContent):
iris_health_check is a read tool (mutates: "read"), enabled by default under
IRIS_GOVERNANCE.
Input:
Output (Prometheus text format):
iris_global_references_total and iris_routine_commands_total are
instance-wide counters sampled from SYS.Stats.Global (sum of
RefLocal + RefPrivate + RefRemote) and SYS.Stats.Routine.RtnCommands
respectively. These are the same counters that power the Management
Portal System Dashboard, and both increase monotonically across all
processes on the instance — not per-process snapshots.
Input:
Output:
Input:
Output:
errorCount24h counts Event Log entries of type Error and messageCount24h counts message headers, each over the 24 hours before the call, measured in UTC (a read, enabled by default).
Single supported action: reset — calls $SYSTEM.Monitor.Clear() in %SYS to clear the in-memory alert counter and system state. Counterpart to iris_metrics_alerts.
Scope-down note (Epic 12): Only
resetis supported. Actionsclear(per-alert by index) andacknowledgeare NOT available — IRIS has no native API for either. Both are deferred to Epic 13 if demand materialises.resetdoes NOT truncatealerts.log; historical entries remain on disk for audit.
Input:
Output:
clearedAt is the time of the reset in UTC (ISO 8601, to the second).
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
maxRows defaults to 100 and is capped at 1000 to keep responses bounded on busy systems.
Output:
total is the row count the query produced before capping; truncated is true when total > count.
Input:
Output:
When section is "locale", properties includes a current field with
the active IRIS locale code (resolved via %SYS.NLS.Locale.%New().Name)
alongside the existing availableLocales enumeration and localeCount:
Most operations tools are system-level and do not require a namespace parameter. They operate across the entire IRIS instance.
Tools where namespace has a real effect:
iris_metrics_interop -- optionally filter interop metrics to a single namespaceiris_task_manage -- specify the execution namespace for a new taskTools that accept namespace but IGNORE it (the operation is %SYS-scoped; the param is retained only for backward compatibility and has no effect):
iris_process_manage -- process inspection/control runs against the system-wide process tableiris_database_action -- SYS.Database keys on the directory path and runs in %SYSiris_backup_manage -- backup/freeze/thaw are instance-wide via Backup.General in %SYSTools that do NOT accept namespace (system-wide scope):
iris_metrics_system, iris_metrics_alerts, iris_alerts_manageiris_jobs_list, iris_locks_listiris_journal_info, iris_mirror_status, iris_audit_eventsiris_database_check, iris_license_info, iris_ecp_statusiris_task_list, iris_task_run, iris_task_historyiris_config_manage来源:packages/iris-ops-mcp/README.md,提交 704b410
System Metrics
Returns IRIS system metrics in Prometheus text exposition format. Includes process count, global references, routine commands, uptime, and database sizes. No parameters required.
serverSystem Alerts
Returns active IRIS system alerts. Each alert includes severity, category, message, and index. Also returns the overall system state (OK, Warning, Alert, Hung) and alert count. No parameters required.
serverInteroperability Metrics
Returns interoperability volume and interface metrics including message throughput, queue depths, error rates, and production status. Without a namespace parameter, summarizes all namespaces with productions. With a namespace, returns metrics for that namespace only.
servernamespaceManage System Alerts
Manages IRIS system alert state. Single supported action: - **reset**: Calls `$SYSTEM.Monitor.Clear()` to reset the alert counter and system state. The `alerts.log` file is NOT truncated — historical entries remain on disk for audit. `iris_metrics_alerts` will re-populate active alerts on the next poll if conditions persist. Actions NOT available (deferred to Epic 13 — IRIS has no native API for either): - `clear` (remove a specific alert by index) - `acknowledge` (mark an alert as seen without clearing the counter)
action必填serverList Jobs
List all running IRIS jobs/processes. Each job includes process ID, namespace, routine, state, username, client IP, job type, commands executed, global references, transaction status, and CPU time. No parameters required.
serverList Locks
List all current IRIS system locks. Each lock includes lock name (full reference), owner process ID, raw owner string, lock mode, flags, and lock count. No parameters required.
serverManage IRIS Process
Inspect and control a single IRIS process by PID (extends the read-only iris_jobs_list with detail + lifecycle control). Actions: - **get** (read): full detail for one process — state, routine, namespace, user, client IP, resource counters, and the canBeTerminated/canBeSuspended flags. Requires 'pid'. - **terminate** (write, destructive): kill the process (SYS.Process.Terminate). Requires 'pid'. - **suspend** (write): pause the process (SYS.Process.Suspend). Requires 'pid'. - **resume** (write): resume a suspended process (SYS.Process.Resume). Requires 'pid'. The mutating actions (terminate/suspend/resume) are opt-in under tool governance and are DISABLED by default until enabled via IRIS_GOVERNANCE. A control action targeting the calling process, or a critical/protected system job (CanBeTerminated/CanBeSuspended = 0), is REFUSED by the server and changes nothing (the result carries refused:true with a reason).
pid必填action必填servernamespaceJournal Info
Returns IRIS journal file information including current journal file path, primary and alternate directories, file count, current offset, free space, and journaling state. No parameters required.
serverMirror Status
Returns IRIS mirror configuration, membership, and synchronization status. Includes mirror name, member type (Primary/Backup/Async/Not Member), role flags, and overall mirror status. Gracefully reports when mirroring is not configured. No parameters required.
serverAudit Events
Returns matching IRIS audit log events with optional filters. Each event includes timestamp, username, event source, event type, event name, description, client IP, and namespace. Results are limited by maxRows (default 100, max 1000).
serverendDatemaxRowsusernamebeginDateeventTypeDatabase Check
Returns IRIS database status for all databases or a specific database. Each database entry includes mounted status, read-only flag, encryption status, journal state, size in MB, and max size. This is a status check, not a full integrity scan.
nameserverDatabase Maintenance Action
Run a runtime database-maintenance operation via SYS.Database (in %SYS). This is the runtime-operations companion to the read-only iris_database_check and is disjoint from the admin iris_database_manage (which handles database CONFIG: create/modify/delete). All actions key on the database DIRECTORY path (not the config name) and are MUTATING — they are opt-in under tool governance and DISABLED by default until enabled via IRIS_GOVERNANCE. Actions: - **mount** (write): mount a database (SYS.Database.MountDatabase). Optional 'readonly' (boolean) mounts it read-only. Requires 'directory'. - **dismount** (write, destructive): take a database offline (SYS.Database.DismountDatabase). Requires 'directory'. - **compact** (write): compact globals to reclaim space within the .DAT (SYS.Database.CompactDatabase). Optional 'percentFull' (default 90). Returns mbProcessed/mbCompressed. Requires 'directory'. - **defragment** (write): rearrange global blocks into contiguous sequence (SYS.Database.Defragment). Requires 'directory'. - **truncate** (write, destructive): return trailing unused space to the OS, shrinking the .DAT (SYS.Database.ReturnUnusedSpace). Optional 'targetSize' MB (default 0 = return all free trailing space). Returns returnSize. Requires 'directory'. - **expandVolume** (write): add a new volume to a multi-volume database (SYS.Database.NewVolume). Requires 'directory', 'newVolDir', and optional 'initialSize' (MB). These operations are SYNCHRONOUS — IRIS has no async/queue API for them. compact/defragment/truncate can run for a while on large databases and the request blocks until they complete. A missing/unknown 'directory' (or a DB that is in use, locked, or unmounted) is rejected with a clear error rather than corrupting anything.
action必填serverreadonlydirectory必填namespacenewVolDirtargetSizeinitialSizepercentFullBackup Management
Run backups and freeze/thaw the IRIS instance via Backup.General (in %SYS), or list backup history. The mutating actions (run/freeze/thaw) are opt-in under tool governance and DISABLED by default until enabled via IRIS_GOVERNANCE; listHistory is read-only and enabled by default. Actions: - **listHistory** (read): list recent backups from the ^SYS("BUHISTORY") history global (most-recent-first), each with timestamp, type, status, device, log file, and description. - **run** (write): run a USER-DEFINED backup task BY NAME (Backup.General.StartTask). Requires 'taskName' — the name of a backup task the operator has already defined in the Management Portal (System Operation > Backups). There are NO predefined/shipped task names. The backup TYPE (full/incremental/cumulative) is a property of that task definition; the optional 'backupType' field here is informational only and does NOT select the task. Optional 'jobbackup' (boolean) runs the backup in a background job. - **freeze** (write, destructive): quiesce ALL database writes instance-wide for an external snapshot (Backup.General.ExternalFreeze). DISRUPTIVE — the instance stops accepting writes until a thaw. Optional 'logFile' and 'description'. - **thaw** (write): resume database writes after a freeze (Backup.General.ExternalThaw). Optional 'logFile', 'username', 'password' (must match what was passed to the freeze). **restore is NOT supported via this tool.** IRIS restore is interactive (^DBREST / CLUMENU^JRNRESTO) and not cleanly scriptable; use the IRIS restore utility or the Management Portal restore instead. An action='restore' request is rejected with a clear message rather than crashing.
action必填deviceserverlogFilepasswordtaskNameusernamejobbackupnamespacebackupTypedescriptionLicense Info
Returns IRIS license information including customer name, license capacity, expiration date, connection and user limits, cores/CPUs licensed, and current CSP user count. No parameters required.
serverECP Status
Returns ECP (Enterprise Cache Protocol) connection status. Reports whether ECP is configured on this instance and, if so, the connection health. Gracefully returns 'ECP not configured' when ECP is not in use. No parameters required.
serverManage Task
Create, modify, or delete an IRIS scheduled task. For 'create', name, taskClass, and namespace are required. For 'modify', id is required and only provided fields are updated. For 'delete', only id is needed.
idnameaction必填servernamespacesuspendedtaskClassdescriptionList Tasks
List all IRIS scheduled tasks with schedule, status, and configuration details. Each task includes name, task class, namespace, suspended status, priority, run interval, next scheduled date/time, last started/finished, and last status/result. No parameters required.
serverRun Task
Trigger immediate execution of an IRIS scheduled task by ID. The task runs asynchronously — this tool confirms the trigger was sent but does not wait for completion. Check task history for results.
id必填serverTask History
View execution history for IRIS scheduled tasks. Optionally filter by task ID. Each entry includes task name, start time, completion time, status, result, namespace, and username. Results are capped by maxRows (default 100, max 1000).
servertaskIdmaxRowsManage System Configuration
View or modify IRIS system configuration parameters. Actions: 'get' retrieves configuration for a section (config, startup, locale); 'set' modifies parameters (config section only, requires properties object); 'export' returns combined system info and configuration data.
action必填serversectionpropertiesComposite Health Check
Runs a composite health check across up to 9 IRIS instance areas in ONE round-trip and returns a structured verdict ('healthy' | 'warning' | 'critical') with a per-area finding explaining WHY. This is the recommended FIRST call of any diagnostic session -- it replaces 6+ separate calls (iris_metrics_system, iris_journal_info, iris_mirror_status, iris_locks_list, iris_license_info, iris_database_check, iris_metrics_alerts, iris_metrics_interop) with documented, overridable thresholds. Areas (9): 'system', 'databases', 'journal', 'mirror', 'locks', 'license', 'ecp', 'alerts', 'interop'. NOTE: 'memory' is NOT a valid area -- it was REMOVED in Story 23.0 (no reliable instance-wide memory-health signal exists in IRIS). It is dropped entirely, NOT folded into 'system' or any other area, and passing it is rejected by this tool's input schema. Threshold-checked areas: 'journal' (% full, ASCENDING -- high is bad), 'databases' (% free per configured-maxSize, mounted database, DESCENDING -- low is bad; unlimited-maxSize or unmounted databases report 'notApplicable' -- v1 has no volume-level disk-exhaustion signal for those; see iris_database_check), 'license' (% used, ASCENDING, prefers the IRIS-authoritative dashboard figure over a CSP-user-count fallback), 'locks' (% of lock table utilized, ASCENDING), 'alerts' (maps the numeric $SYSTEM.Monitor state: -1 Hung=critical, 1 Warning/2 Alert=warning, 0 OK=ok). Informational areas (no ok/warning threshold in v1 -- raw values only; always 'ok', or 'notApplicable' when not configured): 'system', 'mirror', 'ecp', 'interop'. A failed probe for one area yields level:'error' for that area only (sanitized message in 'explanation') -- every other area stays intact, and an 'error' finding counts as 'warning' severity for the overall verdict (it NEVER escalates the verdict to 'critical' by itself). 'notApplicable' findings (e.g. no mirror membership, no Interoperability classes in this namespace) never affect the verdict. Optional 'area
areasserverthresholdsServer Profiles & Governance
CALL THIS FIRST. Discover the IRIS server profiles this MCP server can target and the effective governance policy (which tool actions are enabled/disabled) — so you can choose the right `server` profile and avoid calling disabled actions, without reading the client's config files. Returns: (1) a profile roster with non-secret connection metadata (name, host, port, username, namespace, https, baseUrl, timeout, source ["env" or "server-manager"], sourceFile [the settings file, for server-manager-sourced profiles only], dataPolicy ["block", "redact" or "allow": what the profile shows of message bodies], dataPolicySource [the channel that set it]; the password is NEVER included); and (2) the effective enabled/disabled action map for a selected profile (optional `profile` arg; defaults to the `default` profile), or for every profile when `allProfiles: true`. Note: the optional `profile` arg selects which profile's POLICY to report; the framework `server` arg (which selects the connection target) is irrelevant to this tool, since it reports in-memory config and does not connect to IRIS. This is a read-only tool, enabled by default.
serverprofileallProfiles已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npm install -g @iris-mcp/opsnpx -y @iris-mcp/ops@1{ "mcpServers": { "iris-ops-mcp": { "command": "npx", "args": ["-y", "@iris-mcp/ops@1"], "env": { "IRIS_HOST": "localhost", "IRIS_PORT": "52773", "IRIS_USERNAME": "_SYSTEM", "IRIS_PASSWORD": "SYS", "IRIS_NAMESPACE": "USER" } } }}{ "mcpServers": { "iris-ops-mcp": { "command": "npx", "args": ["-y", "@iris-mcp/ops@1"], "env": { "IRIS_HOST": "localhost", "IRIS_PORT": "52773", "IRIS_USERNAME": "_SYSTEM", "IRIS_PASSWORD": "SYS", "IRIS_NAMESPACE": "USER" } } }}{ "iris-ops-mcp": { "command": "npx", "args": ["-y", "@iris-mcp/ops@1"], "env": { "IRIS_HOST": "localhost", "IRIS_PORT": "52773", "IRIS_USERNAME": "_SYSTEM", "IRIS_PASSWORD": "SYS", "IRIS_NAMESPACE": "USER" } }}{}{ "areas": ["journal", "license"], "thresholds": { "journalPctCrit": 95 }}{ "verdict": "warning", "checkedAt": "2026-07-08T12:00:00.000Z", "findings": [ { "area": "journal", "level": "warning", "metric": "journalSpacePct", "value": 85.2, "threshold": 80, "explanation": "Journal directory is 85.2% full (warning threshold 80%). Purge or expand journal space." }, { "area": "license", "level": "ok", "metric": "licensePct", "value": 12.5, "threshold": 80, "explanation": "License is 12.5% used (IRIS-authoritative dashboard figure) -- ok threshold 80%." } ], "raw": { "journal": { "volumeFreeBytes": 148000000, "volumeTotalBytes": 1000000000, "state": "Open" }, "license": { "currentCSPUsers": 1, "userLimit": 8, "licenseCurrent": 1, "licenseCurrentPct": 12.5 } }}{}# HELP iris_process_count Number of IRIS processes# TYPE iris_process_count gaugeiris_process_count 42# HELP iris_global_references_total Total global references since startup (instance-wide, from SYS.Stats.Global)# TYPE iris_global_references_total counteriris_global_references_total 1640566217# HELP iris_routine_commands_total Total routine commands since startup (instance-wide, from SYS.Stats.Routine)# TYPE iris_routine_commands_total counteriris_routine_commands_total 5083780047# HELP iris_db_size_mb Database size in megabytes# TYPE iris_db_size_mb gaugeiris_db_size_mb{db="USER"} 11iris_db_size_mb{db="IRISSYS"} 80{}{ "state": 0, "stateText": "OK", "alertCount": 0, "alerts": [], "lastAlert": ""}{ "namespace": "USER"}{ "namespaces": [ { "namespace": "USER", "productionName": "MyApp.Production", "productionState": "Running", "productionStateCode": 1, "queueDepth": 5, "errorCount24h": 2, "messageCount24h": 1500 } ], "count": 1}{ "action": "reset"}{ "action": "reset", "clearedAt": "2026-04-22T10:50:00Z"}{}{ "jobs": [ { "pid": 1234, "namespace": "USER", "routine": "MyApp.Service", "state": "RUN", "userName": "_SYSTEM", "commandsExecuted": 50000, "globalReferences": 12000, "cpuTime": 45.2 } ], "count": 1}{}{ "locks": [ { "lockName": "^MyGlobal(\"key1\")", "ownerPid": 1234, "owner": "1234", "mode": "Exclusive", "flags": "", "counts": "1" } ], "count": 1}{}{ "currentFile": "C:\\InterSystems\\IRIS\\mgr\\journal\\20260407.001", "primaryDirectory": "C:\\InterSystems\\IRIS\\mgr\\journal", "alternateDirectory": "C:\\InterSystems\\IRIS\\mgr\\journal2", "fileCount": 15, "currentOffset": 524288, "freeSpaceBytes": 53687091200, "state": "Enabled"}{}{ "isMember": false, "mirrorName": "", "memberType": "Not Member", "isPrimary": false, "isBackup": false, "isAsyncMember": false, "status": "This instance is not a mirror member"}{ "username": "_SYSTEM", "maxRows": 5}{ "events": [ { "timestamp": "2026-04-07 10:30:00", "username": "_SYSTEM", "eventSource": "%System", "eventType": "Login", "event": "LoginSuccess", "description": "User logged in", "clientIPAddress": "127.0.0.1", "namespace": "%SYS" } ], "count": 1, "maxRows": 5}{ "name": "USER"}{ "databases": [ { "name": "USER", "directory": "C:\\InterSystems\\IRIS\\mgr\\user", "mounted": true, "readOnly": false, "encrypted": false, "journalState": 2, "sizeMB": 256, "maxSizeMB": 0 } ], "count": 1}{}{ "customerName": "InterSystems", "licenseCapacity": "Community", "expirationDate": "2027-01-01", "connectionLimit": 0, "userLimit": 5, "coresLicensed": 4, "cpusLicensed": 1, "currentCSPUsers": 2}{}{ "configured": false, "status": "ECP not configured"}{ "action": "create", "name": "Daily Purge", "taskClass": "MyApp.Tasks.PurgeOldData", "namespace": "USER"}{ "action": "create", "id": 42, "name": "Daily Purge"}{}{ "tasks": [ { "id": 42, "name": "Daily Purge", "taskClass": "MyApp.Tasks.PurgeOldData", "namespace": "USER", "suspended": "0", "priority": "Normal", "runInterval": "Daily" } ], "count": 1}{ "id": 42}{ "triggered": true, "id": 42, "message": "Task triggered for immediate execution"}{ "taskId": 42, "maxRows": 100}{ "history": [ { "taskName": "Daily Purge", "lastStart": "2026-04-07 02:00:00", "completed": "2026-04-07 02:00:15", "status": "Completed", "result": "Success", "namespace": "USER", "username": "_SYSTEM", "taskId": "42" } ], "count": 1, "total": 1, "maxRows": 100, "truncated": false}{ "action": "get", "section": "config"}{ "section": "config", "properties": { "globals": 400, "routines": 256, "locksiz": 16777216, "MaxServerConn": 1 }}{ "section": "locale", "properties": { "current": "enuw", "availableLocales": ["enuw", "araw", "deuw", "fraw", ...], "localeCount": 36 }}{ "content": [{ "type": "text", "text": "Error retrieving system metrics: <details>" }], "isError": true}