command-line-murders/i-00d4d37547b25a602
by SadServersMore by SadServers
latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/L usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. admin@i-0d46f6faaf9ff441c:~$ lsof -n -i :5000 admin@i-0d46f6faaf9ff441c:~$ netstat -tulpn | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0d46f6faaf9ff441c:~$ nc localhost 5000 ^C admin@i-0d46f6faaf9ff441c:~$ tel
paris/i-0d46f6faaf9ff441c 02:23
by SadServerswrite(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-08a24784aa14064f9:~$ admin@i-08a24784aa14064f9:~$ admin@i-08a24784aa14064f9:~$ strace /home/admin/kihei
kihei/i-08a24784aa14064f9 01:20
by SadServers=5,direct,pipe_ino=9613) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatimconfigfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaortname=mixed,utf8,errors=remount-ro) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexecadmin@i-002fcecc6e43c1be2:~$ ps aux | grep webserver root 579 0.0 5.9 33040 27944 ? Ss 13:14 0:00 /usr/bin/pyth.py admin 935 0.0 0.1 5264 704 pts/1 S<+ 13:21 0:00 grep webserveadmin@i-002fcecc6e43c1be2:~$