Yaml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
: http://www.yaml.org/start.html | : http://www.yaml.org/start.html | ||
: http://www.yamllint.com/ | : http://www.yamllint.com/ | ||
== Basic == | |||
=== Multiple lie === | |||
'>' 입력 후 한블럭 들여쓰기 후 문장 입력. | |||
<pre> | |||
description: > | |||
The Asterisk's queued task is too high | |||
1. Get the problem task taskprocessor name | |||
$ sudo asterisk -rx "core show taskprocessors" | awk 'NR>2 {if ($3 > 100) {print $1}}' | |||
2. Do the ping to the problem taskprocessor. | |||
$ sudo asterisk -rx "core ping taskprocessor " | |||
3. Check the response time. | |||
If the response time is 5 sec, we need to restart the Asterisk. | |||
</pre> | |||
== References == | == References == |
Revision as of 11:08, 5 June 2019
Overview
YAML Markup Language 소개 및 사용법 정리
Basic
Multiple lie
'>' 입력 후 한블럭 들여쓰기 후 문장 입력.
description: > The Asterisk's queued task is too high 1. Get the problem task taskprocessor name $ sudo asterisk -rx "core show taskprocessors" | awk 'NR>2 {if ($3 > 100) {print $1}}' 2. Do the ping to the problem taskprocessor. $ sudo asterisk -rx "core ping taskprocessor " 3. Check the response time. If the response time is 5 sec, we need to restart the Asterisk.
References
<references />