Dear Dan,
As a workaround you may use the following perl script written by Ullrich
Horlacher. It also demonstrates the basic idea where to get a containers uptime
from. Here he use a well known file, but I think one may also use the
information related to the containers init process.
On Mon, Sep 10, 2012 at 11:39 PM, Jäkel, Guido g.jae...@dnb.de wrote:
As a workaround you may use the following perl script written by Ullrich
Horlacher. It also demonstrates the basic idea where to get a containers
uptime from. Here he use a well known file, but I think one may also use the
'uptime' seems to be the uptime of the host, not of the guest. Is
that intended?
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how
On 12-09-10 02:02 PM, Dan Kegel wrote:
'uptime' seems to be the uptime of the host, not of the guest. Is
that intended?
uptime reads /proc/uptime which is gets you the time since the kernel
was started.
There are a few ways of fixing that issue:
- Implement a new time namespace allowing us