kihei/i-0ee7dc3aa4135ee9a
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 SadServers_chrony 590 0.0 0.1 10724 556 ? S 09:28 0:00 /usr/sbin/chrroot 599 0.0 3.7 26612 17340 ? Ss 09:28 0:00 /usr/bin/pythroot 678 0.0 0.0 0 0 ? I 09:28 0:00 [kworker/1:4-admin 682 0.0 0.9 6704 4572 pts/0 S<s+ 09:28 0:00 bash -l admin 686 0.0 4.1 98188 19244 pts/0 R<l+ 09:28 0:00 /usr/bin/pythadmin 689 0.0 3.1 24456 14512 pts/0 S<+ 09:28 0:00 /usr/bin/pythadmin 690 0.0 0.1 2480 572 pts/1 S<s 09:28 0:00 sh -c /bin/baadmin 691 0.0 0.9 6820 4560 pts/1 S< 09:28 0:00 /bin/bash root 872 0.0 0.0 0 0 ? I 09:34 0:00 [kworker/1:1]admin 873 0.0 0.6 8648 3152 pts/1 R<+ 09:34 0:00 ps aux admin@i-041d7351af3904de5:~$ ps aux | grep 5000 admin 906 0.0 0.1 5264 636 pts/1 S<+ 09:35 0:00 grep 5000 admin@i-041d7351af3904de5:~$ ls -i :5000 ls: cannot access ':5000': No such file or directory admin@i-041d7351af3904de5:~$