search for: domstat

Displaying 20 results from an estimated 33 matches for "domstat".

Did you mean: do_stat
2012 Mar 02
3
xm domstate command not found
hi alll.. i want to find the xen domain''s state using xm domstate command, domstate command works fine inside virish but when i try with xm like [xm domestate VM_NAME] its giving an error saying subcomand domestate not found. i just want to shutoff the xen virtual domains using a scrip to take backup. so i just want to make sure that the domain are shutdown...
2016 Feb 18
2
query regarding domstats option with virsh
Hi, I am looking for the information w.r.t domstats command line option of virsh tool. 1> This command line option is available with which version of libvirt. 2> How to get Guest's disk related information in case storage pool does not exist on host. Thanks and Regards, Manish
2016 May 11
0
Questions about CMT event statistic
Hi I'm testing cmt event of libvirt, and I have two questions. I will be very grateful if someone can give me some help. Q1:"virsh domstats --perf" and linux perf tool has different result. I have a guest with cmt event enabled, start guest and get perf statistic every 1s: # while true; do virsh domstats rhel7.2-1030 --perf; sleep 1; done In the meanwhile, I use perf tool to get the llc_occupancy of qemu-kvm process: # pidof qe...
2016 Feb 18
0
Re: query regarding domstats option with virsh
On 18.02.2016 06:01, Jain, Manish (HP Software) wrote: > Hi, > > I am looking for the information w.r.t domstats command line option of virsh tool. > > > 1> This command line option is available with which version of libvirt. Looks like the command has been introduced in 5e542970 which is part of 1.2.8 release. > > 2> How to get Guest's disk related information in case s...
2018 May 01
1
Re: Server 2016 locked in paused state
...the server images partition >filled. It may not be your case but it's worth to check it out. > Yeah, that was my first idea as well, you might have ran out of space. Check the pause reason for the domain. I'm not sure how to do that in virt-manager, but you can do that using `virsh domstate --reason $domain`. You can also check libvirt logs for something like EIO or I/O error, but that will just be a debug message saying that QEMU sent us something like that. >_______________________________________________ >libvirt-users mailing list >libvirt-users@redhat.com >https://...
2018 Mar 20
2
Persisting the libvirt guest's reason code.
Hi, I am currently facing an issue with libvirt w.r.t a guest's state and reason code. Precisely following are steps: 1. I have a running guest named *linux-test *on KVM 2. I do a * $> virsh save linux-test linux-saved.dat* 3. At this point * $> virsh domstate --reason linux-test *shows *shutoff(saved)* 4. I restarted the libvirtd daemon * $>systemctl restart libvirtd* 5. Now when I check for the domain state, * $> virsh domstate --reason linux-test *it reads *shutoff(unknown)* >From what I understand: The reason code for a...
2018 Nov 09
0
virsh dominfo not returning any stats
Hi there,  We're running virsh on centos and hit a couple of issues. First instance is cpu.time not incrementing even with the VMs on the hypervisor running a stress tool. After running 'virsh domstats' sometimes it'll go into a state where no output is generated at all. Have anyone seen something like this? We're running a pretty recent build of libvirt.  # virsh versionCompiled against library: libvirt 3.9.0Using library: libvirt 3.9.0Using API: QEMU 3.9.0RUNNING HYPERVISOR: QEMU 2...
2018 Nov 12
1
virsh reboot "in shutdown" state?
...bug, and if so, if there is a workaround until it is fixed. The situation is this: If I virsh reboot <domain> --mode acpi, it will actually reboot the domain cleanly (watching from the console allows me to see the full shutdown messages, followed by a bootup). However, after this point, virsh domstate <domain> provides the state "in shutdown". From what I read, this is only supposed to persist for more than a tiny fraction of a second if there was a problem killing qemu or cleaning up its resources which, to my knowledge, should not apply here since there is no killing of qemu i...
2011 Jun 18
1
virsh slow on execution
...;s .bashrc, but when I run virsh commands, it takes up to 10s to get the result! Is this normal? At some point today I had issues connecting to libvirt, and in this case it was responding fast, less than couple of seconds. Also, when I start a VM via OCF, while guest is booting the command virsh domstate mydom returns "no state". This makes PaceMaker believe the resource is not running and continuously stops and restart the machine. How can I speed up virsh output? Thanks
2015 Apr 10
2
Detecting that the VM is snapshoting
While taking or reverting a snapshot, using virsh --connect qemu:///system dominfo, the state of a VM is paused. Is there a way to distinguish this state (snapshotting) with virsh or any other tools? Joaquín
2023 Apr 05
1
backup-begin
...he data > consistency of the backup, but is not necessary. Nor it should have any > influence on the lifecycle of the VM. > >> What could be causing the machine to shut off? > The VM most likely crashed, or was turned off in a different way. > > Try running > > virsh domstate --reason $VMNAME > > to see what the reason for the current state is. >
2019 May 14
1
Re: domains paused without any obvious reason
...reside in naked Logical Volumes, the respective Volume Group has > > enough space. > > > > > > I resumed one of the guests and it continued without any problem. > The log doesn't indicate any problem, and df -h shows enough space on > all partitions. 'virsh domstate --reason $GUEST' will tell you what event caused the guest to pause in the first place. If you can resume successfully, this indicates the event was a transient problem. Given the domblkerror message 'no space' I'm it looks that you had a problem running out of disk space tempo...
2017 Oct 20
3
Re: terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
...(/usr/sbin/libvirtd) >> 2017-10-19 18:10:21.985+0000: shutting down, reason=shutdown >> > > You don't have much logging enabled, so there's not that much info. What's > in > the libvirtd.log? what is the status reason for the domain? I.e. output of > `virsh domstate --reason` ? How could I increase log level? There is nothing in libvirtd.log. The reason is shutdown. virsh # start s390_generic Domain s390_generic started virsh # domstate --reason s390_generic shut off (shutdown) > >> >> What is the issue? >> >> ________________...
2018 Mar 08
1
Statistics domain memory block when domain shutdown
...64/libvirt.so.0 #6 0x00007ff24373b8a1 in remoteDomainMemoryStats () from /lib64/libvirt.so.0 #7 0x00007ff2436f14e2 in virDomainMemoryStats () from /lib64/libvirt.so.0 #8 0x00007ff22ee975c2 in VM::getMemoryStats (this=0x7ff1d4064ae0, Begin I think is my program problem, But when I use virsh domstats cmd , The cmd block too. In my program, I set timeout event for virConnectPtr. But my program blocked all the time. I find my system log, I find some libvirtd error: libvirtd: 2018-03-08 04:25:13.144+0000: 1289: error : virKeepAliveTimerInternal:143 : internal error: connection closed due to kee...
2017 Oct 19
2
terminating on signal 15 from pid 2146 (/usr/sbin/libvirtd)
Hello, I use libvirt 3.3.0 and qemu 2.9.0 My domain XML spec is the following: <domain type='qemu'> <name>s390_generic</name> <uuid>82b4d16e-b636-447e-9fda-41d44616bce8</uuid> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu
2015 Aug 06
2
Re: Cannot boot libvirt guests with OVMF. Raw qemu-kvm works as expected
...ted command (from libvirt) works for you if there is no -S (of course) and -netdev (I guess because of the fd= we're passing)? Why did you remove '-spice'? If the only difference in this case really is libvirt, then we need to know why the machine shuts down. If neither the 'virsh domstate --reason <domain>' helps nor there is any information in the logs, then I suggest enabling debug logs and looking through those (both the domain log and libvirtd log). >Also, I can mount an ISO and reinstall once secureboot is enabled. > >XML is at the bottom. > >LC_ALL=C...
2015 Apr 10
0
Re: Detecting that the VM is snapshoting
On 04/10/2015 08:11 AM, Joaquín Rinaudo wrote: > While taking or reverting a snapshot, using virsh --connect qemu:///system > dominfo, the state of a VM is paused. Is there a way to distinguish this > state (snapshotting) with virsh or any other tools? virsh domstate --reason $dom -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
2018 Mar 20
0
Re: Persisting the libvirt guest's reason code.
...> Thanks for your prompt response. I have another question, as soon as I do > virsh save <GuestID> <filename>, the corresponding xml and pid under > /var/run/libvirt/qemu is gone, but the guest still has a definition. At > this point, if I query the domain state (i.e. virsh domstate --reason > <GUESTID>) it reads shutoff(saved). Where does this fetch the reason from, > when the /var/run/libvirt/qemu/Guestname.xml file is gone? Libvirtd > maintains the reason code in-memory? That's true only if the guest has a persistent config file in /etc/libvirt. Regards...
2019 Jul 29
2
virsh command to list CPU,Memory and Storage
Hi, Is there a way to find out total CPU's, Memory and Storage using virsh command? For example virsh list --all list out all VM's 11 dockerregistry01 running 12 gitlab running Any help will be highly appreciated. Thanks in Advance. Best Regards, Kaushal
2020 Apr 08
0
Getting Intel RDT cache allocation status from libvirt?
Is there a way to get the current cache allocation status of a host from libvirt, via API or virsh? I've seen some references to a 'virsh nodecachestats' command in some patches from 2017 that doesn't seem to exist, and I see that 'virsh domstats --cpu-total <domain>' has similar information but seems to be focused on cache monitoring information rather than the allocation status. Thanks, Neil