juliansoares
(usa Debian)
Enviado em 23/01/2012 - 21:37h
phrich escreveu:
Desculpe, já faço esse comando no automático que esqueci de um detalhe (falha no engano), o comando correto é:
"lsof -i: porta" (com o espaço entre o comando, o parâmetro e após o ":").
warmachine openvpn # lsof -i: 1194
lsof: unacceptable port specification in: -i :
lsof 4.81
latest revision:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-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.
warmachine openvpn # lsof -i 1194
lsof: unknown protocol name (1194) in: -i 1194
lsof 4.81
latest revision:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-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.
warmachine openvpn # lsof -i : 1194
lsof: unacceptable port specification in: -i :
lsof 4.81
latest revision:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-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.
warmachine openvpn #
tentei esses 3 jeitos e nada...