Hi !
Uptime shows the kernel uptime, and since the container doesn't spawn it's
own kernel, the uptime command won't show the container uptime.
Maybe, the uptime of container's init process will show you uptime of the
container (so is accessible from within the container).
--
Samuel
On Thu, May 3, 2012 at 5:52 PM, Ulli Horlacher <
frams...@rus.uni-stuttgart.de> wrote:
>
> "uptime" in a container shows the uptime of the host.
> How can one query the uptime of the container?
>
>
> --
> Ullrich Horlacher Server- und Arbeitsplatzsysteme
> Rechenzentrum E-Mail: horlac...@rus.uni-stuttgart.de
> Universitaet Stuttgart Tel: ++49-711-685-65868
> Allmandring 30 Fax: ++49-711-682357
> 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
> REF: <20120503155228.ga1...@rus.uni-stuttgart.de>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users