Отчита всички tcp конекции на 80 порт:
lsof -ni TCP:80|grep „ESTABLISHED“|wc -l
Отчита клиентите на TCP/80
lsof -ni TCP:80|grep „ESTABLISHED“|awk -F ‘www->’ ‘{print $2}’|awk -F ‘:’ ‘{print $1}’|sort|uniq|wc -l
Отчита всички tcp конекции на 80 порт:
lsof -ni TCP:80|grep „ESTABLISHED“|wc -l
Отчита клиентите на TCP/80
lsof -ni TCP:80|grep „ESTABLISHED“|awk -F ‘www->’ ‘{print $2}’|awk -F ‘:’ ‘{print $1}’|sort|uniq|wc -l
Logged in as {{omniform_current_user_display_name}}. Edit your profile. Log out? Required fields are marked *
Your email address will not be published. Required fields are marked *
Comments are closed.
You must be logged in to post a comment.