Skip to content

measure.sh does not work. #43

@woodsaj

Description

@woodsaj

firstly nc -c localhost 2003 is invalid syntax for netcat.

from the man page

-c string    specify shell commands to exec after connect (use with caution).  The string is passed to /bin/sh -c for execution.  See the -e option if you don't  have  a  working
                    /bin/sh (Note that POSIX-conformant system must have one).

also, on my standaard Ubuntu14.04 machine, the rest of the command fails to collect any metrics.

I think instead of using TOP, i feel that we should use docker stats which is designed for measuring resource of containers.

This command will fetch the stats of all running containers.

docker stats $(docker ps|awk '{print $(NF)}'|grep -v NAMES|xargs echo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions