# List Port

# usage

Usage: oredge port list [partition] [OPTIONS]

OPTIONS:
    --page integer                     page, 1(default).
    --page-size integer                page size, 20(default).
    --partition                        partition id.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. list port.
# oredge port list --partition 1
ID    PARTITION    TYPE          PORT START    PORT END    CREATE TIME            MODIFY TIME        
1     1            http          80            80          1969-12-31 19:33:41    1969-12-31 19:33:41
4     1            http          7002          7002        1969-12-31 19:33:41    1969-12-31 19:33:41
5     1            http          8004          8007        1969-12-31 19:33:41    1969-12-31 19:33:41
3     1            http_proxy    7000          7000        1969-12-31 19:33:41    1969-12-31 19:33:41
2     1            https         443           443         1969-12-31 19:33:41    1969-12-31 19:33:41