您可以使用ping来查看系统是否存活:
ping -c4 <system's IP address>
要查看某项服务是否仍然存在,请使用telnet命令:
telnet <system's IP address> 25 (for SMTP)
telnet <system's IP address> 80 (for HTTP)
telnet <system's IP address> 110 (for POP3)
您可以使用SSH(端口22)登录系统(如果您位于Windows PC上,则使用PuTTY ; PuTTY是Windows的SSH客户端),而当您在系统上时,您可以使用一些有用的工具来收集更多信息:
uptime (shows how long the system has been up)
ps aux (shows a list with all running processes)
netstat -tap (shows a list of all services that are listening on some port)
top (shows the system load)
dmesg (shows bootup messages of the last boot)
您还可以查看/ var / log /
中的日志文件来了解错误等。