Database Reference
In-Depth Information
ar -r : This command provides the system statistics including memory
information. You can also collect the performance data to a file using the
sar command.
mpstat : This command provides the processor stats.
netstat : This command provides the network statistics. The following
commands list the incoming and outgoing network connections to a text
file.
$netstat -na > network.txt
$netstat -nr
$route -nee
$ifconfig -a
• The following commands will provide information about the host's config-
uration within your Linux server:
• Host network configuration
$cat /etc/sysconfig/
network
• Host IP address and fully qualified name
$cat /etc/hosts
• Resolve DNS server
$cat /etc/resolv.conf
traceroute : This command gives the network route details
between the client and server taken at a given time.
kill -e {pid} : This command takes the thread dump. Re-
place {pid} with the JVM process ID. The thread dump is
useful for analyzing the stuckthread error.
df -k : This command gives the disk utilization in kilo bytes. Sometimes
you will get file full errors as the disk space may be fully occupied due to
logfiles. The file /etc/fstab provides additional information about the
disk configuration.
Search WWH ::




Custom Search