From owner-freebsd-virtualization@FreeBSD.ORG Tue Jan 14 17:55:13 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 F1045CE4 for ; Tue, 14 Jan 2014 17:55:12 +0000 (UTC) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C10C81EBD for ; Tue, 14 Jan 2014 17:55:12 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id kq14so2836821pab.31 for ; Tue, 14 Jan 2014 09:55: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=U39Tl/0ke2Kl1u03qM+T6XGVAvhT6y7IHJfGQCzrpfg=; b=m2n1mnMc9QCL/g+XJVCcKG/1kMclcv2ZuAi5ROoXBVQPeDOa3ZICeT9ZXo59pDmSci eM/+o9IzjlJFrYooosK9Eh5TS02kc0VAhEEsnxf+4jAAL1tWMJ8UNDOXlcWaflTlDaWK cMFieZXsHjm4i2Ny3CGEgpcWgtwizXPsSzOySOagX9JNsFb8U2gFqvVfpVl6KMkGW2bZ 6d0XV7OS99SQ3Wd/d4CnQ/LjQrN4Znky7FbTDbDNh9nnjtidqaVBARxHgjQpr1qzmjfN UoK5f1Nfr2JPnfKlpIHft+woo8H1oAUvN20UpJwZtdWS5ct7f/v5g0RU8unHwQGBcoV/ N7Ww== X-Gm-Message-State: ALoCoQna62HZApL9KS+10xwI1d0kaqOE4bvdt+8YnWshvsx6cJIHNmbX/h5Q2PXo5WHoKq6eIDWE MIME-Version: 1.0 X-Received: by 10.68.12.138 with SMTP id y10mr3064182pbb.101.1389720402865; Tue, 14 Jan 2014 09:26:42 -0800 (PST) Received: by 10.68.176.5 with HTTP; Tue, 14 Jan 2014 09:26:42 -0800 (PST) X-Originating-IP: [2001:470:28:12b::3] In-Reply-To: References: <52D43E92.7020007@freebsd.org> Date: Tue, 14 Jan 2014 18:26:42 +0100 Message-ID: Subject: Re: Bhyve infos about a vm From: Andrea Brancatelli To: Markiyan Kushnir 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: Tue, 14 Jan 2014 17:55:13 -0000 I don't think so. I'm interested in seeing what ISO or IMG are attached.... i dont' see any such info here... [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 r= w 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 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" > --=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*