1

lsof -i

List all opened Internet and x.25 (HP-UX) network files.

redaudit's picture
Submitted by redaudit 1 year 5 weeks ago – Made popular 1 year 5 weeks ago
Category: Linux   Tags:
1

netstat -na

Show listening and established connections.

redaudit's picture
Submitted by redaudit 1 year 5 weeks ago – Made popular 1 year 5 weeks ago
Category: Windows   Tags:
0

netstat -tunapel

Show detailed information for all connections (Protocol, Listening Address, Foreign Address, State, User, Inode, and PID/Program Name).

redaudit's picture
Submitted by redaudit 1 year 5 weeks ago – Made popular 1 year 5 weeks ago
Category: Linux   Tags:
2

tail -10000 /var/log/httpd/access_log | awk '{print $1}' | sort | uniq -c | sort -nr | tail -n30

Show the top 30 httpd users' IP addresses.

redaudit's picture
Submitted by redaudit 1 year 5 weeks ago – Made popular 1 year 5 weeks ago
Category: Linux   Tags:
1

last | head -n30

Show last logged in users and pipe to head for the last 30.

redaudit's picture
Submitted by redaudit 1 year 5 weeks ago – Made popular 1 year 5 weeks ago
Category: Linux   Tags:
Page generated in: 0.001825 seconds.