tatsuo48 / ecsource

ECS Task Definition tool to display resources such as CPU, memory, and memory reservations in an easy-to-read format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecsource

ECS Task Definition tool to display resources such as CPU, memory, and memory reservations in an easy-to-read format.

$ ecsource filename
+----------------------+-----+--------+-------------------+
|         NAME         | CPU | MEMORY | MEMORYRESERVATION |
+----------------------+-----+--------+-------------------+
| Task Setting         | 512 |   1024 |              1024 |
| datadog-agent        |   0 |      0 |               100 |
| nginx                |   0 |      0 |               200 |
| webapp               |   0 |      0 |               424 |
| nr_infra_agent       |   0 |      0 |               100 |
| nr_apm_daemon        |   0 |      0 |               100 |
| log_router           |   0 |      0 |               100 |
| sum of all container |   0 |      0 |              1024 |
+----------------------+-----+--------+-------------------+
|       LEFTOVER       | 512 |  1024  |         0         |
+----------------------+-----+--------+-------------------+

how to install

go install github.com/tatsuo48/ecsource

or

brew install tatsuo48/tap/ecsource

About

ECS Task Definition tool to display resources such as CPU, memory, and memory reservations in an easy-to-read format.


Languages

Language:Go 95.5%Language:Makefile 4.5%