command-line-murders/i-0ef349020c965fd06
by SadServersMore by SadServers
/dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-028b46998ca7b18c9:~$ du ./ 11140 ./agent 4 ./.ansible/tmp 8 ./.ansible 4 ./data 4 ./.config/procps 8 ./.config/asciinema 16 ./.config 8 ./.ssh 5256232 ./ admin@i-028b46998ca7b18c9:~$ df -ht
kihei/i-028b46998ca7b18c9 01:56
by SadServers[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in produ - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /ping --> main.setupRouter.func1 (3 handl[GIN-debug] GET /checkscript/:md5sum --> main.setupRouter.func2 (3 handl[GIN-debug] GET /checkcommand --> main.setupRouter.func3 (3 handl[GIN-debug] GET /gethistory --> main.setupRouter.func4 (3 handl[GIN-debug] GET /getlog --> main.setupRouter.func5 (3 handl[GIN-debug] Listening and serving HTTP on :6767 [GIN-debug] [ERROR] listen tcp :6767: bind: address already in use admin@i-0a03c1c0d563d7772:~/agent$ admin@i-0a03c1c0d563d7772:~/agent$ admin@i-0a03c1c0d563d7772:~/agent$ bash check.sh
paris/i-0a03c1c0d563d7772 04:21
by SadServersadmin 686 0.0 0.9 6740 4540 pts/0 S<s+ 22:25 0:00 bash -l admin 690 0.8 4.1 98188 19416 pts/0 D<l+ 22:25 0:00 /usr/bin/pyth-t paris/i-07602503257110b80 -q -i 2 /var/log/cast/i-076025032571 admin 693 0.0 3.0 24456 14444 pts/0 R<+ 22:25 0:00 /usr/bin/pyth-t paris/i-07602503257110b80 -q -i 2 /var/log/cast/i-076025032571 admin 694 0.0 0.1 2480 512 pts/1 S<s 22:25 0:00 sh -c /bin/baadmin 695 0.0 0.9 6820 4460 pts/1 S< 22:25 0:00 /bin/bash admin 730 0.0 0.6 8648 3160 pts/1 R<+ 22:26 0:00 ps aux admin@i-07602503257110b80:~$ ps aux | grep nginx admin 732 0.0 0.1 5264 640 pts/1 S<+ 22:26 0:00 grep nginx admin@i-07602503257110b80:~$ ps aux | grep apache admin 734 0.0 0.1 5264 640 pts/1 S<+ 22:26 0:00 grep apache admin@i-07602503257110b80:~$ ls agent webserver.py admin@i-07602503257110b80:~$ cat webserver.py