# How do I ask my AI to check my Linux server without giving it write access? Connect your AI to the server with CMDOP and leave it read-only, as a new agent is by default. It can then read the machine's CPUs, memory, disks and uptime (sys\_info), take one CPU and memory sample (sys\_metrics), list the processes the CMDOP user started (proc\_list) and see how much disk AI agents' files and developer caches use (disk\_usage). It changes nothing. Facts read: 2026-11-30 ## What you get [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#what-you-get-title) A first look at a server from the chat or from Claude Code, before you log in: is memory short, is a disk nearly full, how long has it been up, what that you started is still running. Nothing on the server is changed. ## What you need [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#need-title) - A Linux or macOS computer with CMDOP installed and online on your page. - Your AI connected to it: ChatGPT or Claude Code, over MCP. - Nothing switched on beyond the default. All four tools below are in the `read` class, which a new agent already has. On a Mac: [Download for Mac](https://install.cmdop.ai/download/macos/universal2?format=app-zip). On Linux and servers: ```text curl -fsSL https://install.cmdop.ai | sh ``` - [A home Linux server without an SSH key](https://cmdop.ai/academy/lessons/home-linux-server-without-ssh-key.md) - [Connect ChatGPT over MCP](https://docs.cmdop.ai/guides/connect/chatgpt) - [Connect Claude Code](https://docs.cmdop.ai/guides/connect/claude-code) ## Four tools, all read-only [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#tools-title) What each tool reads | Tool | What it returns | | --- | --- | | sys\_info | Host name, OS and version, architecture, CPUs, memory, disks with their available space, uptime, and the user CMDOP runs as. | | sys\_metrics | One sample of CPU use and memory across the system the program can see. These are system values, not the limits of one service or group. | | proc\_list | Processes of the CMDOP user that a person or an agent started: pid, parent, command line, folder, start time and who started it. An optional `filter` narrows it by name. System helpers are only counted; other users' processes are never shown. | | disk\_usage | How much disk AI agents' own files and developer caches take, per folder, and how much a clean would reclaim. You can limit it with `targets` and `older_than_days`. If the walk hit its limit, the numbers are a lower bound. | - [Read machine information](https://docs.cmdop.ai/reference/tools/sys_info) - [sys\_metrics](https://docs.cmdop.ai/reference/tools/sys_metrics) - [proc\_list](https://docs.cmdop.ai/reference/tools/proc_list) - [disk\_usage](https://docs.cmdop.ai/reference/tools/disk_usage) ## Ask for it [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#ask-title) In a chat with CMDOP added, or in Claude Code, write one of these. - How much memory and disk space is left on my server? - Is anything I started still running on my server? - How much space do AI agent files and caches take on this machine? ## Read the answer for what it is [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#read-honestly-title) - One sample is a moment, not a trend. Ask again a few minutes later to see a change. - The process list shows what was started and by whom, not how much CPU or memory each process uses. - `disk_usage` is not a whole-disk scan. How full each disk is comes from `sys_info`. ## What it does not do [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#does-not-title) It does not fix anything. Cleaning files or stopping processes needs other rights, which you would switch on separately for that agent; they are not part of this check. - [The limited-access checklist](https://cmdop.ai/academy/lessons/limited-access-checklist.md) - [Choose what an agent may do](https://docs.cmdop.ai/guides/access) ## Check what it did [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#check-title) The computer's own record shows each call under the agent's name, with the time. A person at the machine can pause all agents at once. - [The record of calls](https://docs.cmdop.ai/concepts/audit-and-history) - [Pause and presence](https://docs.cmdop.ai/guides/pause-and-presence) ## Limits [Section on website](https://cmdop.ai/academy/lessons/ask-ai-to-check-linux-server-resources#limits-title) - Linux and macOS computers. Windows is not supported yet. - Only what the four tools return: no per-process load, no history of samples, no whole-disk breakdown. - Processes of other users on the server are never shown. - [Feature status](https://docs.cmdop.ai/help/feature-status) ## Related materials - [A home Linux server for Claude Code or Codex, no SSH key](https://cmdop.ai/academy/lessons/home-linux-server-without-ssh-key.md) - [Limited access for an AI agent: a checklist](https://cmdop.ai/academy/lessons/limited-access-checklist.md) - [Upload a large file to your computer from code](https://cmdop.ai/academy/lessons/upload-file-to-your-computer-from-code.md) [All materials in this path](https://cmdop.ai/academy.md)