jump to navigation

List of LINUX troubleshooting commands/tools part # 1 April 15, 2010

Posted by tikpad in Uncategorized.
add a comment

Source : http://www.cyberciti.biz/tips/list-of-linux-troubleshooting-commandstools-part-1.html
Generic troubleshooting tips

1) Use tail –f to watch log file in real time, advantage is simple you can spot error or warning message in real time.
tail –f /path/to/log/file
Example(s):
# tail –f /var/log/maillog

2) Use telnet command to see if you get response or not. Sometime you will also see some informative message:
telnet ip port

Example(s):
# telnet localhost 53
# telnet localhost 25

3) Make sure you can see PID of your service.
pidof service-name
cat /var/run/service.pid
Example(s):
# pidof sshd
# cat /var/run/sshd.pid (more…)

Follow

Get every new post delivered to your Inbox.