From owner-freebsd-virtualization@FreeBSD.ORG Wed Jan 15 09:08:07 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A1F08EF for ; Wed, 15 Jan 2014 09:08:07 +0000 (UTC) Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6427B1AB3 for ; Wed, 15 Jan 2014 09:08:07 +0000 (UTC) Received: by mail-pb0-f49.google.com with SMTP id up15so349918pbc.8 for ; Wed, 15 Jan 2014 01:08:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GdOWrHPZzpipwMfSnYbiO0bzFnOBrqKo0UGqgjGWhjc=; b=T1T6H6yHgm9fNAiGP0glG3uBmdHqsO+oFLjRLJWFLIm1NEc6jOdQYrun525niE3obU 6KToM7JKUanQjhCyftU19glsXNpmHipjzS3hO+Pjzbc5DLX7iEm5F076nPW/jGGTRWnV e8awGa1AHbFjoqNjHfS35bVhflpXOzIPvT67HLQJJpu8Hk1jZrKjLwLb37fXpU2hM1bu ry+tIFXNRiuWyOuCnT200vDxoHUwnGOsu5d8NcH5YBTQxQEbit+Ahdse3c5GySaaqgDp N6VWalqIFMJGd23s5XEkk4DEPC5bw9ZMH/s/9xOwKLhWNqqeYa/QvYMgcjgmWR/aJg7H iFwg== X-Gm-Message-State: ALoCoQnnslI2Jj0sAHyGHJgCIA+/FAnnI/XJQsrShExDfVBr1WNnfEGxbU0jtCD6hcDTf3q/d4W9 MIME-Version: 1.0 X-Received: by 10.66.14.41 with SMTP id m9mr1092099pac.123.1389775337445; Wed, 15 Jan 2014 00:42:17 -0800 (PST) Received: by 10.68.176.5 with HTTP; Wed, 15 Jan 2014 00:42:17 -0800 (PST) X-Originating-IP: [2001:470:28:12b::3] In-Reply-To: <073e01cf115e$6fa7a710$4ef6f530$@FreeBSD.org> References: <52D43E92.7020007@freebsd.org> <073e01cf115e$6fa7a710$4ef6f530$@FreeBSD.org> Date: Wed, 15 Jan 2014 09:42:17 +0100 Message-ID: Subject: Re: Bhyve infos about a vm From: Andrea Brancatelli To: dteske@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2014 09:08:07 -0000 Is this thread moving to a try and guess? :-) Btw, this one doesn't work either. [root@environment-rm-01 ~]# ps -ax | grep bhyve 7942 0 R+ 2:49.28 bhyve: lin1 (bhyve) 7980 2 S+ 0:00.00 grep bhyve [root@environment-rm-01 ~]# mdconfig -lv [root@environment-rm-01 ~]# On Tue, Jan 14, 2014 at 8:25 PM, wrote: > > > > -----Original Message----- > > From: Andrea Brancatelli [mailto:abrancatelli@schema31.it] > > Sent: Tuesday, January 14, 2014 9:27 AM > > To: Markiyan Kushnir > > Cc: freebsd-virtualization@freebsd.org > > Subject: Re: Bhyve infos about a vm > > > > I don't think so. I'm interested in seeing what ISO or IMG are > attached.... > > i dont' see any such info here... > > > > mdconfig -lv ? > -- > Devin > > > > [root@environment-rm-01 /repository]# fstat -p `pgrep bhyve` > > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W > > root bhyve 4212 text / 1044852 -r-xr-xr-x 318469 r > > root bhyve 4212 ctty /dev 132 crw--w---- pts/3 rw > > root bhyve 4212 wd /repository 14 drwxr-xr-x 6 r > > root bhyve 4212 root / 2 drwxr-xr-x 1024 r > > root bhyve 4212 0 /dev 132 crw--w---- pts/3 rw > > root bhyve 4212 1 /dev 132 crw--w---- pts/3 rw > > root bhyve 4212 2 /dev 132 crw--w---- pts/3 rw > > root bhyve 4212 3 /dev 138 crw------- vmm/lin1 rw > > root bhyve 4212 4 /repository 34 -rw-r--r-- > 10737418240 rw > > root bhyve 4212 5 /dev 140 crw------- tap1 rw > > root bhyve 4212 6 /repository 45 -rw-r--r-- 652214272 > rw > > root bhyve 4212 7 > > root bhyve 4212 8* pipe fffff80021dbf000 <-> > > fffff80021dbf160 0 rw > > root bhyve 4212 9* pipe fffff80021dbf160 <-> > > fffff80021dbf000 0 rw > > > > > > > > > > On Tue, Jan 14, 2014 at 5:54 PM, Markiyan Kushnir < > > markiyan.kushnir@gmail.com> wrote: > > > > > may be "fstat -p `pgrep bhyve`" would give you some info? > > > > > > -- > > > Markiyan > > > > > > 2014/1/14 Andrea Brancatelli : > > > > How should I see it with ps? > > > > > > > > [root@environment-rm-01 ~]# ps -aux | grep bhyve > > > > root 8814 2.4 0.0 4221912 60804 3 D+ 1:15PM > 3:11.43 > > > > bhyve: lin3 (bhyve) > > > > root 6187 0.0 0.0 4221784 34900 0 D+ 11:09AM > 0:52.81 > > > > bhyve: FreeBSD10.5RC5.img (bhyve) > > > > root 8863 0.0 0.0 18724 2156 4 S+ 1:22PM > 0:00.00 > > > > grep bhyve > > > > root 8008 0.0 0.0 4221912 54324 2 D+ 12:50PM > 0:48.50 > > > > bhyve: lin1 (bhyve) > > > > [root@environment-rm-01 ~]# cat /proc/6187/cmdline > > > > bhyve: FreeBSD10.5RC5.img > > > > > > > > I'm out of ideas... :) > > > > > > > > > > > > On Mon, Jan 13, 2014 at 8:29 PM, Peter Grehan > > > wrote: > > > > > > > >> Hi Andrea, > > > >> > > > >> Whats the command to list all the attached devices to a vm? > > > >>> > > > >> > > > >> The only way currently is to list the bhyve command line using ps= . > > > >> > > > >> Any preferences for how you'd like to see this ? > > > >> > > > >> later, > > > >> > > > >> Peter. > > > >> > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > *Andrea BrancatelliSchema 31 S.r.l. - Socio UnicoResponsabile ITROM= A > > > > - FIRENZE - PALERMO ITALYTel: +39. 06.98.358.472* > > > > > > > > *Cell: +39 331.2488468Fax: +39. 055.71.880.466Societ=C3=A0 del Grup= po > > > > SC31 > > > > ITALIA* > > > > _______________________________________________ > > > > freebsd-virtualization@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > > > To unsubscribe, send any mail to " > > > freebsd-virtualization-unsubscribe@freebsd.org" > > > > > > > > > > > -- > > > > > > > > > > *Andrea BrancatelliSchema 31 S.r.l. - Socio UnicoResponsabile ITROMA - > > FIRENZE - PALERMO ITALYTel: +39. 06.98.358.472* > > > > *Cell: +39 331.2488468Fax: +39. 055.71.880.466Societ=C3=A0 del Gruppo S= C31 > > ITALIA* > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to "freebsd-virtualization- > > unsubscribe@freebsd.org" > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > --=20 *Andrea BrancatelliSchema 31 S.r.l. - Socio UnicoResponsabile ITROMA - FIRENZE - PALERMO ITALYTel: +39. 06.98.358.472* *Cell: +39 331.2488468Fax: +39. 055.71.880.466Societ=C3=A0 del Gruppo SC31 ITALIA*