From owner-freebsd-virtualization@FreeBSD.ORG Tue Jan 14 19:26:04 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 690E3DD9; Tue, 14 Jan 2014 19:26:04 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2BBF516DA; Tue, 14 Jan 2014 19:26:03 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.193]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id s0EJQ2ju004746 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 14 Jan 2014 13:26:02 -0600 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.193) with Microsoft SMTP Server id 14.3.174.1; Tue, 14 Jan 2014 13:26:00 -0600 From: Sender: Devin Teske To: "'Andrea Brancatelli'" , "'Markiyan Kushnir'" References: <52D43E92.7020007@freebsd.org> In-Reply-To: Subject: RE: Bhyve infos about a vm Date: Tue, 14 Jan 2014 11:25:49 -0800 Message-ID: <073e01cf115e$6fa7a710$4ef6f530$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQIXpqobuEocMEL1JlqwqJy2RqJlggFUAlnNAf9CreoCJ28W7QHYJ4EWmbjYgTA= Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-01-14_08:2014-01-14,2014-01-14,1970-01-01 signatures=0 Cc: 'Devin Teske' , 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: Tue, 14 Jan 2014 19:26:04 -0000 > -----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 >=20 > I don't think so. I'm interested in seeing what ISO or IMG are attached..= .. > i dont' see any such info here... >=20 mdconfig -lv ? --=20 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 >=20 >=20 >=20 >=20 > On Tue, Jan 14, 2014 at 5:54 PM, Markiyan Kushnir < > markiyan.kushnir@gmail.com> wrote: >=20 > > 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 ITROMA > > > - FIRENZE - PALERMO ITALYTel: +39. 06.98.358.472* > > > > > > *Cell: +39 331.2488468Fax: +39. 055.71.880.466Societ=C3=A0 del Gruppo > > > 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" > > >=20 >=20 >=20 > -- >=20 >=20 >=20 >=20 > *Andrea BrancatelliSchema 31 S.r.l. - Socio UnicoResponsabile ITROMA - > FIRENZE - PALERMO ITALYTel: +39. 06.98.358.472* >=20 > *Cell: +39 331.2488468Fax: +39. 055.71.880.466Societ=C3=A0 del Gruppo 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" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.