Re: Bhyve infos about a vm

2014-01-15 Thread Andrea Brancatelli
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, dte...@freebsd.org wrote:



  -Original Message-
  From: Andrea Brancatelli [mailto:abrancate...@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 /dev132 crw--w   pts/3 rw
  root bhyve   4212   wd /repository 14 drwxr-xr-x   6  r
  root bhyve   4212 root / 2 drwxr-xr-x1024  r
  root bhyve   42120 /dev132 crw--w   pts/3 rw
  root bhyve   42121 /dev132 crw--w   pts/3 rw
  root bhyve   42122 /dev132 crw--w   pts/3 rw
  root bhyve   42123 /dev138 crw---  vmm/lin1 rw
  root bhyve   42124 /repository 34 -rw-r--r--
  10737418240 rw
  root bhyve   42125 /dev140 crw---tap1 rw
  root bhyve   42126 /repository 45 -rw-r--r--  652214272
 rw
  root bhyve   42127
  root bhyve   42128* pipe f80021dbf000 -
  f80021dbf160  0 rw
  root bhyve   42129* pipe f80021dbf160 -
  f80021dbf000  0 rw
 
 
 
 
  On Tue, Jan 14, 2014 at 5:54 PM, Markiyan Kushnir 
  markiyan.kush...@gmail.com wrote:
 
   may be fstat -p `pgrep bhyve` would give you some info?
  
   --
   Markiyan
  
   2014/1/14 Andrea Brancatelli abrancate...@schema31.it:
How should I see it with ps?
   
[root@environment-rm-01 ~]# ps -aux | grep bhyve
root 88142.4  0.0 4221912 60804  3  D+1:15PM
  3:11.43
bhyve: lin3 (bhyve)
root 61870.0  0.0 4221784 34900  0  D+   11:09AM
  0:52.81
bhyve: FreeBSD10.5RC5.img (bhyve)
root 88630.0  0.0   18724  2156  4  S+1:22PM
  0:00.00
grep bhyve
root 80080.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 gre...@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
   freebsd-virtualization-unsubscr...@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*
  ___
  freebsd-virtualization@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
  To unsubscribe, send any mail to freebsd-virtualization-
  unsubscr...@freebsd.org

 _
 The information contained in this message is proprietary and/or
 confidential. If you are not the intended recipient, please: (i) delete the
 message and all copies; (ii) do not disclose, distribute or use the message
 in any manner; and (iii) notify the sender immediately. In addition, please
 be aware that any message addressed to our domain is subject to archiving
 and review by persons other than the intended recipient. Thank you.




-- 




*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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: Bhyve infos about a vm

2014-01-14 Thread Andrea Brancatelli
How should I see it with ps?

[root@environment-rm-01 ~]# ps -aux | grep bhyve
root 88142.4  0.0 4221912 60804  3  D+1:15PM3:11.43
bhyve: lin3 (bhyve)
root 61870.0  0.0 4221784 34900  0  D+   11:09AM0:52.81
bhyve: FreeBSD10.5RC5.img (bhyve)
root 88630.0  0.0   18724  2156  4  S+1:22PM0:00.00
grep bhyve
root 80080.0  0.0 4221912 54324  2  D+   12:50PM0: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 gre...@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: Bhyve infos about a vm

2014-01-14 Thread Markiyan Kushnir
may be fstat -p `pgrep bhyve` would give you some info?

--
Markiyan

2014/1/14 Andrea Brancatelli abrancate...@schema31.it:
 How should I see it with ps?

 [root@environment-rm-01 ~]# ps -aux | grep bhyve
 root 88142.4  0.0 4221912 60804  3  D+1:15PM3:11.43
 bhyve: lin3 (bhyve)
 root 61870.0  0.0 4221784 34900  0  D+   11:09AM0:52.81
 bhyve: FreeBSD10.5RC5.img (bhyve)
 root 88630.0  0.0   18724  2156  4  S+1:22PM0:00.00
 grep bhyve
 root 80080.0  0.0 4221912 54324  2  D+   12:50PM0: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 gre...@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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Bhyve infos about a vm

2014-01-14 Thread Andrea Brancatelli
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 /dev132 crw--w   pts/3 rw
root bhyve   4212   wd /repository 14 drwxr-xr-x   6  r
root bhyve   4212 root / 2 drwxr-xr-x1024  r
root bhyve   42120 /dev132 crw--w   pts/3 rw
root bhyve   42121 /dev132 crw--w   pts/3 rw
root bhyve   42122 /dev132 crw--w   pts/3 rw
root bhyve   42123 /dev138 crw---  vmm/lin1 rw
root bhyve   42124 /repository 34 -rw-r--r--  10737418240 rw
root bhyve   42125 /dev140 crw---tap1 rw
root bhyve   42126 /repository 45 -rw-r--r--  652214272 rw
root bhyve   42127
root bhyve   42128* pipe f80021dbf000 -
f80021dbf160  0 rw
root bhyve   42129* pipe f80021dbf160 -
f80021dbf000  0 rw




On Tue, Jan 14, 2014 at 5:54 PM, Markiyan Kushnir 
markiyan.kush...@gmail.com wrote:

 may be fstat -p `pgrep bhyve` would give you some info?

 --
 Markiyan

 2014/1/14 Andrea Brancatelli abrancate...@schema31.it:
  How should I see it with ps?
 
  [root@environment-rm-01 ~]# ps -aux | grep bhyve
  root 88142.4  0.0 4221912 60804  3  D+1:15PM3:11.43
  bhyve: lin3 (bhyve)
  root 61870.0  0.0 4221784 34900  0  D+   11:09AM0:52.81
  bhyve: FreeBSD10.5RC5.img (bhyve)
  root 88630.0  0.0   18724  2156  4  S+1:22PM0:00.00
  grep bhyve
  root 80080.0  0.0 4221912 54324  2  D+   12:50PM0: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 gre...@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@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
  To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@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*
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

RE: Bhyve infos about a vm

2014-01-14 Thread dteske


 -Original Message-
 From: Andrea Brancatelli [mailto:abrancate...@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 /dev132 crw--w   pts/3 rw
 root bhyve   4212   wd /repository 14 drwxr-xr-x   6  r
 root bhyve   4212 root / 2 drwxr-xr-x1024  r
 root bhyve   42120 /dev132 crw--w   pts/3 rw
 root bhyve   42121 /dev132 crw--w   pts/3 rw
 root bhyve   42122 /dev132 crw--w   pts/3 rw
 root bhyve   42123 /dev138 crw---  vmm/lin1 rw
 root bhyve   42124 /repository 34 -rw-r--r--  10737418240 rw
 root bhyve   42125 /dev140 crw---tap1 rw
 root bhyve   42126 /repository 45 -rw-r--r--  652214272 rw
 root bhyve   42127
 root bhyve   42128* pipe f80021dbf000 -
 f80021dbf160  0 rw
 root bhyve   42129* pipe f80021dbf160 -
 f80021dbf000  0 rw
 
 
 
 
 On Tue, Jan 14, 2014 at 5:54 PM, Markiyan Kushnir 
 markiyan.kush...@gmail.com wrote:
 
  may be fstat -p `pgrep bhyve` would give you some info?
 
  --
  Markiyan
 
  2014/1/14 Andrea Brancatelli abrancate...@schema31.it:
   How should I see it with ps?
  
   [root@environment-rm-01 ~]# ps -aux | grep bhyve
   root 88142.4  0.0 4221912 60804  3  D+1:15PM3:11.43
   bhyve: lin3 (bhyve)
   root 61870.0  0.0 4221784 34900  0  D+   11:09AM0:52.81
   bhyve: FreeBSD10.5RC5.img (bhyve)
   root 88630.0  0.0   18724  2156  4  S+1:22PM0:00.00
   grep bhyve
   root 80080.0  0.0 4221912 54324  2  D+   12:50PM0: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 gre...@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@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
   To unsubscribe, send any mail to 
  freebsd-virtualization-unsubscr...@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*
 ___
 freebsd-virtualization@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to freebsd-virtualization-
 unsubscr...@freebsd.org

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Bhyve infos about a vm

2014-01-13 Thread Andrea Brancatelli
Hello,

Whats the command to list all the attached devices to a vm?

Bhyctl --vm=vm0 --get-all seemsto write of funny but totally irrelevant
info for an user (instead of a developer...)

Is there a way to get a list of the attached devices, say virtio-blk,
ethernet stuff...

Andrea Brancatelli
Schema31
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Bhyve infos about a vm

2014-01-13 Thread Peter Grehan

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.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Bhyve infos about a vm

2014-01-13 Thread Andrea Brancatelli
Hello Peter.

Funny but my ps doesn't seem to report it, it only shows bhyve vm0. Maybe it is 
because it was run as

Bhyve vm0 \
  -something \
  -something

Btw I think the bhyvectl is the candidate for this, maybe bhyvectl --vm=vm0 
--get-devices ?

Is devices the correct name for those parameters? Or maybe just --get-parms ?

Thank you very much. Bhyve is coming on as a great project (performances are 
great!), we now just have to work a lot to make it friendly!!!

Andrea Mr.SK Brancatelli

 On 13/gen/2014, at 20:29, Peter Grehan gre...@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.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org