Need to monitor Linux server performance?

Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues.
The commands shown below are the basic commands when it comes to system analysis and debugging server issues:

Continue Reading…

Slurm – network load monitor

Valic —  July 15, 2010 — 1 Comment

Slurm started as a port of pppstatus to FreeBSD and now is a generic curses based network load monitor.

It was then transformed into a generic network load monitor that supports *BSD, Linux, HP-UX, and Solaris.

Slurm shows `realtime’ traffic statistics, has three graph modes, can monitor any network device, and uses curses to draw ascii graphics, including ascii theme support.

Step 1. Installation:

apt-get install slurm

Step 2. Slurm usage:

Continue Reading…

DarkStat is a simple Packet Sniffing Network Bandwidth monitoring Tool forDebian and other Linux distributions. DarkStat gives simple web based output with nice graphs and statistics , it will automatically refreshed. Darkstat uses a very low footprint and the memory, CPU usage.

Step 1. Installation:

apt-get install darkstat

Step 2. How to use darkstat:

1. Running darkstat for eth0 :

darkstat -i eth0

NOTE: Now darkstat will start and run in background.

Step 3. View stats:

In your Browser type the address:

Continue Reading…

Tutorial TCPdump

Valic —  June 28, 2010 — Leave a comment

TCPdump is a very powerful command line interface packetsniffer.

Step 1. Install TCPdump

apt-get install tcpdump

Stept 2. TCPdump use

Step 2.1 To display the Standard TCPdump output:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
15:14:25.060050 IP > UDP, length 229
15:14:25.060071 IP > UDP, length 374
15:14:25.060213 IP > UDP, length 78
15:14:25.060236 IP > UDP, length 20
15:14:25.060240 IP > UDP, length 221
15:14:25.060481 IP > UDP, length 163
15:14:25.060694 IP > UDP, length 224
15:14:25.060731 IP > 65251+ PTR? (43)
15:14:25.060830 IP > UDP, length 113
15:14:25.060851 IP > P 2328008232:2328008428(196) ack 4034406897 win 410
15:14:25.060910 IP > UDP, length 109
15:14:25.060966 IP > UDP, length 74
15:14:25.061020 IP > UDP, length 117

Step 2.2 Network interfaces available for the capture:

Continue Reading…

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources.

Step 1. Installation:

apt-get install vnstat

Step 2. Select the interface you wish to monitor:

for eth0 :

vnstat -u -i eth0

Repeat this changing eth0 for each interface you wish to monitor.

NOTE: Once the text database have been initialised you’re ready to monitor your bandwidth usage. The package installs a cronjob which will update the database every five minutes.

Continue Reading…

Page 3 of 41234