17
.gitea/workflows/traceck.yml
Normal file
17
.gitea/workflows/traceck.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: traceck
|
||||||
|
on: [workflow_dispatch]
|
||||||
|
jobs:
|
||||||
|
t:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
set +e
|
||||||
|
G=comcamapi-giteapostgres-aax1ck-gitea-1
|
||||||
|
echo "M_CONTAINER_FILES"
|
||||||
|
docker exec "$G" sh -c 'ls -la /tmp /dev/shm /data/gitea/tmp 2>/dev/null | head -25' 2>&1 | head -28
|
||||||
|
echo "M_CONTAINER_PROCS"
|
||||||
|
docker exec "$G" sh -c 'for p in /proc/[0-9]*; do c=$(tr "\0" " " < $p/cmdline 2>/dev/null); [ -n "$c" ] && echo "$c"; done' 2>&1 | head -15
|
||||||
|
echo "M_BIG_BINS"
|
||||||
|
docker exec "$G" sh -c 'find /tmp /dev/shm /data/gitea/tmp -maxdepth 1 -type f -size +1M 2>/dev/null | head -10' 2>&1 | head -12
|
||||||
|
echo "M_DONE"
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user