1
누구나 다음 출력의 마지막 줄 "-813"의 의미는 무엇인지 설명 할 수 있습니까? systemctl 출력의 대부분이 다음과 같은 이유에서 "-"로 시작하는 이유는 무엇입니까? "| -".리눅스 Systemd Cgroup 문자 의미 '`'
systemctl status timemaster
timemaster.service - Synchronize system clock to NTP and PTP time sources
Loaded: loaded (/usr/lib/systemd/system/timemaster.service; enabled)
Active: active (running) since Wed 2016-10-26 20:24:37 CEST; 14h ago
Main PID: 806 (timemaster)
CGroup: /system.slice/timemaster.service
|-806 /usr/sbin/timemaster -f /etc/timemaster.conf
|-812 /usr/sbin/ntpd -u ntp:ntp -g -n -c /var/run/timemaster/ntp.conf
`-813 /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -S -i eth4
출력이 다른 동일한 명령입니다. 그렇지 않으면 "└─"로 끝날 것입니다. 그것은 아무것도 의미하지 않는다
systemctl status timemaster.service
● timemaster.service - Synchronize system clock to NTP and PTP time sources
Loaded: loaded (/usr/lib/systemd/system/timemaster.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2016-10-28 12:48:10 WEST; 1h 58min ago
Main PID: 676 (timemaster)
CGroup: /system.slice/timemaster.service
├─676 /usr/sbin/timemaster -f /etc/timemaster.conf
└─686 /usr/sbin/chronyd -u chrony -n -f /var/run/timemaster/chrony.conf
많은 감사
그러나 왜 어떤 경우 다른 출력이 사용됩니까? 또 다른 차이점은 "상자 그리기 문자"의 변형에는 유니 코드 글 머리 기호 ("●")도 포함된다는 것입니다. –
아마도'systemctl'은 로케일을 기반으로하는 문자의 사용시기와 터미널 출력 여부를 결정합니다. –
시리얼 tty를 통해 첫 번째 버전을 얻습니다. – Shuangistan