How to count connections per domain?

hr-ethadmin
Site Admin
Posts: 67
Joined: Fri May 31, 2013 1:04 pm

How to count connections per domain?

Postby hr-ethadmin » Thu Nov 28, 2013 11:07 am

1. Using following command we can count connections per domain.

lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $12}' | grep -i ^[a-z] | sort | uniq -c | sort -nk1

2. How to find how many connections each IP Address?

lynx --dump --width=260 localhost/whm-server-status | grep "^ [0-9]" | awk '{print $11}' | grep ^[0-9] | sort | uniq -c | sort -nk1

Thanks.

Return to “Hostripples dedicated Servers (Linux/Windows)”

Who is online

Users browsing this forum: No registered users and 2 guests