Linux网络测试和测试工具
ifconfig
nslookup
ping
//跟踪路由
traceroute
netstat -r
系统启动引导器和单用户模式
grub
守护进程
运行在后台,直接开机启动,类似于Windows中的服务
- 系统守护进程
 - 网络守护进程
 
ps -ef
查看守护进程优先级
[root@iZwz95jk243fcqv90p12gpZ etc]# pstree
systemd─┬─AliYunDun───15*[{AliYunDun}]
        ├─AliYunDunUpdate───3*[{AliYunDunUpdate}]
        ├─2*[agetty]
        ├─aliyun-service───6*[{aliyun-service}]
        ├─atd
        ├─auditd───{auditd}
        ├─crond
        ├─dbus-daemon
        ├─dhclient
        ├─ntpd
        ├─polkitd───5*[{polkitd}]
        ├─rsyslogd───2*[{rsyslogd}]
        ├─sshd───sshd───bash───pstree
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-udevd
        └─tuned───4*[{tuned}]
守护进程的操作
service ** stop
service ** start
service ** restart
service ** reload  //重新读取配置,不会重启
设置守护进程
ntsysv
Centos6
chkconfig
chkconfig --list
Centos7
systemctl 
systemctl list-unit-files
系统时间同步
date 
hwclock
ntpd
crond



