Files
html/api/v76-scripts/skill-inode-usage.sh

7 lines
266 B
Bash
Executable File

#!/bin/bash
# V27 V89 scale - Opus WIRE continue - Skill: inode-usage
# Description: Inode usage
# Whitelist-safe timeout 8s
set -e
timeout 8 bash -c 'df -i / | awk 'NR==2 {print $5}'' 2>&1 || echo "{\"skill\":\"inode-usage\",\"error\":\"timeout_or_missing_tool\"}"