Files
html/api/v76-scripts/skill-perf-swap.sh

7 lines
278 B
Bash
Executable File

#!/bin/bash
# V31 batch generator - Opus WIRE doctrine 13+7 - Skill: perf-swap
# Description: Swap usage
# Whitelist-safe timeout 8s
set +e
timeout 8 bash -c "free -h | grep Swap | awk '{print $3}'" 2>&1 || echo "{\"skill\":\"perf-swap\",\"error\":\"timeout_or_missing_tool\"}"