On 03/16/2016 09:48 PM, Stéphane Graber wrote:
On Wed, Mar 16, 2016 at 09:37:11PM +0100, Tamas Papp wrote:
hi,

tompos@ttk-mdr:~$ lxc list
+---------------+---------+--------------------------------+------+------------+-----------+

|     NAME      |  STATE  |              IPV4              | IPV6 |    TYPE
| SNAPSHOTS |
+---------------+---------+--------------------------------+------+------------+-----------+

| connect       | RUNNING | 10.0.3.3 (eth0)                | | PERSISTENT |
9         |
+---------------+---------+--------------------------------+------+------------+-----------+

| connect-mysql | RUNNING | 10.0.3.4 (eth0)                | | PERSISTENT |
9         |
|               |         | 172.29.251.1 (ttk-mdr)         | |            |
|
+---------------+---------+--------------------------------+------+------------+-----------+

| proxy         | RUNNING | 10.0.3.2 (eth0)                | | PERSISTENT |
9         |
+---------------+---------+--------------------------------+------+------------+-----------+



tompos@ttk-mdr:~$ lxc list --fast
+---------------+---------+--------------+------------+----------+------------+

|     NAME      |  STATE  | ARCHITECTURE | CREATED AT | PROFILES |    TYPE
|
+---------------+---------+--------------+------------+----------+------------+

| connect       | RUNNING | x86_64       |            | default  |
PERSISTENT |
+---------------+---------+--------------+------------+----------+------------+

| connect-mysql | RUNNING | x86_64       |            | default  |
PERSISTENT |
+---------------+---------+--------------+------------+----------+------------+

| proxy         | RUNNING | x86_64       |            | default  |
PERSISTENT |
+---------------+---------+--------------+------------+----------+------------+



Why are arch and create time "important" in case of fast and why not in case
of pure list?


Thanks,
tamas
We wanted an quivalent horizontal space usage in both modes, so added a
few more columns to --fast after removing the columns that were causing
the slowness.

If you want something else, you can just specify the list of column you
want to see.

For me --fast would mean not just technical aspects and faster output display but also better (faster) readability for humans.
Though it's just a note:)

10x
tamas
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to