명령을 실행하면 systemctl status
다음과 같은 결과가 출력됩니다.
[root@192 ~]# 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 Fri 2022-04-29 21:48:45 PDT; 3min 43s ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 1288 (sshd)
Tasks: 1 (limit: 100917)
Memory: 2.2M
CGroup: /system.slice/sshd.service
└─1288 /usr/sbin/sshd -D [email protected],[email protected],aes256-ctr,aes256-cbc,[email protected],aes128-c>
Apr 29 21:48:45 localhost.localdomain systemd[1]: Starting OpenSSH server daemon...
Apr 29 21:48:45 localhost.localdomain sshd[1288]: Server listening on 0.0.0.0 port 22.
Apr 29 21:48:45 localhost.localdomain sshd[1288]: Server listening on :: port 22.
Apr 29 21:48:45 localhost.localdomain systemd[1]: Started OpenSSH server daemon.
[root@192 ~]#
보시다시피 CGroup 출력이 잘립니다(마지막 >문자 참고). 전체 출력을 어떻게 얻을 수 있나요?