How do I find the number of contacts in a smart group?

How do I find the number of contacts in a smart group in Contacts?

Hi,
To get the depth using JMS you must create a QueueBrowse and browse the entire queue. Its generally horribly inefficient if you want to do it with any regularity.
In Hermes I have had to write plugins that open separate connections to providers using their non-JMS APIs or JMX and get that kind of information that way.
Look at the getDepth() method in this JBoss plugin for an example that uses JMX:
http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/jbossmq/JBossMQAdmin.java?view=markup
And here is one for WebSphereMQ that uses one of its many APIs..
http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/mq/MQSeriesAdmin.java?view=markup
Colin.
http://hermesjms.com

Similar Messages

  • I cant find the number of contacts in my iphone IOS7 by either going in thru the contact appl or the phone

    How can I find the number of contacts in my iphone. When i go in thru either the contacts application or thru the phone i don't see the number at the bottom of the contacts. I have IOS7. I also saw in one of the postings that you could find it thru the Group in the upper left hand corner but I don't know where to find that. Thank you for your help

    If you are a Verizon user try this:
    Open the phone and dial *228. This is a Verizon over-the-air programming number.
    When the system answer press 1 for "Program or activate your phone"
    Wait for the call to disconnect. You should get a prompt stating "Settings updated."
    Double tap the Home button to bring up the recently used apps list at the bottom.  Locate the Phone, Message, and Contacts apps, swiping if necessary, and press and hold until they jiggle then press the red minus sign to stop them.
    Wait a 3-5 minutes.
    Try your phone again and see if it's fixed.

  • How do you find the number of lines in a file?

    I need to count how many lines there are in a file, I am using a BufferedReader to read in the data, but how can I find the number of lines?
    Thanks

    That depends. How do you define a line? Is it a specific number of
    characters, a String that's terminated by a newline character or some
    combination thereof?

  • How do I find the number of physical CPUs , number of cores in OEL ?

    In RHEL , it is easy to find the number of Physical CPUs and the number of cores within each CPU
    -- Ouput from Red Hat Enterprise Linux 5.4
    -- This a real machine. Not a VM
    $ cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 46
    model name      : Intel(R) Xeon(R) CPU           X7550  @ 2.00GHz
    stepping        : 6
    cpu MHz         : 1995.048
    cache size      : 18432 KB
    physical id     : 0              --------------> This will give info on the physical CPU
    siblings        : 8
    core id         : 0
    cpu cores       : 8              --------------> This will give the number of cores within a CPU
    apicid          : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 3990.09
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    power management: [8]Output from Oracle Linux . Physical CPU Id and Number of Cores info is missing.
    -- Output from Oracle Enterprise Linux 6.3
    -- This is a virtual machine created using Virtual Box
    -- Processor ID , number of cores is missing
    $ cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 42
    model name      : Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
    stepping        : 7
    cpu MHz         : 2298.627
    cache size      : 6144 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc up rep_good nopl pni monitor ssse3 lahf_lm
    bogomips        : 4597.25
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:Is this the expected output in Oracle Enterprise Linux ? If so, how can I find the number of Physical CPUs and the number of cores within a Physical CPU in OEL?
    Is this info missing because I am running OEL in a virtual machine ?

    Oracle Linux behaves exactly like Red Hat in this matter an /proc/cpuinfo can be used for that. I guess this is because you have set up VirtualBox to only assign one virtual CPU to your guest Linux.
    processor     : 0
    vendor_id     : AuthenticAMD
    cpu family     : 15
    model          : 33
    model name     : Dual Core AMD Opteron(tm) Processor 275
    stepping     : 2
    cpu MHz          : 1000.000
    cache size     : 1024 KB
    physical id     : 0
    siblings     : 2
    core id          : 0
    cpu cores     : 2
    apicid          : 0
    initial apicid     : 0
    fpu          : yes
    fpu_exception     : yes
    cpuid level     : 1
    wp          : yes
    flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm cmp_legacy
    bogomips     : 1994.47
    TLB size     : 1024 4K pages
    clflush size     : 64
    cache_alignment     : 64
    address sizes     : 40 bits physical, 48 bits virtual
    power management: ts fid vid ttpAnother example is this one, OEL 5.6 inside of VirtualBox but with 2 virtual CPUs assigned:
    [root@oel56proxy ~]# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    stepping        : 10
    cpu MHz         : 2064.652
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
    bogomips        : 4129.30
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    stepping        : 10
    cpu MHz         : 2064.652
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 2
    core id         : 1
    cpu cores       : 2
    apicid          : 1
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
    bogomips        : 7494.15I have not tried to replicate this with a VM that only has one vCPU assigned but I guess that is why you only see one CPU and no processor_id and so on.
    Bjoern

  • How do I find the number of users returned by a cfldap query?

    How do I find the number of users returned by a cfldap query?
    I'm not allowed to do something like:
    <cfif ArrayLen(results.rows) gt 1>
    I then get an error:
    faultCode:Server.Processing faultString:'Unable to invoke CFC - Object of type class coldfusion.tagext.net.LdapResultTable cannot be used as an array' faultDetail:''
    Many thanks for any light you can shed

       Cheers again Ian for your many helps,
    it now won't let me do
    <cfqueryparam value="#results.USNCreated#" cfsqltype="cf_sql_varchar">
    I get the message:
    faultCode:Server.Processing faultString:'Unable to invoke CFC - Error Executing Database Query.' faultDetail:'[Macromedia][SQLServer JDBC Driver][SQLServer]The name "results.USNCreated" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.'

  • How can I find the number of megabytes per seconde of mij connection with internet

    In a tuning program is asked the number of MB per second of mij lan-connection with internet.
    I should like to know how I can find that number.

    Hey Tongo,
    This isn't really a Firefox question. I would suggest doing a quick Google search for "Internet Speed Test" or something of that nature. I know a very popular one is located here: http://www.speakeasy.net/speedtest/
    Hopefully this helps!

  • How do I find the number of users logged on another server?

    I'm trying to ping other servers and find the number of users logged on that server. Any leads?

    Do you need maybe something like this?
    FINGER(1) UNIX Reference Manual
    NAME
    finger - user information lookup program
    SYNOPSIS
    finger [-lmMspho] [user ...] [user@host ...]
    DESCRIPTION
    The finger utility displays information about the system users.

  • How do I find the number of instances of a text entry?

    Hello,
    I have a spreadsheet and the cells have either a text entry or numerical entry.
    I am trying to work out how to write a formula to total the number of cells which have a particular text entry.
    Any help would be apprectiated. Thank you.

    =COUNTIF(test-array, condition)
    'test-array' is the range of cells you want to test
    'condition' must be expressed as a text string. To find the count of "example text" on the table named "Data", you could use either of the formulas below (on a separate table). Both counts are of 'all columns of "Data"'. The counts include items in the Header column (Column 1 of Data), but do NOT include items in the Header row (Row 1).
    In the single cell table, "Count 1" the search text is stated as a literal in the formula:
    =COUNTIF(Data :: $A:$D, "=example text")
    In the two cell table, the search text (other text), is set in the top cell, A1, and that cell is referenced in the formula in A2:
    =COUNTIF(Data :: $A:$D, "="&A1)
    Note that because of the omission of Header row cells, the formulas could be placed in a Header Row cell on the main table ("Data"), with the search value also placed in a Header row cell on that table. The formulas in this case would not include the "Data::" part of the 'test-array' argument.
    Regards,
    Barry

  • How can I find the latest added contacts?

    Hi,
    I'm syncing my Address Book with my Nokia 6233, and it works fine. However, the 6233 has limited contacts memory (500 entries), so I had to create a special group within Address Book which is the one synced to the phone.
    Problem is, whenever I add a new entry IN the phone, and later sync, the entry in question is put in the "All" group, not in the "6233" that I created. If I don't pay attention and remember which entries I put in the phone, and move them to the "6233" group, they are deleted from the phone during the next sync (because they don't belong to the "6233" group, of course).
    My question is: how can I get the list of the latest added entries after a sync? I tried to do a smart group based on the modification/update date (which every entry has), but I can't: Smart Group don't offer a "last modified on" criteria, as iTunes does, for instance.
    Using Spotlight to look for the string "Updated: [date]" (which shows at the bottom right of each entry) did not work either, probably because the data is wrapped by XML code that makes it understable only for Address Book.
    Thanks for any suggestion,
    bat

    Besides getting a phone with more memory, and besides sending thank you notes ("It's been nice knowing you, goodbye forever!"), I can only think of specifying a field to mark the entry on your phone.
    For example, perhaps putting 6223 in the notes. If your phone has a notes field, then that should work. Then the Smart Group in Address Book could search for 6223 in the Notes field.
    As for your Spotlight search of "Update: [date]", I believe that didn't work because what you see in Address Book is just the interface, just some text for your convenience that isn't necessarily stored. In other words, the "Update: " part is just decoration. Nice try, though.
    What I found works when searching for contacts based on modification date outside of Address Book is to use Finder's Find (in the File menu), or Command-F. For the first criteria, you can choose "Kind" and then "Other…" and then "Address Book Person Data". The next criteria can be "Last Modified" to narrow the results down to those which have been modified since a certain date, such as by syncing. I'm not sure how useful that will be for this scenario, though. The contacts will be listed by people's names, at first. Unfortunately, the names will end up becoming the undistinguishable file names being referenced for the search as as you scroll.

  • Can't find email with serial number for Pages, how can I find the number?

    Purchased Pages on 9th September following iWork09 trial, however I must have trashed the email containing serial number
    in error. Does anyone know how to find the serial number. Thanks in advance for any reply...

    You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user. Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip.

  • How do I find the number of file descriptors in use by the system?

    Hey folks,
    I am trying to figure out how many file descriptors my Leopard system has in use. On FreeBSD, this is exposed via sysctl at the OID kern.open_files (or something close to that, can't recall exactly what the name is). I do see that OS X has kern.maxfiles, which gives the maximum number of file descriptors the system can have open, but I don't see a sysctl that tells me how many of the 12288 descriptors the kernel thinks are in use.
    There's lsof, but is that really the only way? And, I'm not even sure if I can just equate the number of lines from lsof to the number of in use descriptors. I don't think it's that easy (perhaps it is and I'm just over complicating things).
    So, anyone know where this information is?
    Thanks for your time.

    glsmith wrote:
    There's lsof, but is that really the only way? And, I'm not even sure if I can just equate the number of lines from lsof to the number of in use descriptors.
    Can't think of anything other than lsof right now. However:
    Only root can list all open files, all other users see only their own
    There is significant duplication, and
    All types of file descriptor are listed, which you may not want, so you need to consider filtering.
    As an example, the following will count all regular files opened by all users:
    sudo lsof | awk '/REG/ { print $NF }' | sort -u | wc -lIf you run it without the sudo, you get just your own open files.

  • How do i find the number of messages in a queue

    Sorry if this is too trivial, but i haven't been able to figure out how to determine the number of messages in a queue. business case being that i can only have 3 messages in the send queue, so i need to stop sending if there are 3 outstanding messages still in the send queue.
    Can someone point the way?
    Thanks,
    Nilesh

    Hi,
    To get the depth using JMS you must create a QueueBrowse and browse the entire queue. Its generally horribly inefficient if you want to do it with any regularity.
    In Hermes I have had to write plugins that open separate connections to providers using their non-JMS APIs or JMX and get that kind of information that way.
    Look at the getDepth() method in this JBoss plugin for an example that uses JMX:
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/jbossmq/JBossMQAdmin.java?view=markup
    And here is one for WebSphereMQ that uses one of its many APIs..
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/mq/MQSeriesAdmin.java?view=markup
    Colin.
    http://hermesjms.com

  • How do I find the number times blob has been read?

    Hi there,
    I have a file, stored as a blob. Just wanted to know, how many times the (URL of the) blob has been accessed.
    Thanks, 
    Siddharth

    Hi Siddharth,
    As far as I know, there is no API for get the times of azure blob accessed. But you could custom this function on you side. When there has a request for your blob url, you could increase the number of your blob accessed times
    and store this number into table. Also, you could submit a feature request on this page:
     http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting.
    Best Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I find the number of characters including spaces in Pages '13?

    Hi,
    I need the number of characters including spaces on the new pages for an online document I have to fill in. I've found the character count excluding spaces but this is of no use to me.
    Thanks

    http://lifehacker.com/5907637/add-a-right+click-option-to-count-characters-words -and-paragraphs-in-any-mac-program
    Use this version of the script:
    http://hints.macworld.com/comment.php?mode=view&cid=129016
    Peter

  • How do I find the number of pixels in height of photos?

    I have been asked the following question: If you wish to send book cover images the preferred format is .jpg, 648 pixels high, at a resolution of 100 dpi. Where do I find the answer?

    Open the image in Preview .app and Get Info command i
    To set the size and resolution in Preview:
    Menu > Tools > Adjust Size…
    Peter

Maybe you are looking for

  • HR-ABAP(Payroll Management)

    Hi All, I am new to HR-ABAP. I wanted to know more about HR-ABAP(Payroll Management). Please send me the links or documents if u have collected. Regards, Mihira

  • Library names in java ( JNI )

    I want to load library name called MathLib. but i am getting error like below.. Exception in thread "main" java.lang.UnsatisfiedLinkError: no MathLib in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) at java.lang.Runtim

  • Which headset would you recommend to go with SoundBlaster Z

    Hi, I've bought SoundBlaster Z about a year ago, and i am looking for some nice headset to go with it for the best sound experience. I currently have Fatal1ty, which ceases to suffice. There are either Tactic3D series, which have very tempting 3D sou

  • How to settle project costs to AUC

    Dear Experts, Please teach us how to settle project costs to AUC. Your response is very much appreciated.

  • When I clear history Firefox (4 Mac) ask me to stop a JS script.

    Could it be a spyware or a keylogger ? I did not install any plugins. I stopped the script but can't remember its name...