Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2012 12:14:53 +0200
From:      Marin Atanasov Nikolov <dnaeon@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Displaying jail's info only by using jail_get()
Message-ID:  <CAJ-UWtQBy-VAJqj8D9C1bxYS7UntMtzw923AG6FBk2cZo5mzow@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'd like to display info about the currently running jails on my system by
using jail_get().

The code of the program can be found here:

* https://gist.github.com/4411851

Everything works, except for cases when a jail has multiple IP addresses
assigned to it. In that case the JID is never returned by jail_get(), thus
I cannot get any info about it.

Know what I'm missing here?

Thanks and regards,
Marin

-- 
Marin Atanasov Nikolov

dnaeon AT gmail DOT com
http://www.unix-heaven.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-UWtQBy-VAJqj8D9C1bxYS7UntMtzw923AG6FBk2cZo5mzow>