Re: top im jail ?

From: Oliver Fromme <olli(at)secnetix.de>
Date: Fri, 8 Jun 2001 23:06:29 +0200 (CEST)

Rainer Duffner <duffner(at)fh-konstanz.de> wrote:
> geht top(1) im jail(8) nicht ?

Doch, klar, prinzipiell schon, aber ...

> Ich kriege:
> kvm_open: short read
> top: kvm_read for _ccpu: Undefined error: 0
>
> Was bedeutet das ?

Daß Du im jail kein /dev/kmem hast. Ohne das geht top
nicht. Kannst Du einfach anlegen; read-only (mode 444)
genügt.

> /proc ist eigentlich gemountet

Das ist egal, top braucht kein /proc, und ps braucht es
nur, um den Argumentvektor anzuzeigen. Kannst ja mal
die Ausgaben von »ps -auxww« vergleichen, einmal mit und
einmal ohne /proc.

Auf Kisten mit einer nennenswerten Anzahl von jails würde
ich es mir sparen, überall das procfs hinzumounten.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 08 Jun 2001 - 23:06:32 CEST

search this site