>> In fact there is no error in the script :)
>> The -n option for lxc-ps is a ps option !
>
> heh, good catch - given -n is pretty ubiquitous in lxc
> commands it should probably be used here :)
>
> And a '--' should be allowed to separate lxc-ps options from
> /bin/ps ones.

lxc-ps is just an enhanced ps and, ultimately, lxc-ps should disappear and
be replaced by a new ps option, like the -z on solaris. this is similar to
the -Z for listing the security context of a file the with ls

I agree with suka that -n shouldn't be used as a short option for --name.
because the result is confusing.

C.  
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to