掌握excel固定单元格技巧,让数据管理更高效
1030
2022-05-30
ECS信息
规格:2vCPUs | 4GiB | kc1.large.2
镜像:openEuler 20.03 64bit with ARM | 公共镜像
linux systemctl 查看服务的状态、runlevel和target的对应关系
IP地址已做隐藏处理
# systemctl status sshd.service ● sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2021-09-26 16:48:16 CST; 5h 34min ago Docs: man:sshd(8) man:sshd_config(5) Main PID: 1902 (sshd) Tasks: 1 Memory: 24.2M CGroup: /system.slice/sshd.service └─1902 /usr/sbin/sshd -D Sep 26 21:39:42 ecs-4eee sshd[3571]: rexec line 153: Deprecated option RSAAuthentication Sep 26 21:39:42 ecs-4eee sshd[3571]: rexec line 155: Deprecated option RhostsRSAAuthentication Sep 26 21:49:18 ecs-4eee sshd[3699]: rexec line 153: Deprecated option RSAAuthentication Sep 26 21:49:18 ecs-4eee sshd[3699]: rexec line 155: Deprecated option RhostsRSAAuthentication Sep 26 22:00:53 ecs-4eee sshd[3924]: rexec line 153: Deprecated option RSAAuthentication Sep 26 22:00:53 ecs-4eee sshd[3924]: rexec line 155: Deprecated option RhostsRSAAuthentication Sep 26 22:00:53 ecs-4eee sshd[3924]: Connection from XXX.XXX.XXX.XXX port 50408 on XXX.XXX.XXX.XXX port 22 rdom Sep 26 22:00:53 ecs-4eee sshd[3924]: Connection reset by XXX.XXX.XXX.XXX port 50408 [preauth] Sep 26 22:11:52 ecs-4eee sshd[4044]: rexec line 153: Deprecated option RSAAuthentication Sep 26 22:11:52 ecs-4eee sshd[4044]: rexec line 155: Deprecated option RhostsRSAAuthentication
# systemctl is-enabled sshd.service enabled
# pwd /lib/systemd/system # ll | grep runlevel lrwxrwxrwx. 1 root root 15 Mar 24 2020 runlevel0.target -> poweroff.target lrwxrwxrwx. 1 root root 13 Mar 24 2020 runlevel1.target -> rescue.target drwxr-xr-x. 2 root root 4.0K Mar 24 2020 runlevel1.target.wants lrwxrwxrwx. 1 root root 17 Mar 24 2020 runlevel2.target -> multi-user.target drwxr-xr-x. 2 root root 4.0K Mar 24 2020 runlevel2.target.wants lrwxrwxrwx. 1 root root 17 Mar 24 2020 runlevel3.target -> multi-user.target drwxr-xr-x. 2 root root 4.0K Mar 24 2020 runlevel3.target.wants lrwxrwxrwx. 1 root root 17 Mar 24 2020 runlevel4.target -> multi-user.target drwxr-xr-x. 2 root root 4.0K Mar 24 2020 runlevel4.target.wants lrwxrwxrwx. 1 root root 16 Mar 24 2020 runlevel5.target -> graphical.target drwxr-xr-x. 2 root root 4.0K Mar 24 2020 runlevel5.target.wants lrwxrwxrwx. 1 root root 13 Mar 24 2020 runlevel6.target -> reboot.target -rw-r--r--. 1 root root 801 Mar 24 2020 systemd-update-utmp-runlevel.service
帮助文档(部分)
# systemctl -h systemctl [OPTIONS...] {COMMAND} ... Query or send control commands to the systemd manager. -h --help Show this help --version Show package version --system Connect to system manager --user Connect to user service manager -H --host=[USER@]HOST Operate on remote host ......
学习资料
弹性云服务器 ECS
openEuler-官网
openEuler-B站
openEuler-慕课
openEuler-文档
鲲鹏社区
欢迎各位同学一起来交流学习心得^_^
Linux openEuler
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。