Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Watching what an agent's sandbox is doing: CPU, memory, disk and run history

Short answer: four CLI commands answer most "what is my agent doing in there?" questions. sandscale sandbox list shows which sandboxes exist, sandscale sandbox metrics ID --follow shows CPU, memory and disk use as it happens, sandscale sandbox logs ID lists the commands that ran, and --run RUN_ID prints one command's output. For code, GET /api/v1/sandbox/runs/{id} returns a run's details and…

To investigate an agent's activity in a sandbox, four CLI commands are sufficient. The command "sandscale sandbox list" displays all existing sandboxes, while "sandscale sandbox metrics ID --follow" provides real-time monitoring of CPU, memory, and disk usage. Another command, "sandscale sandbox logs ID," lists the commands executed within the sandbox, and "--run RUN_ID" displays the output of a specific command.

Detailed run information, including cost, can be retrieved via the API with the GET /api/v1/sandbox/runs/{id} endpoint. Sandboxes can be organized using labels assigned during creation or via the SDK, enabling traceability to specific tasks or pull requests. Unattended sandboxes automatically terminate upon reaching their time limit but remain counted towards the plan's vCPU-hours until then.

The CLI's metrics command shows resource utilization, with "--follow" for continuous updates and "--interval" for custom sampling periods. Streaming live output from commands within a sandbox is possible through the TypeScript SDK, which provides callbacks for stdout and stderr output. The organization's audit log records who started, stopped, and executed commands within a sandbox, ensuring accountability.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Antes de conectar un buscador de destinos a Nominatim: decisiones que debes tomar

Por el equipo de Mapitt , una plataforma venezolana de viajes. Guía documental elaborada con inteligencia artificial; no describe la infraestructura ni las fuentes de datos actuales de Mapitt.

  • Decide between OpenStreetMap and alternative data sources for destination search
  • Choose provider: commercial vendor, own installation, or public service
  • Design app interaction to comply with OpenStreetMap policy and licensing

Here are the best Black Friday iPad deals

The official Amazon Black Friday sale is flying right now with a bananas deal on AirPods Pro 3 at $100 off , an equally wild $400 off M5 MacBook Air , and now even lower prices on the new M6 MacBook…

SSH hardening for a VPS, checked against 60 days of honeypot traffic

Our decoy server received 115,079 SSH connections in 60 days. Its address was never published, so none of them were aimed at us.

  • 115,079 SSH connections received by VPS decoy server in 60 days
  • "root," "ubuntu," "support," and "admin" accounted for 85% of login attempts
  • Root login disabled, key-based authentication enforced, and fail2ban installed

Designing Retry-Safe Customer Intake with PostgreSQL

Disclosure: This draft was generated with AI assistance for GILNEX editorial review. The SQL is an illustrative example, not a verified production implementation. References checked November 27, 2026.

  • Unique "retry key" assigned to each operation, reused after network timeout
  • Simplified client request "fingerprint" saved to detect conflicts
  • PostgreSQL table "intakerequests" with tenantid, requestkey, payloadhash, responseid as primary key

More from Friday 27 November →