-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdebug.sh
More file actions
executable file
·24 lines (20 loc) · 799 Bytes
/
debug.sh
File metadata and controls
executable file
·24 lines (20 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
ps aux > /tmp/ps.txt
ls -al /share/CACHEDEV?_DATA/.qpkg/container-station/* > /tmp/ls.txt
supervisorctl -c /share/CACHEDEV?_DATA/.qpkg/container-station/etc/supervisord.conf status > /tmp/supervisor-status.log
ls -R /share/CACHEDEV?_DATA/.qpkg/container-station/etc/ > /tmp/ls-etc.txt
ls -l /share/CACHEDEV?_DATA/.qpkg/container-station/var/* > /tmp/ls-var.txt
lsof -ni TCP|grep LISTEN > /tmp/listen-ports.txt
docker ps -a > /tmp/docker-ps.txt
docker images > /tmp/docker-image.txt
tar cjvfh container-station-log.tbz \
/etc/platform.conf \
/etc/default_config/uLinux.conf \
/etc/config/uLinux.conf \
/etc/config/qpkg.conf \
/tmp/{ps,ls}.txt \
/tmp/ls-*.txt \
/tmp/docker-*.txt \
/tmp/listen-ports.txt \
/var/log/container-station/* \
/etc/qbus