Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2014 11:25:49 -0800
From:      <dteske@FreeBSD.org>
To:        "'Andrea Brancatelli'" <abrancatelli@schema31.it>, "'Markiyan Kushnir'" <markiyan.kushnir@gmail.com>
Cc:        'Devin Teske' <dteske@FreeBSD.org>, freebsd-virtualization@freebsd.org
Subject:   RE: Bhyve infos about a vm
Message-ID:  <073e01cf115e$6fa7a710$4ef6f530$@FreeBSD.org>
In-Reply-To: <CADfWLe=VLNHCyqizrnbS52oS9TEGchKODmxU%2B-FJfXN%2BgOSywQ@mail.gmail.com>
References:  <CADfWLen8Ht=WvMj-=Uvaj5XoF4Dba9-_aUeEBa37UROEWnATZw@mail.gmail.com> <52D43E92.7020007@freebsd.org> <CADfWLenoYa_72XK5HdzH5S7z0_eqq9BQtFr8dRBpy=R5Aokacw@mail.gmail.com> <CACvtUJeRzCpiVK%2BBn51Kab%2BZARhAF03SQrBHNVQsm2GMvmBOiw@mail.gmail.com> <CADfWLe=VLNHCyqizrnbS52oS9TEGchKODmxU%2B-FJfXN%2BgOSywQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----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 <abrancatelli@schema31.it>:
> > > 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 <grehan@freebsd.org>
> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?073e01cf115e$6fa7a710$4ef6f530$>