similar to: How i can calculate cpu utilization percentage for host using python libvirt API.

Displaying 20 results from an estimated 1000 matches similar to: "How i can calculate cpu utilization percentage for host using python libvirt API."

2014 May 23
1
How i can calculate cpu utilization percentage for domain running under a host using libvirt API.
  Hi, How i can calculate cpu utilization percentage for domain running under a host using libvirt API. Which function can i use for calulating cpu percentage? Thanks and Regards, Deepak S ------------------------- Message sent via Atmail Open - http://atmail.org/
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello, I'm trying to use libvirt as a non-root user to obtain statistics on the CPU usage by VMs using the Python API. I'm performing basically the following steps: import libvirt conn = libvirt.openReadOnly(None) dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4') dom.getCPUStats(True, 0) However, they result in the following error: libvir: QEMU Driver
2012 Jul 10
1
Issue with getCPUStats and getMemoryStats
Hi, I am facing issue with the calls getCPUStats and getMemoryStats. Please find the error below. AttributeError: 'module' object has no attribute 'VIR_NODE_CPU_STATS_ALL_CPUS' >>> print con.getCPUStats(2, None, 0, 0) Traceback (most recent call last): File "<stdin>", line 1, in <module> File
2011 Jan 03
2
Finally upgrading from v1.0.15 to v1.2.16 -- advice please
It's long over due, but now I finally plan on upgrading from v1.0.15 to v1.2.16 on our servers. Would appreciate any comments! We have 7 servers, all running of the same GPFS filesystem. Both maildirs and indexes are stored here. We use dovecot for POP/IMAP and deliver. Currently we're using mysql as authentication source, but want to move to using ldap instead. Can we upgrade one server
2008 Mar 11
2
Who's wrong, atmail or dovecot?
We recently switched to atmail, as well as dovecot. I noticed in atmail the size of the mailboxes was always reported as 0kb. So, I did some debugging, and it boiled down to the fact that the regular expression used by dovecot expected UID before SIZE, but Dovecot returned SIZE before UID. No biggy, I changed the regex, but I was curious if there was a standard. Here's the imap query
2007 Nov 02
3
atmail & centos
hi friends, i'm researching to see if i can run my own email server on centos. i'm looking at qmail & centos, but the problem that i have is it doesn't have the web interface that can similar with outlook. our users don't like squirrelmail, or NOCC, or horde interfaces) however, i found atmail.com and it seems to have what i'm looking for b/c it's kindda
2008 Nov 29
2
Loginname - mapping
Hi! I have a server with a few thousand mailboxes (for a few hundred domains) on it. The usernames are following several naming conventions: username_domain domain_username username_domain.tld username-domain domain.username The reason for this chaos is that the accounts were set up on different mailservers, some imail, some linux, some with virtualmin and some manually and
2011 Dec 29
1
dsync / separator / namespace config-problem
Guess I don't quite get namespaces, but we have the following namespace configured: $ doveconf namespace namespace { hidden = no inbox = yes list = yes location = prefix = INBOX. separator = subscriptions = yes type = private } But when I try running dsync it complains: $ sudo -u atmail dsync -u janfrode at tanso.net mirror mdbox:/tmp/janfrodeboks
2007 Jul 11
0
postfix pipe to deliver, null_sender.
Hello, I just noticed a problem on our servers .. If I send myself a bounce, like this: | [en at mailserver ~]$ telnet localhost 25 | Trying 127.0.0.1... | Connected to localhost.localdomain (127.0.0.1). | Escape character is '^]'. | 220 mailserver ESMTP Postfix | helo foo | 250 mailserver | mail from: <> | 250 2.1.0 Ok | rcpt to: my at mail.address.tld | 250 2.1.5 Ok | data | 354
2012 Feb 01
2
Doubts about dsync, mdbox, SIS
I've been running continous dsync backups of our Maildirs for a few weeks now, with the destination dsync server using mdbox and SIS. The idea was that the destination server would act as a warm copy of all our active users data. The active servers are using Maildir, and has: $ df -h /usr/local/atmail/users/ Filesystem Size Used Avail Use% Mounted on /dev/atmailusers
2011 Dec 05
2
Strange quota problem
I have a strange problems with quota on v2.0.14. We have an ldap user directory, and all users should have a mailQuota defined there. My problem is that some users gets the quota enforced, while others don't, and "doveadm user" doesn't seem to agree with "doveadm quota ge gett" Ref: $ doveadm user janfrode at example.net userdb: janfrode at example.net home
2011 Sep 13
2
Dovecot and Lustre FS
Hello, Right now, I'm using Exim and a customized version of an old?(10 years old)?Atmail POP3 server written in Perl, with ~10000 mailboxes located on a?Lustre file system.?So far so good. Though, I plan to migrate from Atmail to Dovecot, to provide our customers with IMAP support. Has anyone any experience with Dovecot on Lustre FS ? Thanks Christian ?
2012 May 07
2
Statistical power of correlations.
My apologies for the statistical naivete of my question but... Is there an established method or calulating the statistical power of a correlation test? And if so is there a method in R for it? Thank you, Collin Lynch.
2010 Feb 03
2
(no subject)
Hi list, recently I wrote a short article about building a dovecot-sieve plugin for the current CentOS-included version of dovecot: http://blog.credativ.com/2010/02/howto-using-dovecot-with-sieve-in-rhelcentos-5/ [1] Could that be of interest for your wiki? Regards, Roland ------------------------- Message sent via Atmail Open - http://atmail.org/ Links: ------ [1]
2014 May 26
0
How to open virtual machine console using python libvirt.
Hi, How to open virtual machine console using python libvirt. I tried openConsole function,it returning integer 0 and not opening any console. code ====  import libvirt  conn = libvirt.open('qemu+ssh://root@192.168.1.6/system')  vm=conn.lookupByName("vm1-1")  stream=onn.newStream(libvirt.VIR_STREAM_NONBLOCK)  vm.openConsole(None,stream, 0) Regards,  Deepak S  
2014 May 30
0
Hot memory and cpu update
Runing domain xml vv.XMLDesc(0) n  ub_test1n  714dde02-76c9-7d45-25af-e50f0a54f4bcn  545792n  545792n  4n  n    hvmn    n  n  n    n  n  n  destroyn  restartn  destroyn  n    /usr/bin/kvmn    n      n      n      n      n      n    n    n      n      n    n    n      n      n    n    n      n      n      n      n      n      n    n    n      n      n    n  n  nn" >>> vv.info() [1,
2014 Jul 14
1
LVM Volume Creation
Hi All, I'm having issue with creating LVM volume via libvirt. XML of LVM StoragePool is:     VG01             /dev/VG01       (existing vg) XML of create volume in lvm pool is:     ub_test01.img     0     1                 When I create the volume with above XML defn, lvs command to list logical volume shows a value in the origin column indicating it was created as snapshot.. the
2016 Dec 27
1
Identify if a message_part is an attachment ?
Hello, This is my first post to this group. I have read through the instructions before posting. I hope am doing the right thing. If not my sincere apologies. I am in the process of developing a dovecot IMAP plugin (over v2.2.25). The plugin works with mdbox/sdbox which has ability to keep attachments as external references (via SiS POSIX). The plugin must enable fetching attachment from REDIS
2018 Feb 23
0
Stale mailbox lock file
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <div>Thanks but what answer it mean "<span style="font-size: 12.8px;">doveconf -n"? </span> </div><div><span style="font-size: 12.8px;">I have neither control nor access in the dovecot installation to which I'm
2014 Jul 15
1
Re: LVM Volume Creation
Hi All, I'm having issue with creating LVM Volume via libvirt. We are running libvirtd 1.2 with KVM. We are creating Volume Group (VG01) outside of libvirt and defining a storage pool for it. Here is the StoragePool XML for the Volume Group created outside libvirt. <pool type="logical"> <name>VG01</name> <target>