What process is listening on a certain port on Solaris?

后端 未结 11 1195
情话喂你
情话喂你 2020-12-13 02:24

So I log into a Solaris box, try to start Apache, and find that there is already a process listening on port 80, and it\'s not Apache. Our boxes don\'t have lsof installed,

11条回答
  •  [愿得一人]
    2020-12-13 03:14

    You might not want to, but your best bet is to grab the sunfreeware CD and install lsof.

    Other than that, yes you can grovel around in /proc with a shell script.

提交回复
热议问题