LinuxHelps.com

A blog for Linux Lovers.

Archive for the 'Monitoring Tools' Category


Options Directive

Saturday, October 17th, 2009
Apache, Monitoring Tools | No Comments »

Using this Options directive controls  we can set server features  for a particular directory.
Options  can be set to None, in which case none of the extra features are enabled.
All :
All options except for MultiViews. (Default Settings).
ExecCGI :
Execution of CGI scripts using mod_cgi is permitted.
FollowSymLinks :
The server will follow symbolic links in this directory.
Includes :
Server-side includes [...]

Commands to monitor the process.

Sunday, September 20th, 2009
Monitoring Tools | No Comments »

Find Out The Top 10 Memory Consuming Process
# ps -auxf | sort -nr -k 4 | head -10
Find Out top 10 CPU Consuming Process
# ps -auxf | sort -nr -k 3 | head -10
Max cpu resource usage
# ps -eo pcpu,pid,user,args | sort -r -k1 | more
To get the long list of a process, if [...]

tcptrack Installations.

Tuesday, March 10th, 2009
Monitoring Tools | No Comments »

tcptrack provides a packet sniffer that displays TCP connections similarly to ‘top’.
tcptrack is a packet sniffer, which passively watches for connections on a specified network interface, tracks their states, and lists them in a manner similar to the Unix ‘top’ command.
It displays source and destination addresses and ports, connection state, idle time, and bandwidth usage.
[...]

MRTG

Tuesday, March 3rd, 2009
Monitoring Tools | No Comments »

MRTG (Multi Router Traffic Grapher) is an application that allows us to observe the traffic of a network.
Before Mrtg installation we have to install SNMP on the server.
#yum install net-snmp-utils net-snmp
And we start the server.
# chkconfig –level 345 snmpd
We can see that it is running in port 199.
# service snmpd start

# netstat -natv | [...]