Bhyve infos about a vm
Andrea Brancatelli
abrancatelli at schema31.it
Tue Jan 14 17:55:13 UTC 2014
I don't think so. I'm interested in seeing what ISO or IMG are attached....
i dont' see any such info here...
[root at 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 at gmail.com> wrote:
> may be "fstat -p `pgrep bhyve`" would give you some info?
>
> --
> Markiyan
>
> 2014/1/14 Andrea Brancatelli <abrancatelli at schema31.it>:
> > How should I see it with ps?
> >
> > [root at 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 at 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 at 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à del Gruppo SC31
> > ITALIA*
> > _______________________________________________
> > freebsd-virtualization at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> > To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe at 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à del Gruppo SC31
ITALIA*
More information about the freebsd-virtualization
mailing list