Project very slow to restore broken links

Good morning! I have 12 RH projects that I work on weekly. A
lot of updates come from Word files and over the course of the week
the .cpd file in most of them gets large. So I rename it and
rebuild it launching the .xpj file. I often end up with a number of
broken links, but they can be quickly restored with Tools/Restore
Links. Except for 1. This project is a new file that is the result
of separating it from another project. I carefully recreated the
folder structure and imported all the topics. The project runs
fine. But when I rebuild its .cpd file the resulting broken links
take 30-40 seconds a piece to restore...since there are hundreds
and hundreds of broken links...this is not good. They all restore,
nothing is truly missing...but where can I look to see what the
problem is? My other projects, the links restore like popcorn and I
can stack keystrokes and let it work. This one is miserable.
There are no framesets...no video, nothing fancy. This is
just html text with a fair number of popup graphic images, normal
graphics and baggage files. Some files restore quickly so its not
universal....but it takes over an hour to put this project back
together when the others just fly.
We're still on RH 5.0 but have 7.0 in the building to test.
Is there anything specific I can look for in a topic that would
explain this behavior? I'm really stumped on this one...it just
doesn't act like the others! The project has 2600 files so this can
be painful. All suggestions are welcomed! I have a page full of
file names I notice 'hang'...but when I look at them I don't see
anything different. ???

As long as you are familiar with the concepts of HTML/XML
coding it's really easy. If you aren't, it'll look a little scary
at first. I'll post some examples to hopefully help. Make sure you
have RoboHelp closed, and I think you may also need to delete the
cpd file before opening the project again (I
think it remembers some of this stuff and will wipe out your
changes).
The fpj lists all folders and files in a directory. So for
example, this directory contains one subfolder and one topic:
<?xml version="1.0" encoding="windows-1252"?>
<rhpml majorversion="1" minorversion="0">
<folders>
<folder>
<name>Samples</name>
</folder>
</folders>
<topics>
<topic>
<name>Viewing_the_Log.htm</name>
<comments></comments>
<frameset>0</frameset>
</topic>
</topics>
</rhpml>
If there aren't any subfolders, it should be like this:
<?xml version="1.0" encoding="windows-1252"?>
<rhpml majorversion="1" minorversion="0">
<folders/>
<topics>
<topic>
<name>Viewing_the_Log.htm</name>
<comments></comments>
<frameset>0</frameset>
</topic>
</topics>
</rhpml>
The main thing is to ensure you get the tag pairs correct. If
you are a bit concerned about getting it wrong, re-importing
(rather than restoring) all the topics "should" add them into the
fpj files correctly.
(fingers crossed that the code displays properly...
)

Similar Messages

  • Word 2003 crashes when trying to restore broken link

    We have a project that is frequently updated by the same
    person. Today, as user was trying to restore broken links, Word
    dies abruptly and goes into recovery mode. This happens at the
    click of OK on the dialog that shows the link detail-instant death
    to Word 2003. I have MS auto-updates set to manual, and did not run
    the AU for December 07. A follow up message occurs asking if I want
    to save robohelp.dot (located in C:\Docs and Settings\...) We have
    not had this behavior before, have not done MS updates since April,
    just because RHO was working. I am just looking for a few
    suggestions, I guess, and perhaps help in ruling out RHO X5 as the
    culprit here. P.S. Our typical work setting is that the user
    accesses the files from a network drive as works on them across the
    network. We are a small shop and low-latency on our network. Just
    to check, I copied the directory with the project files to the
    local drive and tried same operation, received same result - Word
    dies and recovers. Am wondering now if I should restore from tape
    and see if corruption occurred. Thanks!

    I had exactly the same problem. The following "hotfix" sorted it quite well for me:
    http://support.microsoft.com/kb/952909
    The AdobePDF printer dialog is still showing errors with printing each document, but the PDFs are created and saved regardless.

  • FF 27.0.1 very slow download/resolving clicked links/resolve reloads. Computer slows to a halt. New Win7.

    Firefox has been running extraordinarily slow. Pages takes sometimes minutes (really) to download/resolve; clicking on links on a page takes many seconds, up to a minute, to register, then the click takes more time to resolve. Autoreloading pages take many minutes to resolve. While all this is going on, the computer slows down, and typing will slow to an almost halt. Characters take many seconds to show up, selected text takes many seconds to register, etc. This is a new computer, 12G of RAM, lots of hard drive. My bf is currently sharing this computer and uses IE. I'm now filling in this form on IE because FF was so painfully slow. And, btw, I don't have a large number of tabs open. About 15 right now.
    I took one suggestion from a FF support page and revised my upon-opening to restore all last pages/tabs. I then closed and reopened FF. It is better, but IE has been open at least as long, has many, many more tabs open, and is using a ridiculous amount of memory per tab/groups of tabs, and it is lightning fast. I used to use IE, switched to FF about 2 years ago when IE became too unstable...but I am very seriously considering switching back to IE if FF continues to slow down so drastically and so quickly. And continues to crash without warning. Please don't suggest opening in safe mode....not going to happen. Apparently, from what I can read on your site and other places, FF has become another bloated program that becomes useless after a short time - many, many complaints of very slow loading, etc. Can you please fix this, please.

    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • Restoring Broken Links doesn't work

    I have a project, unfortunately stored on a network drive,
    that recently crashed. I also have a copy of the project stored on
    my computer. The project on my computer has a number of topics
    listed in the Broken Links folder. Either I'm not understanding the
    process by which the topics are reconnected into the project, or
    something is not working.
    The references don't make sense, nor can I click & drag
    the BL topic back into the TOC, which would seem to be what would
    make sense.
    Any help would be appreciated. If I could click on a BL
    topic, and see it, then I could create a new topic, but that
    doesn't seem to be possible. Thanks in advance.
    VIc

    Hi Vic.
    First of all, you probably would not have hit this problem if
    you had worked on your project on a local drive and backed up to
    the network drive. RH uses an Access DB that is prone to problems
    when run on a network drive so the advice of most RH users is never
    do it.
    The broken topics list just lists instances where the RH
    project has lost track of where a topic is. For example a TOC page
    says it is in a location but the project can't find it. This can be
    caused by a number of factors (e.g. a file being moved, renamed or
    deleted outside of RH).
    If you have the topic linked to the broken TOC link still
    visible in the project, try right clicking on TOC page and
    selecting "Properties". This will show you where it is trying to
    link to. You can also point it to the correct location if it is
    wrong.

  • Premiere Pro Project Very Slow To Load....Why?

    Hello All
    Really hope that someone can suggest a reason as to why I may be experiencing this problem.  Firstly, heres the problem:
    Problem: I open a Premiere Project and it opens up.  The bar at the bottom reports that all media is loaded, however my thumbnails are very slow to populate and then be hover scrubbable (new verb!).  Not only that the timeline thumbnails take ages to update and are not available for me to begin scrubbing through right away. Very frustrating.
    Here's some facts:
    System Hardware:
    2013 Mac Pro; 3Ghz 8 Core Model; 32 GB RAM; Dual D700s 6GB
    SSD - Mac Standard 512GB as boot drive and for applications
    Edit Drive - Thunderbolt connected LaCie 2Big 4TB Drive x 2 (these are daisy chained via thunderbolt too and striped together in a RAID for maximum throughput) Speeds are generally in excess of 500Mbps read and write
    System Software and Information:
    OS X Yosemite 10.10
    Premiere Pro Project stored on Edit Drive with all media for that project
    Cache Files stored on same drive as Project (Edit Drive)
    Project Size = 48.7MB
    Does anyone have any suggestions as to why this problem is occurring? Previously had problems with the MacPro/GPU Mavericks 10.9.3 issue that everyone had been reporting but seems to have gone away now and after some other troubleshooting like resetting preferences and PRAM; running Safe Boot Disk Permission Repair (as recommended by Larry Jordan).
    Really appreciate any help and this is a really annoying issue and is affecting our workflow hugely.
    Cheers

    Hm, if the issue occurs with two different host systems, then i would rather think that there are maybe issues with the network. Are you aware of any changes/updates done by IT? Security patches, changes of software on router, ....
    What you maybe can try is to isolate one of the host and connect one of the PXI using a cross cable directly to this host. Does the issue occur there again(still)?
    You can format/reinstall one of the PXIs to do a cross check with one system with original state, the other with newly installed state.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to restore broken links after server migration in Indesign CS3???

    Hi All,
    I have used my google skills to no avail and everything I have read here has been a dead end for me. I can't be the only person in this situation, so hopefully someone can help!
    My marketing department has reached the storage limits of our shared network drive. Located on this drive is our (HUGE) image library which acts as a single central respository serving up our indesign links (read here: we don't package files - to conserve space). We have decided that in an effort to create a true archive and have more space for our image library we need to migrate the library to a new 16 terabit Drobo (yay!).
    The problem is that every INDD file that links to the current library will now suffer from broken links. We literally have hundreds of INDD files and thousands of links. The good news is...the file structure isn't changing at all! Just the server location is changing. Is there any way to to a batch update of the links that tells INDD to look for the exact same file path on a different drive?
    In short:
    current image library (old server): marketing/image library/photos/products/multiple product folders
    new image library (new server): drobo/image library/photos/products/multiple product folders
    I want to point InDesign to the new server and have it pick up the file path without having to navigate to each and every file individually. Voila!
    Is this even possible? Is there any 3rd party software to help? Other architechture solutions that might be suggested?
    Thanks so much for the help!
    Alex

    I wrote several scripts to solve this problem, here is one of them.
    // Change paths of links.jsx
    // Script for InDesign CS3 and CS4 -- changes the path of each link in the active document.
    // Version 1.0
    // May 13 2010
    // Written by Kasyan Servetsky
    // http://www.kasyan.ho.com.ua
    // e-mail: [email protected]
    var gScriptName = "Change paths of links";
    var gScriptVer = 1;
    var gOsIsMac = (File.fs == "Macintosh") ? true : false;
    var gSet = GetSettings();
    if (app.documents.length == 0) {
         ErrorExit("No open document. Please open a document and try again.", true);
    var gDoc = app.activeDocument;
    var gLinks = gDoc.links;
    var gCounter = 0;
    if (gLinks.length == 0) {
         ErrorExit("This document doesn't contain any links.", true);
    CreateDialog();
    //======================= FUNCTIONS =============================
    function CreateDialog() {
         var dialog = new Window("dialog", gScriptName);
         dialog.orientation = "column";
         dialog.alignChildren = "fill";
         var panel = dialog.add("panel", undefined, "Settings");
         panel.orientation = "column";
         panel.alignChildren = "right";
         var group1 = panel.add("group");
         group1.orientation = "row";
         var findWhatStTxt = group1.add("statictext", undefined, "Find what:");
         var findWhatEdTxt = group1.add("edittext", undefined, gSet.findWhatEdTxt);
         findWhatEdTxt.minimumSize.width = 300;
         var group2 = panel.add("group");
         group2.orientation = "row";
         var changeToStTxt = group2.add("statictext", undefined, "Change to:");
         var changeToEdTxt = group2.add("edittext", undefined, gSet.changeToEdTxt);
         changeToEdTxt.minimumSize.width = 300;
         var btnGroup = dialog.add("group");
         btnGroup.orientation = "row";
         btnGroup.alignment = "center";
         var okBtn = btnGroup.add("button", undefined, "Ok");
         var cancelBtn = btnGroup.add("button", undefined, "Cancel");
         var showDialog = dialog.show();
         if (showDialog== 1) {
              gSet.findWhatEdTxt = findWhatEdTxt.text;
              gSet.changeToEdTxt = changeToEdTxt.text;
              app.insertLabel("Kas_" + gScriptName + "_ver_" + gScriptVer, gSet.toSource());
              Main();
    function Main() {
         WriteToFile("\r--------------------- Script started -- " + GetDate() + " ---------------------\n");
         for (var i = gLinks.length-1; i >= 0 ; i--) {
              var currentLink = gLinks[i];
              var oldPath = currentLink.filePath;
              oldPath = oldPath.replace(/:|\\/g, "\/");
              oldPath = oldPath.toLowerCase();
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.replace(/:|\\/g, "\/");
              gSet.changeToEdTxt = gSet.changeToEdTxt.replace(/:|\\/g, "\/");
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.replace(/([A-Z])(\/\/)/i, "/$1/");
              gSet.changeToEdTxt = gSet.changeToEdTxt.replace(/([A-Z])(\/\/)/i, "/$1/");
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.toLowerCase();
              gSet.changeToEdTxt = gSet.changeToEdTxt.toLowerCase();
              if (File.fs == "Windows") oldPath = oldPath.replace(/([A-Z])(\/\/)/i, "/$1/");
              var newPath = oldPath.replace(gSet.findWhatEdTxt, gSet.changeToEdTxt);
              if (File.fs == "Windows") {
                   newPath = newPath.replace(/([A-Z])(\/\/)/, "/$1/");
              else if (File.fs == "Macintosh") {
                   newPath = "/Volumes/" + newPath;
              var newFile = new File(newPath);
              if (newFile.exists) {
                   currentLink.relink(newFile);
                   gCounter++;
                   WriteToFile("Relinked \"" + newPath + "\"\n");
              else {
                   WriteToFile("Can't relink \"" + newPath + "\" because the file doesn't exist\n");
         WriteToFile("\r--------------------- Script finished -- " + GetDate() + " ---------------------\r\r");
         if (gCounter == 1) {
              alert("One file has been relinked.", "Finished");
         else if  (gCounter > 1) {
              alert(gCounter + " files have been relinked.", "Finished");
         else {
              alert("Nothing has been relinked.", "Finished");
    function GetSettings() {
         var settings = eval(app.extractLabel("Kas_" + gScriptName + "_ver_" + gScriptVer));
         if (settings == undefined) {
              if (gOsIsMac) {
                   settings = { findWhatEdTxt:"//ServerName/ShareName/FolderName", changeToEdTxt:"ShareName:FolderName" };
              else {
                   settings = { findWhatEdTxt:"ShareName:FolderName", changeToEdTxt:"//ServerName/ShareName/FolderName" };
         return settings;
    function ErrorExit(myMessage, myIcon) {
         alert(myMessage, gScriptName, myIcon);
         exit();
    function WriteToFile(myText) {
         var myFile = new File("~/Desktop/" + gScriptName + ".txt");
         if ( myFile.exists ) {
              myFile.open("e");
              myFile.seek(0, 2);
         else {
              myFile.open("w");
         myFile.write(myText);
         myFile.close();
    function GetDate() {
         var myDate = new Date();
         if ((myDate.getYear() - 100) < 10) {
              var myYear = "0" + new String((myDate.getYear() - 100));
         } else {
              var myYear = new String ((myDate.getYear() - 100));
         var myDateString = (myDate.getMonth() + 1) + "/" + myDate.getDate() + "/" + myYear + " " + myDate.getHours() + ":" + myDate.getMinutes() + ":" + myDate.getSeconds();
         return myDateString;
    You can specify a platform-specific path name, or a path in a  platform-independent format known as universal resource identifier (URI)  notation, or Mac OS 9 path name (for Mac).
    For example any of the following notations are valid:
    Windows
    c:\dir\file (Windows path name)
    /c/dir/file (URI path name)
    //10.44.54.70/Test/images (uniform naming convention (UNC) path name of the form //servername/sharename)
    //Apple/Test/images
    \\10.44.54.70\Test\images (Windows path name)
    \\Apple\Test\images (Windows path name)
    where 10.44.54.70 IP  address of the server, Apple -- DNS name of the server, Test -- share name
    Mac
    The following examples assume that the startup volume is MacOSX, and that there is a mounted volume Remote.
    /dir/file (Mac OS X path name)
    /MacOSX/dir/file (URI path name)
    MacOSX:dir:file (Mac OS 9 path name)
    /Remote/dir/file (URI path name)
    Remote:dir:file (Mac OS 9 path name)
    Remote/dir/file (Mac OS X path name)
    You can just copy a part of the path in Links panel and paste it to the script's dialog. In CS4, make sure to choose "Copy Platform Style Path" in context menu.
    The case of the characters doesn’t matter: you can type both in upper and lowercase in the script's dialog. For example  — Test, test, TEST, TeSt — are all the same for the script.
    Regards,
    Kasyan

  • MS Project Very Slow and Project Files Large when Using Shared Resource Pool

    Hello,
    We are using MS Project 2010 Professional in our organization and using a shared resource pool so we can easily identify resource conflicts.  When we started this process many months ago the resource pool worked great.  Now that we have nearly
    all of our projects (~40) using the resource pool, it has become essentially unusable.  Each project file that is sharing the resource pool is 12 MB or greater in file size, and most of the project files contain less than 100 lines.  Saving any file
    takes ~4 minutes.  As a result, many of the resource managers and project managers are starting to avoid using MS Project which is undermining our original intent.
    Any thoughts on what we could try to regain the usability, make the file sizes smaller, improve save times, etc.?  Will MS Project Server fix all of these issues?
    Thanks,
    Josh

    If any of your PMs renamed, moved or over-wrote their project file whilst linked to the Resource Pool or a master, then the file may well have corrupted itself or the pool or both. With 40 files, you can guarantee one or more PMs will do one of the above,
    so file corruption is a when, not if (2days or 2 years or more).
    For 40 projects Project Server or any solution that copies data to a database so the resource data can be consolidated is needed. Project Server is not a simple application, it's a full server and requires proper training and processes to add value. And
    it needs configuring by someone who knows what they're doing!
    In the mean time try unattaching all project files from the pool, then create a new blank pool and re-attach.You will also need to File, Save as to repair each project file if needed. For bad corruption save as to a .xml format then re-import to a blank
    project.
    Or, create a new master each time by inserting all projects into a new blank project, but deselecting the Link option. All tasks are then copied and the resource data consolidated. Record a macro to make creating this very quick and easy (provided your network
    isn't too slow).
    <p>Rod Gill</p> <p><a href="http://www.project-systems.co.nz/project-vba-book/index.html/">The one and only Project VBA Book</a> <a href="http://www.project-systems.co.nz/"></p> <p>Rod
    Gill Project Management</a></p>

  • Xcode opens project very slow

    I have two macbook pros purchased this summer, I've done a project in xcode. When I open the project on one of my laptops it opens right up perfectly. When I switch to my other laptop, xcode sits there with the little spinning ball for a long time. I have uninstalled and reinstalled it and removed the setmenu script and it still slows down everytime I open the project. Any ideas on what is going wrong? All other programs work fine. I'm not sure if this is the right forum. Any help will be much appreciated.
    Thanks,
    Andy

    There is a developer forum. There are more people who know Xcode there. But I'm exceptionally bored today, so I'm here.
    Is this the same project? Check your SCM settings. One may be looking for an SCM server that isn't on the other machine. That is the clever answer.
    You can also make sure you have enough RAM in both machine, but you probably do.
    Does this happen on every project, or just one? Is the project on the local machine (both of them), or on a server somewhere?

  • Flex 4.5.1 iOS project very slow

    Hi,
    A few things. I read that 4.5.1 Flex Mobile automatically used AIR 2.7  .  I have not done any overlaying b/c of this but my app on the device is slow.
    When I click a list item or Back button, it takes like 2 seconds to respond.  Also, there is a long black screen at the start of the app before it hits the splash image.
    Another note, I've been publishing a release using ad hoc.  Not sure if that matters for device performance.
    Thanks for any help!

    The first or second line of your "app_name.xml" should contains the AIR version number. Is it 2.7?

  • Project very slow to load

    Hi, I am using LabView 8.6.1 to create a program that communicates to two Real time PXI units. I created a project and added the PXI targets no worries. Now when I load the project it takes up to 5 minutes to load. Any ideas why it is taking so long? There isnt even any VIs in the project yet. Cheers
    Solved!
    Go to Solution.

    Hm, if the issue occurs with two different host systems, then i would rather think that there are maybe issues with the network. Are you aware of any changes/updates done by IT? Security patches, changes of software on router, ....
    What you maybe can try is to isolate one of the host and connect one of the PXI using a cross cable directly to this host. Does the issue occur there again(still)?
    You can format/reinstall one of the PXIs to do a cross check with one system with original state, the other with newly installed state.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • ITunes suddenly very slow and full of broken links

    What could be bogging down iTunes on my Mac. Internet service seems unaffected but iTunes is slow and many broken links showing pics (album covers, etc.). Other programs seem fine. Auto updates are on and running iTunes 8.

    Let’s try this:
    Restart your mac
    Safe Boot: Hold down the shift key after the chime until the Apple logo appears and the gear is moving.
    It will take awhile but you will be asked to login.
    Go to your Applications folder> Utilities and launch Disk Utility.
    In the left side column, highlight your drive and repair permissions.( button down below)
    Empty the trash.
    Restart your mac.
    hpr3

  • I restore my mac air but still slow!!! what can i do? r very slow

    Hey! i hace a macbook air whos osx 10.5.8 2gb ram 1.6 ghz but r very slow , i restore all like new but still slow what can i do to make it faster!?
    any idea?
    thanks!!!

    It would help all of us if you gives us more info about your iMac.

  • How to delete broken links from robohelp 9

    Currently I'm using Robohelp 9, unable to perform following actions in the project:
    1. Permananetly delete broken links from the project.
    2. Updated content and file are shown in search but not in index and in index broken links files are shown.
    Kindly tell me how to solve this issue , as my project is too big and unable to delete broken links as they are re-appearing again in the 'broken link' folder after deleted by me.

    Hi Rick/Swaraj,
    Thanks for replying!
    I would like to tell you that , I'm using a robohelp 9 project and have generated .CHM file and in the .CHM file all stated errors are showing.
    Also , I'm unable to find .XPJ and .CPD files.
    Kindly tell me in project where these files are located and if there is any other option to solve the problem?
    I didn't find too the repair option , there is a restore option after left click, I'm restoring the broken link and then deleting them. But the deleted files are reappearing in the broken link folder. Kindly tell me is there any option to delete all files from broken link folder as they are not required.

  • My mac mini is running very slow all of a sudden, how can i restore it's speed?

    my mac mini is running very slow all of a sudden, how can i restore it's speed?

    This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem.
    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. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Below are instructions to run a UNIX shell script, a type of program. All it does is to gather information about the state of your computer. That information goes nowhere unless you choose to share it on this page. However, you should be cautious about running a program at the instance of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them.
    Here's a summary of what you need to do: Copy a line of text from this web page into the window of another application. Wait about a minute. Then paste some other text, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. 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.
    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 paragraph doesn’t apply.
    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 your browser, 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:
    clear; shopt -s extglob; Fb='%s\n\t(%s)\n'; Fm='\n%s:\n\n%s\n'; Fs='\n%s: %s\n'; Fu='User %s%%\t\tSystem %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; R () { o=; [[ r -eq 0 ]]; }; Pm () { [[ "$o" ]] && o=`sed 's/^ */   /' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pc () { o=`egrep -v '^[[:blank:]]*($|#)' "$2"`; Pm "$1"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o="${o##+( )}"; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; id | grep -qw '80(admin)'; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; system_profiler SPSoftwareDataType | sed '8!d;s/^ *//'; o=`system_profiler SPDiagnosticsDataType | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; o=`pmset -g therm | sed 's/^.*CP/CP/'`; grep -q 'No th' <<< "$o" && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; grep -q '= [^GO]' <<< "$o" || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; o=`ls /L*/L*/Dia*/*.panic | wc -l`; Ps "Panics"; o=`ls /L*/L*/Dia*/*.c* | tail`; Pm "System crash logs"; o=`ls L*/L*/Dia* | tail`; Pm "User crash logs"; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|n Cause: -|NVDA\(|pagin|SATA W|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""; print}'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; [[ o -lt 5120 ]] && Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 90 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Pm "Total CPU usage" && s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); o=${s[2]}%; Ps "CPU usage by process $s of user ${s[1]}"; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); s[2]=${s[2]%[+-]}; o=$((s[2]>=25000?s[2]:0)); Ps "Mach ports used by process $s of user ${s[1]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic system jobs"; o=`launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; for d in {/,}L*/{La,Priv,Sta}*; do o=`ls -A "$d" | egrep -v '^(\.DS_Store$|com\.apple\.)'`; Pm "$d"; done; o=`find -L /S*/L*/E* {/,}L*/{A*d,Compon,Ex,In,Keyb,Mail,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID" <<< $ID && printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find /u*/{,*/}lib -type f -exec sh -c 'file -b "$1" | grep -qw shared && ! codesign -v "$1"' {} {} \; -print`; Pm "Unsigned shared libraries"; o=`launchctl getenv DYLD_INSERT_LIBRARIES`; Pm "Inserted libraries"; o=`find {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; Ps "DNS"; R && o=`sudo profiles -P | grep :`; Pm "Profiles"; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(egrep -v '(local|broadcast)host' /etc/hosts); Pc "User launchd" ~/.launchd; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed 's/\..*$//;s/-[1-9]$//'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`system_profiler SPFontsDataType | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist ! -exec sh -c 'plutil -s "$1" >&-' {} {} \; -print`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in {0..1}; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} files"; done; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    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. Click Utilities, then Terminal in the icon grid.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign ($) or a percent sign (%). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    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're not logged in as an administrator, you won't be prompted for your password. The test will still run. It just won't do anything that requires administrator rights.
    The test may take up to 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. There is no indication of progress until it's done. Wait for the line "[Process completed]" to appear in the Terminal window. If you don't see that line 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 your results. No harm will be done.
    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.
    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.
    When you post the results, you might see the message, "You have included content in your post that is not permitted." That's because the forum software falsely identifies something in the post as a violation of the terms of use. If that happens, please post the results on Pastebin, then post a link here to the page you created.
    Note: 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 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • CS4 very slow image linking.

    We are having a efficiency issues with CS4.
    We have a large IDML document with 80 pages and 1800 images. Each image is about 24kb jpg.
    If we open the document and InDesign can find images, it will take hours to open the document. And it is very annoying that InDesign stops responding and doesn't show even a progressbar while opening the document.
    If we open the document and InDesign cannot find images, it will open the document in few minutes. Then if we fix the location of images and say "Update all links" or "Relink" broken links, InDesign will start fetching the images but it again takes hours..
    It doesn't matter if the images are on the server or local machine.
    If we update the links in smaller chunks, it will take a few minutes to update all the links. Little more testing shows that the time the InDesign takes to fetch the images increases exponentially when the amount of images increases. That seems a bug to me.
    I'm not sure what InDesign is doing when it fetches images but I know it becomes way too slow and it propably does too much.
    Is this fixed in CS5? And if not, please fix this.
    We are running CS4 InDesign 6.0.6 in Mac OSX 10.5.8 in Mac pro (2.66GHz with 8Gb memory)

    Hello,
    I have a strange problem.
    Some of my images are VERY slow to load,
    scale... (any image operation).
    I have those 2 images :
    http://193.252.5.30/tmp/cat1.jpg (25Ko : 295x551
    pixels)
    http://193.252.5.30/tmp/cat2.jpg (24Ko : 295x551
    pixels)
    I wrote a little program which load and scale the
    image.
    Here is the result :
    cat1.jpg
    Time to load image : 171 ms.
    Time to scale image : 157 ms.
    cat2.jpg
    Time to load image : 1157 ms.
    Time to scale image : 2578 ms.How can this huge difference explained ?
    Thanks for your help.Using the Netbeans profiler, I can see that for some reason, the cat2.jpg image is resulting in a hot spot where the scale() method ends up performing a color conversion via ColorConvertOp. Placing a debugger breakpoint on this call and debugging the code using cat1.jpg, the method is never called. So, there is something different about the color models of the two images, or there is a bug in the image reading code that is misinterpreting the image data.
    This bug may be what you are seeing:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4705399

Maybe you are looking for

  • I can't seem to change cell margins in Pages 5

    I inserted a chart and I am trying to get it to fit onto one page.  In order to do so, I need to decrease the margins inside the cells around the text.  I can not find anything anywhere that will let me decrease the internal margins of a cell in rela

  • What is the line separator in Disk Utility's sidebar?

    What is the purpose of the separator line in the sidebar of Disk Utility? My drives used to be above it now most are below it. And one slice of my software RAID is above while the other is below. What does this mean?

  • Load balancing algorithm problems with servlets

    All, We have a simple servlet which looks up an RMI object from JNDI and invokes one of its methods in a loop. The RMI object is the HelloClusterImpl example provided by WebLogic. The servlet basically copies the code from the HelloClusterClient. In

  • Iphone 4s not working after ios 7 upgrade

    Ever since i have updated my iphone 4s to ios 7my phone has stuck in recovery mode and when i connectect to itunes it keeps coming up with unknown error occurred. Please help my mobile has been out of action since Friday.

  • Why won't all my photos download from iTunes to ipad2, Why won't all my photos download from iTunes to ipad2

    I recently have had my ipad2, I am not really that technically minded and I am trying to get my photos off my computer onto my iPad. I have sync from my iTunes and picked the photos from my pictures on my pc, however they didn't all download......is