amend gitignore

This commit is contained in:
2026-07-23 15:23:47 +08:00
parent 6f34caf845
commit 3d62194fec
19 changed files with 875 additions and 597 deletions
+52
View File
@@ -0,0 +1,52 @@
#!/bin/sh
echo "========================================="
echo " Container Environment Test"
echo "========================================="
echo ""
echo "[1] Process Info"
echo " PID: $$"
echo " User: $(id)"
echo " Home: $HOME"
echo " Shell: $SHELL"
echo ""
echo "[2] Hostname"
echo " $(hostname)"
echo ""
echo "[3] Process List"
ps aux 2>/dev/null || echo " ps not available, using /proc"
echo " PIDs in /proc:"
ls -d /proc/[0-9]* 2>/dev/null | head -20
echo ""
echo "[4] Network Interfaces"
ip addr 2>/dev/null || ifconfig 2>/dev/null || echo " no network tools, reading /proc/net"
cat /proc/net/dev 2>/dev/null | head -5
echo ""
echo "[5] Mount Points"
mount 2>/dev/null || cat /proc/mounts 2>/dev/null | head -20
echo ""
echo "[6] Filesystem Root"
ls /
echo ""
echo "[7] Memory Limits"
cat /proc/meminfo 2>/dev/null | head -3
echo ""
echo "[8] Capabilities"
cat /proc/self/status 2>/dev/null | grep -i cap
echo ""
echo "[9] Seccomp Mode"
cat /proc/self/status 2>/dev/null | grep Seccomp
echo ""
echo "========================================="
echo " Test Complete"
echo "========================================="