Home arrow Monitoring arrow Admin way
Administrator's way of monitoring PDF
Friday, 15 July 2005
Monitoring a FreeBSD server from command line

  • netstat
  • systat
  • iftop and nload

Install nload to see your used bandwidth.
-----------------------------------------------
(/usr/ports/net/nload)

Usage:
#nload -i 1024 -o 1024 fxp0

where: -i 1024, incoming traffic, -o 1024 outgoing traffic, fxp0, your network interface. Change to your values.



Install iftop to see your server traffic.
------------------------------------------
(/usr/ports/net-mgmt/iftop)

Usage:
#iftop -i fxp0

where: fxp0 is your network interface.



Netstat
--------
Use netstat to find a lot of information regarding your server/network connections, routes.

#netstat -r          # display your routing table

#netstat -a         # display your active sockets for each network  
                            protocol


for detalied informations please read man page: netstat(1).


Systat
-------
Use systat to display different statistics. Please read man page: systat(1).


Last Updated ( Sunday, 27 November 2005 )
 

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?