]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/lxc-ls.in
List the available containers and the processes belonging to such container.
[mirror_lxc.git] / src / lxc / lxc-ls.in
1 #!/bin/bash
2
3 lxcpath=@prefix@/var/lxc
4
5 if [ ! -r $lxcpath ]; then
6 exit 0
7 fi
8
9 ls -1 $lxcpath