Created
July 13, 2015 18:06
-
-
Save alexmoleiro/1771ae2ecdbb7612964e to your computer and use it in GitHub Desktop.
Ip conectadas a mi server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private function setStrIPsConectadas(){ | |
| echo $this->ipConectadasStr= shell_exec("netstat -atun | awk '{print $5}' | cut -d: -f1 | sed -e '/^$/d' |sort | uniq -c | sort -n"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment