Skip to content

Instantly share code, notes, and snippets.

@kamidzi
Created December 24, 2015 16:03
Show Gist options
  • Save kamidzi/4eb719e3d1bc7be7f4d9 to your computer and use it in GitHub Desktop.
Save kamidzi/4eb719e3d1bc7be7f4d9 to your computer and use it in GitHub Desktop.
pr885 output
# Before
root@bcpc-vm1:~# lsof [email protected] -stcp:listen -n -P | sort -k9 -r -u
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 264336 root 6u IPv4 605279 0t0 TCP 192.168.100.11:80 (LISTEN)
apache2 264336 root 7u IPv4 605281 0t0 TCP 192.168.100.11:443 (LISTEN)
root@bcpc-vm1:~# curl -k -I https://192.168.100.{5,11}:443 http://192.168.100.{5,11}
HTTP/1.1 200 OK
x-amz-request-id: tx000000000000000000763-00567c0e3b-1131-default
Content-type: application/xml
Content-Length: 0
Date: Thu, 24 Dec 2015 15:24:43 GMT
HTTP/1.1 500 Internal Server Error
Date: Thu, 24 Dec 2015 15:24:43 GMT
Server: Apache/2.4.7 (Ubuntu)
Connection: close
Content-Type: text/html; charset=iso-8859-1
HTTP/1.1 200 OK
x-amz-request-id: tx00000000000000000064d-00567c0e3b-11c3-default
Content-type: application/xml
Content-Length: 0
Date: Thu, 24 Dec 2015 15:24:43 GMT
HTTP/1.1 500 Internal Server Error
Date: Thu, 24 Dec 2015 15:24:43 GMT
Server: Apache/2.4.7 (Ubuntu)
Connection: close
Content-Type: text/html; charset=iso-8859-1
# After
same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment