Converting a ResultSet to XML (mysql) - very slow - need some criticism

Preface:
I have some data being inserting into a mySQL table every 5 minutes. Currently, there are about 275 rows. Each row has 26 (TEXT) columns, the data in those columns is no longer than 10-15 characters.
I am using the following code to turn this data into XML which is then, through a servlet, output on a webserver. With 275 rows, this is taking around 3-4 minutes to generate the XML file. I am worried that in a week from now when the data is over 2,000 rows it will exponentially decrease in speed. Can someone give me a better route so this will run faster?
         String xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n";
       String SQLCommand = "select * from "+getDataId()+";";
       try{
            Statement stmt;     
            ResultSet rs;
           String url = "jdbc:mysql://"+getIBoxIp()+":"+getDbPort()+"/"+getDbName();          
           Connection con = DriverManager.getConnection(url,getDbUsername(), getDbPassword());                     
                stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                rs = stmt.executeQuery(SQLCommand);
                while(rs.next()){
                  xml += "\n<row>";
                  ResultSetMetaData md = rs.getMetaData();
                  for(int i = 1; i < md.getColumnCount() + 1; i++){
                       xml += "\n\t<" + md.getColumnName(i) + ">" + rs.getString(i) + "</" + md.getColumnName(i) + ">";
                  xml += "\n</row>\n";
                System.out.println("@@mysql> XMLSQLCommand > " + SQLCommand);          
           con.close();     
           return xml;
       }catch(Exception ex)
            System.out.println("@@mysql> SQLCommand Failed > " + SQLCommand + "\n@@mysql> Exception > " + ex.getMessage() + "");
            return xml;
       }Again, with 275 rows, I'm getting about 250 KB of data in the resulting XML file with a 3-5 minute parsing/generation time.
Thanks in advance!!!
Edited by: bergy on Sep 21, 2007 8:46 AM added code tags

No, it's a good question. The page I linked to does say
"Instead of XMLWriter, this driver uses David Megginson�s other public domain writer program, DataWriter..."
So yeah, trying to track down Megginson's code might not be such a good idea. But the sentence quoted does suggest what should be used instead: XMLWriter. Which implies that XMLWriter was mentioned somewhere earlier in the book.
So, following the "Prev" links to previous pages, eventually I found XMLWriter discussed a couple of pages earlier, where it says
"More specifically, I�m going to use David Megginson�s public domain com.megginson.sax.XMLWriter class."
I don't really find this very satisfactory as advice for beginners, so I somewhat regret doing that. It's a long time since I looked at that page myself. But it does have a link pointing to http://www.megginson.com/downloads/, where it is possible to download the Java version of XMLWriter. I'm not sure if the OP is comfortable with using downloaded software, but that download is the simplest possible Java download so it might be a good place to start.
You could recommend using a DOM strategy, and JDOM might be a good choice, but if you can just generate the XML straight from your input, it's a better strategy to do that rather than building a DOM tree in memory and then serializing it, in my opinion.

Similar Messages

  • My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words.

    My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
    I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
    HELP PLEASE
    Very worried!!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • IE XML Iteration very slow

    Hi Guys,
    I have JavaScript code that iterates through elements of XML. The problem is that IE 6 is very slow when compared to Firefox and IE 7.
    I am wondering is there any quicker way to iterate through the XML?
    Here is some of my code:
    function createTasks() {
    var imageName = null;
    var latitude = null;
    var longitude = null;
    var taskId = null;
    var visible = null;
    var baseStation = null;
    var vehicleId = null;
    var taskImageCounter = 1;
    var sTime;
    var eTime;
    if (BrowserDetect.browser == "Explorer") {
    alert("loading XML IE...);
    startLoadTime=(new Date()).getTime();     
    var taskPos = mapIconsFrame.document.getElementById("taskXmlData").innerHTML;
    var xmlTaskObj;
    if (window.ActiveXObject) {
    xmlTaskObj = new ActiveXObject("Microsoft.XMLDOM");
    xmlTaskObj.async = "false";
    xmlTaskObj.loadXML(taskPos);
    if (xmlTaskObj != null) {
    var data = xmlTaskObj.documentElement;
    var tasksOnMap = xmlTaskObj.documentElement.getElementsByTagName("TASKSONMAP");
    tasksOnMapCounter = tasksOnMap.length;
    finishedLoadTime=(new Date()).getTime();     
    alert("Loading Tasks XML Took..." + ((finishedLoadTime - startLoadTime) / 1000) )
    if (tasksOnMapCounter != allTaskMarkersCounter)
    alert("Iterating Through Tasks...")
    *{color:#339966}// THIS TAKES A WHILE.... ANY SUGGESTIONS??? {color}*
    startIterTime=(new Date()).getTime();     
    *for (i = 0; i <= tasksOnMap.length - 1; i++)*
    *imageName = data.childNodes.childNodes[0].nodeTypedValue;*
    *latitude = data.childNodes[i].childNodes[1].nodeTypedValue;*
    *longitude = data.childNodes[i].childNodes[2].nodeTypedValue;*
    *taskId = data.childNodes[i].childNodes[3].nodeTypedValue;*
    *connected = data.childNodes[i].childNodes[4].nodeTypedValue;*
    *visible = data.childNodes[i].childNodes[5].nodeTypedValue;*
    *baseStation = data.childNodes[i].childNodes[6].nodeTypedValue;*
    *vehicleId = data.childNodes[i].childNodes[7].nodeTypedValue;*
    endIterTime=(new Date()).getTime();
    alert("Iterating Tasks Took..." + ((endIterTime - startIterTime) / 1000))     
    {color:#339966}*// USUALLY ABOUT 82-100 SECONDS for approx 600 Items in the XML!!!!*{color}
    sTime =(new Date()).getTime();
    else
    alert("Loading Tasks XML FireFox...")
    startLoadTime=(new Date()).getTime();     
    var tasksOnMap = mapIconsFrame.document.getElementById("taskXmlData").getElementsByTagName("tasksOnMap");     
    tasksOnMapCounter = tasksOnMap.length;
    var objectPos = mapIconsFrame.document.getElementById("taskXmlData").innerHTML;
    finishedLoadTime=(new Date()).getTime();     
    alert("Loading Tasks XML Took..." + ((finishedLoadTime - startLoadTime) / 1000) )
    if (tasksOnMapCounter != allTaskMarkersCounter)
    allTaskMarkers= [];     
    alert("Iterating Through Tasks...")
    startIterTime=(new Date()).getTime();     
    for (var i = 0; i < tasksOnMap.length; i++)
    var objImageName = tasksOnMap[i].getElementsByTagName("imageName");
    var objLatitude = tasksOnMap[i].getElementsByTagName("latitude");
    var objLongitude = tasksOnMap[i].getElementsByTagName("longitude");
    var objTaskId = tasksOnMap[i].getElementsByTagName("taskId");
    var objVisible = tasksOnMap[i].getElementsByTagName("visible");
    var objVehicleId = tasksOnMap[i].getElementsByTagName("vehicleId");
    imageName = objImageName[0].firstChild.data;
    latitude = objLatitude[0].firstChild.data;
    longitude = objLongitude[0].firstChild.data;
    taskId = objTaskId[0].firstChild.data;
    visible = objVisible[0].firstChild.data;
    vehicleId = objVehicleId[0].firstChild.data;
    displayTask(visible, vehicleId, latitude, longitude, taskId, imageName);
    endIterTime=(new Date()).getTime();
    alert("Iterating Tasks Took..." + ((endIterTime - startIterTime) / 1000))     
    {color:#339966}*// USUALLY 7-12 SECONDS IN FIREFOX WHICH IS EXCEPTABLE!!!*{color}
    alert("Drawing " + allTaskMarkers.length + " Tasks...")
    sTime =(new Date()).getTime();
    //map.addOverlays(allTaskMarkers);
    eTime=(new Date()).getTime();
    alert("Tasks Drawn in: " + ((eTime - sTime) / 1000))     
    eTime = 0;
    sTime = 0;
    Has anyone any suggestions od speeding up the iterator in IE ?

    Hi,
    I suggest you test the issue with no add-on first.
    Check Internet Explorer Add-Ons
    =========================
    1. Click Tools, and then click Internet Options. 
    2. Click the "Programs" tab, and then click Manage Add-ons. 
    3. Select an add-on in the Name list, and then click Disable. 
    4. Restart IE with Add-ons and check the issue again.
    Also refer to this: http://support.microsoft.com/gp/pc_ie_intro
    Hope this helps.
    Vincent Wang
    TechNet Community Support

  • Converting .docx merges to PDF is very slow.

    Hi all first post, so hello!
    As the thread question states, I am trying to figure out creating PDFs from docx merges are very very slow to complete. We are using Adobe Acrobat 8, and Microsoft Word 2007 on Windows XP.
    Before we upgraded to MS Office 2007 and the docx format, Acrobat 8 created PDF merges in the the 2003 .doc format just fine and was very quick. We can even created PDFs from .doc merges through Office 2007 and it is still works great and is super fast. But once we try a creating a PDF from a .docx merge, it crawls and is very slow, and is starting to be time consuming for the users. I checked out the 3-4 people that perform this function, and they all seem to have the same issue.  So i would guess this would have something to do with the .docx format and the way Adobe 8 interprets the format to create a PDF from it. The documents normally fall within the 1200-1500 page range.
    Acrobat 8 has been updated with the latest program updates, but I am a loss as to why .doc's create so fast, but docx's are very very slow.
    Any input would be greatly appreciated. I tried to include all pertinent info you would need, if I left something out, please let me know.
    Thanks!

    I solved my problem. I updated the Acrobat pro 9 version several times, then I coppiend the job options according to the last step in this thread: http://forums.adobe.com/thread/780318
    Now Acrobat gently merges word files to one pdf, independent if it is Doc or Docx.
    My system
    Windows 7 64bit
    Microsoft Office 2010 32bit
    Acrobat Pro 9.4.1
    I solved my problem. I updated the Acrobat pro 9 version several times, then I copied the job options according to the last step in this thread: http://forums.adobe.com/thread/780318
    Now Acrobat gently merges word files to one pdf, independent if it is Doc or Docx.
    My system
    Windows 7 64bit
    Microsoft Office 2010 32bit
    Acrobat Pro 9.4.1
    Note: I read in another thread that if you have Micosoft Office 64bit, you may have serious problems with Acrobat 9.

  • Data Flow | XML Source | Very Slow with big files (over 1/2 a gig)

    hi
    I am trying to load a few XML files to a database. one of our proprietary systems load the file in 3-4 minutes however with ssis XML source file it takes over an hour.
    can anyone know the reason/help with this?
    I tried the delayValidation set to true with no success.
    thanks
    eddy
    eddy.a

    Parsing XML files as data sources in SSIS is not the most efficient. Remember that you have define a WSDL (aka structure of the input file) and once the XML source starts parsing the input file, it has to read every node at every level and make sure it conforms
    to the structure defined in the WSDL file before it can start streaming the data out to the downstream components in your workflow.
    A half-gig XML file with 150 nodes to parse is going to need some heavy-lifting behind the scenes before you start seeing the rows streamed out. I'd rather recommend that you use either inbuilt .Net classes for XML to parse and extract the data or leverage
    SQL scripting to accomplish that. Alternatively, if your upstream system can instead drop the data feed in a flat file format, that'd be more preferable. And if you could hook into their data streaming APIs/end-points directly, that'll work too.
    Hope this gets you started in finding the right approach.
    - Muqadder.

  • Safari is very slow, needs a long time to open a website

    Hello there,
    I´m using the version Version 7.0.4 on my iMac. The download of websites is very slow. What can I do? Is there any possibilty to make the safari faster?
    Thank you very much for your help.

    Please answer as many of the following questions as you can. You may already have answered some of them. In that case, there's no need to repeat the answers.
    Have you restarted your router and your broadband device (if they're separate) since you first noticed the problem? If not, do that now and see whether there's any change.
    If your browser is Safari, then from the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Any change?
    If you're running OS X 10.9 or later, select the Advanced tab in the Preferences window and uncheck the box marked
    Stop plug-ins to save power
    Any change?
    Quit and relaunch the browser. Any change?
    Log out and log back in. Any change?
    Enable Private Browsing in the Safari menu. Any change?
    Are any other web browsers installed, and are they the same? What about other Internet applications, such as iTunes and the App Store?
    If other browsers and Internet applications are also affected, follow these instructions and test. Any change?
    If Parental Controls is active for any user, please turn it off and test. Any change?
    If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement?
    Again, if only Safari is involved, open the iCloud preference pane and uncheck the box marked Safari, if it's checked. Any change?
    Are there any other devices on the same network that can browse the Web, and are they affected?
    If you can test Safari on another network, is it the same there?
    If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

  • Mac suddenly running very slow, need advice on EtreCheck results

    Problem description:
    After a week of vacation, Mac is running very slow and unable to accomplish simple tasks. Restart and automatic updates do not seem to help, this is the EtreCheck results after most recent restart. Is the problem my HD? I am about to run a hardware test. Thanks for any help!!
    EtreCheck version: 2.1.8 (121)
    Report generated March 26, 2015 at 12:36:10 PM PDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (27-inch, Mid 2011) (Technical Specifications)
        iMac - model: iMac12,2
        1 3.4 GHz Intel Core i7 CPU: 4-core
        16 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 0/DIMM1
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM1
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        AMD Radeon HD 6970M - VRAM: 2048 MB
            iMac 2560 x 1440
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 0:46:57
    Disk Information: ℹ️
        ST31000528AS disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 899.32 GB (744.49 GB free) - 69 errors
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            BOOTCAMP (disk0s4) /Volumes/BOOTCAMP : 100.03 GB (7.27 GB free)
        OPTIARC DVD RW AD-5690H 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        BUFFALO INC. HD-GDU3 3 TB
            EFI (disk1s1) <not mounted> : 315 MB
            Time Machine (disk1s2) /Volumes/Time Machine : 700.00 GB (441.58 GB free)
            NTFS (disk1s3) /Volumes/NTFS : 1.80 TB (1.77 TB free)
            ExFAT (disk1s4) /Volumes/ExFAT : 500.01 GB (436.70 GB free)
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple, Inc. Keyboard Hub
            Apple Inc. iPhone
            Apple Inc. Apple Keyboard
        Logitech USB LaserStream(TM) Mouse
        Apple Internal Memory Card Reader
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Library/Extensions
        [not loaded]    org.virtualbox.kext.VBoxDrv (4.2.16) [Click for support]
        [not loaded]    org.virtualbox.kext.VBoxNetAdp (4.2.16) [Click for support]
        [not loaded]    org.virtualbox.kext.VBoxNetFlt (4.2.16) [Click for support]
        [not loaded]    org.virtualbox.kext.VBoxUSB (4.2.16) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.livescribe.kext.LivescribeSmartpen (1) [Click for support]
    Startup Items: ℹ️
        VirtualBox: Path: /Library/StartupItems/VirtualBox
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.teamviewer.teamviewer.plist [Click for support]
        [running]    com.teamviewer.teamviewer_desktop.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.livescribe.PenCommService.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.teamviewer.Helper.plist [Click for support]
        [running]    com.teamviewer.teamviewer_service.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
        [not loaded]    org.virtualbox.vboxwebsrv.plist [Click for support]
    User Login Items: ℹ️
        PollockShare    Volume  (/Volumes/PollockShare)
        Dropbox    Application  (/Applications/Dropbox.app)
        Google Drive    Application  (/Applications/Google Drive.app)
        BackUp    Volume  (/Volumes/BackUp)
        BootChamp    Application  (/Users/[redacted]/Downloads/BootChamp.app)
        Spotify    Application Hidden (/Applications/Spotify.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 2.4.4.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        AdobePDFViewerNPAPI: Version: 10.1.13 [Click for support]
        AdobePDFViewer: Version: 10.1.13 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        SiteAdvisor: Version: 2.0 - SDK 10.1 [Click for support]
        Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 7 Update 75 Check version
    Safari Extensions: ℹ️
        SiteAdvisor
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Java  [Click for support]
        Paragon NTFS for Mac ® OS X  [Click for support]
        TeXDistPrefPane  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 899.32 GB Disk used: 154.83 GB
        Destinations:
            Time Machine [Local]
            Total size: 700.00 GB
            Total number of backups: 93
            Oldest backup: 2014-02-21 22:42:44 +0000
            Last backup: 2015-03-26 18:26:48 +0000
            Size of backup disk: Adequate
                Backup size 700.00 GB > (Disk used 154.83 GB X 3)
    Top Processes by CPU: ℹ️
            27%    com.apple.appkit.xpc.openAndSavePanelService
             5%    WindowServer
             4%    Get Backup Lite
             3%    Finder
             3%    Mendeley Desktop
    Top Processes by Memory: ℹ️
        344 MB    Mendeley Desktop
        241 MB    Google Chrome
        223 MB    mds_stores
        148 MB    Google Chrome Helper
        137 MB    Finder
    Virtual Memory Information: ℹ️
        8.52 GB    Free RAM
        4.86 GB    Active RAM
        2.13 GB    Inactive RAM
        1.66 GB    Wired RAM
        3.61 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 26, 2015, 11:45:20 AM    Self test - passed

    armypunk wrote:
    My backup is up to date, I ran a hardware check and found no issues, then ran the Disk Utility and it also said it found no issues but I hit repair anyways. After a restart I ran EtreCheck again and this is what came out. The computer is still horribly sluggish. Do I just keep repeating the Disk Utility check and repair step???
    EtreCheck version: 2.1.8 (121)
    Report generated March 26, 2015 at 3:20:28 PM PDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (27-inch, Mid 2011) (Technical Specifications)
        iMac - model: iMac12,2
        1 3.4 GHz Intel Core i7 CPU: 4-core
        16 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 0/DIMM1
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM1
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        AMD Radeon HD 6970M - VRAM: 2048 MB
            iMac 2560 x 1440
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 0:13:41
    Disk Information: ℹ️
        ST31000528AS disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 899.32 GB (745.69 GB free) - 24 errors
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            BOOTCAMP (disk0s4) /Volumes/BOOTCAMP : 100.03 GB (7.27 GB free)
        OPTIARC DVD RW AD-5690H
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. iPad
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple, Inc. Keyboard Hub
            Apple Inc. Apple Keyboard
        Logitech USB LaserStream(TM) Mouse
        Apple Computer, Inc. IR Receiver
        Apple Internal Memory Card Reader
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Library/Extensions
        [not loaded]    org.virtualbox.kext.VBoxDrv (4.2.16) [Click for support]
        [not loaded]    org.virtualbox.kext.VBoxNetAdp (4.2.16) [Click for support]
        [not loaded]    org.virtualbox.kext.VBoxNetFlt (4.2.16) [Click for support]
        [not loaded]    org.virtualbox.kext.VBoxUSB (4.2.16) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.livescribe.kext.LivescribeSmartpen (1) [Click for support]
    Startup Items: ℹ️
        VirtualBox: Path: /Library/StartupItems/VirtualBox
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.teamviewer.teamviewer.plist [Click for support]
        [running]    com.teamviewer.teamviewer_desktop.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.livescribe.PenCommService.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.teamviewer.Helper.plist [Click for support]
        [running]    com.teamviewer.teamviewer_service.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
        [not loaded]    org.virtualbox.vboxwebsrv.plist [Click for support]
    User Login Items: ℹ️
        PollockShare    Volume  (/Volumes/PollockShare)
        Dropbox    Application  (/Applications/Dropbox.app)
        Google Drive    Application  (/Applications/Google Drive.app)
        BackUp    Volume  (/Volumes/BackUp)
        BootChamp    Application  (/Users/[redacted]/Downloads/BootChamp.app)
        Spotify    Application Hidden (/Applications/Spotify.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 2.4.4.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        AdobePDFViewerNPAPI: Version: 10.1.13 [Click for support]
        AdobePDFViewer: Version: 10.1.13 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        SiteAdvisor: Version: 2.0 - SDK 10.1 [Click for support]
        Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 7 Update 75 Check version
    Safari Extensions: ℹ️
        SiteAdvisor
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Java  [Click for support]
        Paragon NTFS for Mac ® OS X  [Click for support]
        TeXDistPrefPane  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 899.32 GB Disk used: 153.63 GB
        Destinations:
            Time Machine [Local]
            Total size: 700.00 GB
            Total number of backups: 93
            Oldest backup: 2014-02-21 22:42:44 +0000
            Last backup: 2015-03-26 18:26:48 +0000
            Size of backup disk: Adequate
                Backup size 700.00 GB > (Disk used 153.63 GB X 3)
    Top Processes by CPU: ℹ️
             2%    WindowServer
             2%    mds_stores
             1%    mds
             0%    fontd
             0%    Dropbox
    Top Processes by Memory: ℹ️
        124 MB    mds_stores
        120 MB    Spotify Helper
        103 MB    Finder
        103 MB    Google Drive
        86 MB    Dropbox
    Virtual Memory Information: ℹ️
        12.99 GB    Free RAM
        2.25 GB    Active RAM
        561 MB    Inactive RAM
        1.37 GB    Wired RAM
        1.31 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 26, 2015, 03:04:16 PM    Self test - passed
    You have had 2 experienced users tell you the HD may be failing, looking at your latest report this confirms the suspicion. Take the machine to either an Apple Store or AASP and have it professionally diagnosed.

  • Report run very slow because some user accessing the same report

    Dear All,
    I group my table into 3 tablespace And some reports, accessing different tablespace (more than 1 table space). and these report will always be run by 5 user in the same time. and make it run very slow. Is it going to make the report very slow ? Please advice
    Thanks in advance
    Widhi

    Hi,
    i hope that may not be the actual problem..
    if ur report processing includes relatively high
    amount of calculations on tables..then the report
    processing can be very slow...
    In that case try to create a table to store ur calculations
    temporarily and try to use that table in the report..

  • SharePoint Site Very Slow and some time Request Timed Out

    Hi All
    I have many Web Application is running in SharePoint Farm. Since yesterday one of the web application started responding very slow. It takes 5 to 6 mins to load the page. Some time i received request timed out error message. But all other web applications
    are working good. 
    I increased executionTimeout value, stall it slow / not responding.
    Please let us know if you have come across this issues or any suggestion from your end to resolve this issue.
    Thanks in Advance - Guru
    Cheers, Guruprasad

    i would recommend enable the developer dashboard on the web app and check which task is consuming the more time i.e. webpart, query to database etc.
    also any change to web app since the issue started, any new webpart added to the page, any solution deployed or something else.
    also did you try to recycle the app pool of the web applications?
    how many wfe in the farm?
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • MySQL very slow on Win 2000 Fast on Win XP Found a fix

    Greetings,
    I've recently rolled out an internal LabVIEW 8.5 application that works
    with a MySQL database.  Several of the PCs required an installer. 
    Although a few of them belonged to other LabVIEW developers in the
    office and required only the .exe file to run. 
    After setting up the OBDC connector, the application works on all the
    PCs.  However, any calls to the database are brutally slow on the one
    Windows 2000 machine. 
    I thought perhaps the problem might be due to the fact that the LabVIEW
    program was compiled on a Windows XP machine.   But even when I run the
    connection test from the OBDC Data Source Configuration dialog, it
    responds much slower on the Windows 2000 machine than any of the
    Windows XP machines.  
    -------edit---------
    While in the middle of drafting this post I happened upon some information on the MySQL forums. 
    Adding the following lines to the "my.ini" file in the MySQL Server 5.1 directory cleared the problem right up.
    skip-host-cache
    skip-name-resolve
    All my clients are working fine now.  Let the weekend begin! 
    Patrick Allen

    Have you checked your ethernet speed/duplex settings on the ethernet port and XP machine?

  • Libwebkit(webkit-gtk) based browsers very slow on some sites

    Tried midori, epiphany and vimprobable.
    Slow performance on google reader, when viewing feeds.
    On some apple pages, for example: http://www.apple.com/ipad/features/ (100% cpu usage and browser freezes for few minutes).
    And some others.
    At the same time in arora(webkit-qt based) all working fast and smooth.
    So.. i'am wondering, is it only me? Or is it Arch version of libwebkit? Or maybe this is global issue?
    p.s. i'am using x86_64 OS.
    p.p.s. oh, and sorry for my bad english..

    https://bugs.webkit.org/show_bug.cgi?id=42052
    http://trac.webkit.org/changeset/70688
    This has been merged since the 1.3.6 dev release, I've tried to backport the patch to 1.2.5 but with very limited success (API has been bumped big time and if cairo patch passes something else breaks).
    You can very easily use PKBUILD from libwebkit-gtk in extra to build 1.3.7 dev version.
    http://webkitgtk.org/webkit-1.3.7.tar.gz
    Compiling on my laptop takes forever it seems so I didn't want to maintain this one in AUR, if someone else is willing to do this then great It's one thing to have fun for myself, entirely different to be responsible for something many others are using.

  • Safari gets stuck/very slow on some sites

    Some weeks ago I did install by mistake a Mavericks Developer Pre-Release of 10.9.2 (or 10.9.3... I don't remember exactly) on my development Mac.
    Since then Safari gets stuck on some sites; one of them is StackOverlow. The page loads partially then Safari hangs for some time 5-15 secs. (user interface becomes non-responsive with spinning wheel) then the page finish to load.
    I was hoping the problem would have been fixed with the first public release so I didn't swiched back to the last backup (second mistake, very stupid).
    Now on 10.9.5, Safari 7.1.2 (9537.85.11.5) the problem still persists.
    I hope there is a way to fix the issue without reinstalling everything.
    Thanks in advance for any help.
    Paolo.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Bluetooth SerialATA Extensions Applications Frameworks PrefPane Fonts 1024 85 percent 20480 1 MB/s 25000 ports KiB/s DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB 'com.adobe.AAM.Updater-1.0 com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.citrixonline.GoToMeeting.G2MUpdate com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper com.oracle.java.JavaUpdateHelper org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.startx' '879294308 4071182229 461455494 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 3694147963 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 523110921 2883943871 3873345487' 51 5120 files 4 1000 25 5120 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' '%s (UID %s) is using %s %s' '\nContents of %s\n   -\tmod date: %s\n   -\tchecksum: %s\n%s\n' '\n   ...and %s more line(s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("'"${f[5]}"'",$0,u,q,"'${p[$2]}'");} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[46]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[47]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[48]}'";} ' ' NR==2&&$4<='${p[49]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:.+//p ' '/^root$/p' ' !/^\/[AD]|\/Contents\/.+\/Contents\/|\.prefP/&&/\/(Lib|usr).+\/(.+\.lproj|Contents|Info\.plist|Resources)|\.framework$/ { n++;sub(/\/Info\.plist$/,"");sub(/\/([A-Za-z_]+\.lproj|Contents|Resources|Versions)(\/.+)?/,"");print|"sort|uniq";} END { if(n<1100) print "/System/";} ' '/\.dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /^\/(Ap|Dev|Inc|Prev)|\.(action|bundle|framework|kext|pkg|prefPane|service|vst)$/d;p;' 's/Pr.+n //p' ' /.kext$/ { s=system("PlistBuddy -c Print\\ :OSBundleRequired "$0"/*/I*|grep -q Sa");if(s==0) $0=$0" S"; };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&& $3!~/(255\.){3}0/)||(/v6:/&&$2!~/A/) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 23`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C=A[1];"stat -f%Sm "F|getline D;"file -b "F|getline T;if(T~/^Apple b/) { f="";l=0;while("PlistBuddy -c Print "F|getline g) { l++;if(l<=L) f=f"\n   "g;};};if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F"\n   -\t"T;printf("'"${f[6]}"'",F,D,C,f);if(l>L) printf("'"${f[7]}"'",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR|^s/d;s/^.+: //p;' ' $3~/^[1-9][0-9]{0,2}(\.[1-9][0-9]{0,2}){2}$/ { i++;n=n"\n"$1"\t"$3;} END { if(i>1) print n;} ' ' s/:[^:]+$//;s/ +([0-9]+)(.+)/\2: \1/p;' ' { gsub(/[()"]/,"",$3);if(!$3) $3="N/A";print $3;} ' ' /es: ./{ s/^.+://;b0'$'\n'' };/^ +C.+ted: +[NY]/H;/:$/b0'$'\n'' d;:0'$'\n'' x;/: +N/d;s/\n.+//p;' ' /[my]: /H;/^ *Lo.+: /{ H;b0'$'\n'' };$b0'$'\n'' d;:0'$'\n'' x;/: [3IU]/!d;s/.+n: //p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab iotop top pkgutil 'PlistBuddy 2>&1 -c Print\' whoami cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom 'mdfind -onlyin /' ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' pluginkit scutil dtrace profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil lsof test osascript\ -e netstat mdls );S1() { printf kMDItemContentTypeTree=com.apple.$1;};S2() { printf 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :'$1' {} \;|uniq';};c2=(com.apple.loginwindow\ LoginHook ' /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" "`S2 CFBundleDisplayName`" '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '-F \$Message -k Sender kernel -k Message CSeq "I/O e"|sort|uniq -c' :${p[35]} :Label '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender Req 'fsev|kern|launchd' -k RefProc Rne 'Aq|WebK' -k Message Rne '08012|Goog|ksadm|probe|Roame|SMC:|smcD|sserti|suhel| VALI|ver-r|xpma' -k Message Req 'abn|bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|idle ex|inval|jnl:|last value [1-9]|NVDA\(|pagin|pci pa|proc: t|Roamed|rror|SL|TCON|Throttli|tim(ed? ?|ing )o|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' "`S1 bundle`" "`S1 mach-o-dylib`" "`S2 ${p[35]}`" "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' " -F '\$Time \$Message' -k Sender kernel -k Message CSeq 'n Cause: -' " -i '-app Safari UserStyleSheetEnabled' -name\ kMDItem${p[35]} );N1=${#c2[@]};for j in {0..14};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files I/O\ errors 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Stylesheet Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching Nets Descriptors App\ extensions Lockfiles Memory\ pressure SMC Shutdowns );N3=${#l[@]};for i in {0..8};do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};A'$((7+i))'() { v=` eval sudo "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};';done;A9(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"|sort`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2 7 8;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 $((N3+4));for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 0 $((N1+8)) 71 $((N3+3));D13 1 10 7 9;D13 1 11 8 10;B1&&D73 19 53 67 55;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D13 5 5 69 1;D13 5 54 30 56;D23 5 14 12 14;D22 6 36 13 15;D22 20 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D82 35 49 61 51;D82 11 17 17 20;for i in 0 1;do D82 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A8 18 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;for i in {0..3};do A1 0 $((N1+10+i)) 72;B7 12;B4 0 14 31;A4 39 57 70 0;B2 15;B6 14 15 4;C3 $((N3+5+i));done;A1 24 22 29;B7 12;B2 14;A4 39 57 70 0;B2 15;B6 14 15 4;C3 29;B3 4 13 27;A1 24 23 32;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 26 50 64;B7 16;C3 52;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D73 21 0 32 19;D73 10 42 32 40;D82 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+14)) 51 32;D13 4 8 41 6;D12 21 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 38 55 68 50;D23 33 34 42 37;B1&&D83 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 10 42 32 41;D13 37 2 48 43;A1 4 3 60;B2 30;A1 4 24 60;B2 31;B6 30 31 4;C3 5;D12 21 56 35 31;D12 21 48 49 49;B3 4 22 57;A1 21 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A9;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Very slow in some things!

    I have had my new 2.8 MacbookPro for 5 weeks now and am very disapointed in it's performance, I complained the day after I got it but!!
    I also have a 1 year old 2.4 MacBookPro so do have something to compare it against. I have done the bench mark tests and the 2,8 is faster but I am in the process of digitizing my DVD library and was hoping the 2.8 would out perform my 2.4 but no way. As an example I did the same movie on both machines the 2.4 completed the digitizing in 1hr 10mins the same movie on the 2.8 took 2 hrs 18mins!!! it also gets very hot I have seen it hit 85c when playing Warcraft.
    Does anyone have any ideas?

    Hi goodoh and welcome to the forum!
    Hmm... that's a significant difference. When you said you complained the day after you got it... was that when you performed the test? When you first set up your MacBook, Spotlight indexes the drive. This is quite drive intensive and can significantly impact something as drive intensive as ripping DVDs. Also... if you use TimeMachine... if a backup happens to start while you are ripping your DVDs, this too will have a significant impact (TimeMachine really needs to be updated in a number of ways).
    Do you have a stock drive or did you install a new drive yourself? If you did install a new drive, have you installed all of the updates from Software Update... namely firmware 1.7?

  • I upgraded my MacBookPro 10,1to Yosemite and the internet has become very slow on some sites.

    Problem description:
    Slower start up and some pages on internet take nearly a minute to load, compared with a second or 2 before Yosemite
    EtreCheck version: 2.1.6 (109)
    Report generated 20 January 2015 20:52:28 GMT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (Retina, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro10,1
      1 2.7 GHz Intel Core i7 CPU: 4-core
      16 GB RAM Not upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n
      Battery Health: Normal - Cycle count 129
    Video Information: ℹ️
      Intel HD Graphics 4000
      Color LCD spdisplays_2880x1800Retina
      NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Time since boot: 0:47:48
    Disk Information: ℹ️
      APPLE SSD SM768E disk0 : (751.28 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 750.05 GB (658.81 GB free)
      Core Storage: disk0s2 750.42 GB Online
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist [Support]
    User Login Items: ℹ️
      Garmin Express Service Application  (/Applications/Garmin Express.app/Contents/Library/LoginItems/Garmin Express Service.app)
      iTunesHelper Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      TomTomHOMERunner Application Hidden (/Users/[redacted]/Library/Application Support/TomTom HOME/TomTomHOMERunner.app)
    Internet Plug-ins: ℹ️
      GarminGpsControl: Version: 4.2.0.0 - SDK 10.8 [Support]
      FlashPlayer-10.6: Version: 16.0.0.257 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.257 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      Silverlight: Version: 4.1.10329.0 [Support]
      Default Browser: Version: 600 - SDK 10.10
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          4% WindowServer
          1% fontd
          0% AppleSpell
          0% notifyd
          0% racoon
    Top Processes by Memory: ℹ️
      241 MB com.apple.WebKit.WebContent
      137 MB Safari
      120 MB Spotlight
      103 MB ocspd
      103 MB mds_stores
    Virtual Memory Information: ℹ️
      9.94 GB Free RAM
      5.55 GB Active RAM
      510 MB Inactive RAM
      1.18 GB Wired RAM
      886 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Jan 20, 2015, 08:05:15 PM Self test - passed

    Please answer as many of the following questions as you can. You may already have answered some of them. In that case, there's no need to repeat the answers.
    Back up all data before making any changes.
    Have you restarted your router and your broadband device (if they're separate) since you first noticed the problem? If not, do that now and see whether there's any change.
    If your browser is Safari, then from the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If the Downloads button (with the icon of a downward-pointing arrow) is showing in the toolbar, click it and then click Clear in the box that appears. The download history will be removed. Any change?
    If you're running OS X 10.9 or later, select the Advanced tab in the Preferences window and uncheck the box marked
              Stop plug-ins to save power
    Any change?
    Quit and relaunch the browser. Any change?
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Are any other web browsers installed, and are they the same? What about other Internet applications, such as iTunes and the App Store?
    If other browsers and Internet applications are also affected, follow these instructions and test. Any change?
    If Parental Controls is active for any user, please turn it off and test. Any change?
    If only Safari is affected, launch the Activity Monitor application and enter "web" (without the quotes) in the search box. If a process named "Safari Web Content" is shown in red or is using more than about 5% of a CPU, select it and force it to quit by clicking the X or Quit Process button in the toolbar of the window. There may be more than one such process. Any improvement?
    Follow the instructions in this support article. Any change?
    Open the iCloud preference pane and uncheck the box marked Photos, if it's checked. Any change?
    Are there any other devices on the same network that can browse the Web, and are they affected?
    If you can test Safari on another network, is it the same there?
    If you connect to your router with Wi-Fi and you can also connect with Ethernet, do that and turn off Wi-Fi. Any difference?

  • Ssh access very slow to some accounts

    I have OS X Server 10.6.2 up and running. If I ssh from a client machine to the server as the admin user, I get a password prompt, and on entering the password I immediately get to a shell prompt. If I do the same but specify another user, I get a password prompt and then there is a long wait of about a minute after entering the password before I get a shell prompt.
    I believe I have DNS set up correctly. Both forward and reverse DNS is working for both addresses on my local network and for external addresses. Running the "sudo changeip -checkhostname" command shows no problems.
    On examining the logs I see a few worrying looking entries such as:
    Dec 14 11:10:39 mms edu.mit.Kerberos.CCacheServer[1478]: launchctl start error: No such process
    But I still see that the user that saw the long delay before logging in successfully has valid Kerberos tickets, as per the output of the "klist" command:
    mms:~ sh$ klist
    Kerberos 5 ticket cache: 'API:Initial default ccache'
    Default principal: [email protected]
    Valid Starting Expires Service Principal
    12/14/09 11:31:04 12/14/09 21:31:04 krbtgt/[email protected]
    renew until 12/15/09 11:30:33
    12/14/09 11:31:34 12/14/09 21:31:04 host/[email protected]
    renew until 12/15/09 11:30:33
    Which would imply that Kerberos is doing its job correctly?
    Any suggestions about what might be causing the delays I'm seeing and what I might do to correct the problem?

    I'm still struggling with this and drawing a blank searching for similar reports. Does anyone else see this problem? I'm beginning to suspect it might be something unique to my setup.
    To add a further piece of information, the home directory of the account which is slow to connect to is an afp mount and the first thing I see in the system log after the long delay is a line like the following:
    Feb 9 11:21:36 mms sshd[50749]: afp home directory mount succeeded
    A pwd run from this account shows:
    /Network/Servers/mms.marske.local/Users/sh
    and the mount command shows the following info:
    map -fstab on /Network/Servers (autofs, automounted, nobrowse)
    I was thinking that maybe it was the afp automount that was taking so long except for two things.
    1) The disk is local to the server, and
    2) If I logout of this account an issue the command "ls /Network/Servers/mms.marske.local/Users/sh" from another account, the directory listing returns immediately.
    Any thoughts?

Maybe you are looking for

  • Scheduling

    Hi experts, see, we use to manually open and close the posting periods but now my client wants it to be automised one .And i went through sm36 and while feeding data there is one field asking the programe name for it to schedule .. as per transaction

  • Flat File as Target - MultiRecord Type

    How do I write from Oracle into a Flat File as Target where the data in Flat file is a multirecord type. For ex. Sales Order header and Sales Order Line info. I tried to do this by using a Joiner to the sales order header, line and items table and th

  • Add-on for Quality

    Hi One of my client is implementing 21 CFR Part 820 and ISO 13485 QS standards in US. Please let me know if there are any add-ons available that will help facilitate implementation and provide management tools for both of these standards or the FDA 2

  • Invoice Verification Prepayment

    Hi all, I have a requirement to capture the deposit/downpayment (payment made in advance which will be used to offset the final amount to be paid) amount made for a purchase. And there is a need for the system to help prevent extra amount to be paid

  • Ampersand conflict

    I want to pass two variables in a URL as follows: http://www.foo.com/index?variable1=#urlencodedformat(variable1)#&variable2=#urlencodedform at(variable2)# But when I do that, there is an ampersand, which conflicts with a text-to-speech application t