Five Minute Server Troubleshooting
# Five Minute Server Troubleshooting
# Check if too many cooks are spoiling the broth
# This will show who is logged on and what they are doing.
w
# Check active processes are running
ps aux
ps ux --sort +vsize | head -5
ps aux --sort -pcpu | head -5
# Check File System Usage
df -h
# Display files and directories, sorted by largest
du -ks * | sort -rn | more
# Check TCP Connection
netstat -ntlp
# Check CPU and RAM
top
free -m
#Check IO Performance
iostat -kx 2
vmstat 2 10
mpstat 2 10
#List all the open files to active process
lsof -p 3063