[Devel] Re: [lxc-devel] [PATCH 1/1] lxc-ps: Nit - Avoid blank CONTAINER column

Cedric Le Goater clg at fr.ibm.com
Fri Feb 12 08:54:36 PST 2010


>> 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
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list