您可以使用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/中的日志文件,以了解错误等信息。
-
扫码下载安卓APP
-
微信扫一扫关注我们
微信扫一扫打开小程序
手Q扫一扫打开小程序
-
返回顶部
友情链接:
Copyright © 例子linux |
2022-2025 |
粤ICP备xxxxxxxx号 |
queries in 0.556 s |
主题作者:parklot
发表评论