Wednesday, January 28, 2015

Show all active TCP connections

To display all active TCP connections, at your command prompt:
netstat -tnlp
For example, from an AWS instance setup for serving web pages:
[root@t2-micro ssh]# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address        Foreign Address       State       PID/Program name
tcp        0      0 0.0.0.0:80           0.0.0.0:*             LISTEN      2201/nginx
tcp        0      0 0.0.0.0:22           0.0.0.0:*             LISTEN      5103/sshd
tcp        0      0 127.0.0.1:9000       0.0.0.0:*             LISTEN      2197/php-fpm
tcp        0      0 0.0.0.0:3306         0.0.0.0:*             LISTEN      2723/mysqld
tcp        0      0 :::22                :::*                  LISTEN      5103/sshd

Friday, January 9, 2015

I've been a fan of Seagate since the venerable 2080. Seagate used to be the "go to" drive, but that no longer appears to be true.

A few years ago I started buying the FreeAgent GoFlex desktop external (USB 3.0) drives for backup purposes. Since it's used for backup, I need it to be reliable and why I went with Seagate (instead of Western Digital).

Both have failed and Seagate has swapped them out per warranty - no problems there. Guess what? One of the replacements has now failed and I no longer trust the other to not fail soon.

Time to start looking for a large SSD to be the replacement...