본문 바로가기

IT

Linux Service 리스트 확인

반응형

리눅스에서 어떤 서비스가 돌아가고 있는지 확인하기 위해서는

systemctl 명령으로 확인이 가능하다

systemctl --type=service

명령으로 확인이 가능한데 너무 많이 나온다

내가 궁금한것은 현재 실행중인 서비스인데

이경우

systemctl --type=service --state=running

그리고 서비스 시작에 실패한 것만 추려 보려면

systemctl --type=service --state=failed

 

로 확인 가능하다

systemctl --type=service --state=failed,exited

같은 형태로 사용할 수 있다

systemctl list-units --type=service --state=running
systemctl list-unit-files --state=enabled
systemctl list-unit-files
systemctl list-unit-files --state=enabled,failed
반응형

'IT' 카테고리의 다른 글

Debian release upgrade  (0) 2023.08.29
Kali linux에 Openvas(gvm)설치하기  (0) 2023.08.29
편리한 네이버 일기 예보비교  (0) 2023.08.14
Ubuntu 22.04.3 LTS  (0) 2023.08.12
Asus 공유기 긴급 업데이트  (0) 2023.06.30