본문 바로가기
리눅스

act-sys 명령어 사용방법

by 모두의IT 2023. 11. 9.
반응형

 

ct-sys 명령어는 AWS Systems Manager의 Automation을 실행하는 데 사용되는 명령줄 유틸리티입니다. 이 명령어를 사용하여 Automation을 시작, 중지, 재시작, 삭제할 수 있습니다.

act-sys 명령어의 사용법은 다음과 같습니다.

act-sys [옵션] 명령

옵션은 다음과 같습니다.

  • -h, --help: 도움말을 표시합니다.
  • -a, --automation-name: Automation의 이름을 지정합니다.
  • -r, --region: Automation을 실행할 리전을 지정합니다.
  • -t, --tags: Automation에 태그를 지정합니다.

명령은 다음과 같습니다.

  • start: Automation을 시작합니다.
  • stop: Automation을 중지합니다.
  • restart: Automation을 재시작합니다.
  • delete: Automation을 삭제합니다.

예를 들어, 다음 명령은 "my-automation"이라는 이름의 Automation을 시작합니다.

act-sys start -a my-automation

다음 명령은 "us-east-1" 리전에서 "my-automation"이라는 이름의 Automation을 중지합니다.

act-sys stop -a my-automation -r us-east-1

다음 명령은 "my-automation"이라는 이름의 Automation에 "tag1=value1" 및 "tag2=value2"라는 태그를 지정합니다.

act-sys tag -a my-automation -t tag1=value1 -t tag2=value2

다음 명령은 "my-automation"이라는 이름의 Automation을 삭제합니다.

act-sys delete -a my-automation

자세한 내용은 AWS Systems Manager Automation 설명서를 참조하십시오.

반응형

'리눅스' 카테고리의 다른 글

init 명령어 사용법  (0) 2023.11.09
리눅스 su 명령어 사용방법  (0) 2023.11.09
sync 명령어 사용방법  (0) 2023.11.09
마인 크레프트 서버 중지 stopmc 명령어  (0) 2023.11.09
리눅스 ls 명령어 사용법  (1) 2023.11.08