Why did my Mac just sleep while transcoding?

I'm siting at my desk and my computer sleep'd like it always does, but this time fcpx was right in the middle of proxy encoding! Why does that happen?

I think it's because you have not touched any keys.
Macs don't seem to recognise transcoding and other automatic background activities.
Turn off sleep in  System Preferences.

Similar Messages

  • Why did my MBP just "awake from sleep" with a greyed-out beach picture????

    My MacBook Pro just awoke from sleep with a greyed-out image of a beach scene while a status bar at the bottom of page appeared to show some form of check-up or update.
    Any idea what this was?
    -Pinkus
    MacBook Pro 15" CoreDuo 2.0 & G5 Dual 2.0   Mac OS X (10.4.6)  

    I think that's what the MBP does after the sudden motion sensor detects alot of movement. I'm not 100% sure, though.

  • Why did my Mac delete all my pictures on Iphoto?

    My Mac deleted all my pictures in IPhoto without asking me... I do not know what happened, or why it happened. I've had my Macbook Pro for only 1 year.

    With the amount of information you've provided it's impossible to offer a solution.  We can't see your computer so we need to know the details of your problem and setup, i.e.:
    what version of iPhoto are you using?
    what system version are you running?
    what do you see in the iPhoto window when iPhoto opens?
    what fixes have you tried?
    where is your library located?
    did you apply any updates or upgrades just prior to the problem occurring?
    are you running a "managed" or "referenced" library?
    what type of Mac?
    how much free space on your boot drive?

  • Why did my Mac Pro crash on Mountain Lion?

    Hi there,
    My Mac Pro crashed twice yesterday.  No logs were created in ~/Library/Logs/DiagnosticReports/ for those as far as I can tell (nothing with the 28th as a date).  The computer just turned itsself off, and restarted.
    I repaired the boot drive by launching from a Snow Leopard disk.  I ran Techtool diagnostic tests yesterday on the computer and everything passed (I skipped the boot drive surface scan, and only the 4 internal drives were connected. 
    Today, it turned off again, there was a grey screen I'd never seen before telling me that my mac would restart because of a problem, and boy, it did.  It wasn't the typical 'kernel panic screen' I saw rarely in the past.  This happened at 3:30 pm my time.  There's an "AvidBinIndexer crash log that is timed at 9:22 am, but none at 3:30 pm.  (Note that I've never looked in the diagnostic reports directory so I may not know what I'm looking at).
    According to the files in the Diagnostic reports directory I've had crash logs since the 13th for Adobe, Avid, File Syncrhonization, qmaster, and Soundsource (for a total of 19 files in that directory, nothing before the 13th)
    Now some background:
    I run a Mac Pro 3,1 with 12 gigs of ram, an eSata card, ATI 5770 graphics card.
    I have 4 internal and 6-7 external drives attached (4 esata, 1 firewire), 1-2 usb.
    I upgraded to Mountain Lion on Jan 24 from Lion, however, this problem occured a few times before.
    I had a USB backup drive that had volume problems, that I had to backup / reformat / repair, and so my first suspicion was that it was to blame.  But no, today it rebooted and that drive wasn't connected.  All other drives were however, and on.  It occured just after I woke the computer from sleep.
    Any ideas on what's up?  What can I post here that could help someone diagnose this?  Any things to try to further narrow down the issue?
    Thanks!
    Rick

    what a long post....Apple, btw, does not read this stuff, so ranting, raving, and complaining here might make you feel good, but it does no good at all. That being said, I, too have a Mac Pro Quad Core Xeon with 6 gigs of ram and an nVidia 8800 GT graphics card (not as good as yours, alas) and I've had no problems at all with it. Yes, it doesn't have Thunderbolt, but maybe we Mac pro owners will get lucky and someone will come out with an adapter (probably not). No, you probably don't have to throw away your Mac Pro, but if you do, I'll take it, for a small "recycling" fee >:-) That was a joke.  Yes, the Mac Pro's future isn't quite clear, YET. Hopefully that will improve very soon. As for not being able to upgrade to Mountain Lion. Don't worry about that too much, Nobody is forcing you to do that.  Your Mac Pro won't quit working if it isn't installed. From what  I've heard, you should give the new OS a chance, and wait to get it, in case there might be some bugs, or stuff not working with the new OS, which has been known to happen. Yes, we Mac Pro owners don't like being treated like mushrooms-kept in the dark, and being fed......... but Apple is Apple and it will do what it does, and there is nothing you or me can really do to change that. All I can say is....trust, have faith, be patient, go for a walk, do something else to take your mind off of this problem. IF apple decides to drop the Mac Pro for good, and that's a big "IF", I think they will anger a whole bunch of people
    which isn't good. However, that hasn't happened...YET. Let us hope that it doesn't
    John B

  • Why did my mac slow down after installing 10.4.11?

    I updated from 10.4.9 to 10.4.11. Since then my computer has slowed to a crawl and the spinning beach ball appears every time I click on anything, from attempting to launch Firefox to trying to Force Quit. Is there a way to solve this problem?

    General advice on updating:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site. If your car runs on gasoline you would not want to fill the tank with diesel, so don’t try to install the PPC updater on an Intel Mac!
    The 10.4.11 Combo Updater for PPC Macs is here:  http://support.apple.com/kb/DL170
    And for Intel Macs:  http://support.apple.com/kb/DL172
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.4.11 update here:  http://support.apple.com/kb/TA24901?viewlocale=en_US
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.4.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.4.10 to 10.4.11. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious!
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a weeks or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 3.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    [b]If you are updating Safari (or just have):[/b]
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up.  If you have installed an OS update and Safari is crashing, the very [i]first[/i] thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari. Remember: Tiger up to 10.4.10 used Safari 2.0.4 or, if you downloaded it, Safari 3.0.3 beta. Safari 10.4.11 used Safari 3.0.4 which was [i]not[/i] a beta. If Safari 3.1.2 on 10.4.11 is not the fastest browser you have ever used, then something is wrong!
    Moreover, trying to revert to Safari 3.0.4 (or worse still, version 2) when running 10.4.11 or 10.5 can have repercussions, as Safari 3.1.1 uses a completely different webkit on which other applications like iChat, Mail and Dashboard Widgets etc also rely, and may entail you having to reinstall an earlier operating system.
    [b][i]Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party ad-on.[/b][/i] Two such add-on that have been frequently mentioned here for causing such problems are Piclens and Pithhelmet. If you have them, trash them.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for  problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    /Library/InputManagers
    ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).

  • HT201269 Why did my phone just turn off?

    Dear Apple Company,
         So recently I have synced my phone's music to the computer, after the next day I was not able to use my phone because it had turned off. At first I thought it might've just been because my mother and I have not paid our phone bill. Well last night my step-father did that and my mom was able to use her phone perfectly fine. And so, seeing that my mother had no issues, I attempted to turn mine on. Guess what? It still didn't want to turn on, after so many attempts, after charging it all night, my phone did not want to turn on. My father thought that it might've just gotten a splash of water on it because sometimes I don't dry my hands from when I wash them and I touch my phone but then quickly dry it off. I thought that  since I have dropped it many times it might've now chose to turn off. And my mother just thought it was old and I needed a new one because I have had it for 1 year. But aside from our hypothesis, what should we do to turn on my phone once again? Or what do you think might've happened to my phone? Please send me back an email.
                                                                                                                                      Sincerely,
                                                                                                                                                      Karla Zafra.

    Hello Karla Zafra,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Have a nice day,
    Mario

  • Why did my Mac book pro 2012 literally slow to a crawl overnight?

    Hello,
    Im new to Mac products so bear with me
    I'm running an OS X 10.9.1 13 Mac book pro with 4 GB of memory. I can usually play video games, and edit videos with it. And overheating has never been a problem.
    Today alll the applications are taking 30-40 seconds to open and even longer to click between tasks. Sometimes i see a beach balll, but generally the notebook just seems to not respond. The boot time seems to have increased too.
    Disk check - Hard drive scan showed no problems and I have over 30% Disk space left
    Disk repair permissions - It took about an hour and repaired some stuff. But still slow
    Activity monitor
    kernel_task 1.9% and activity monitor 0.6%
    user % 0.3, System 0.5% and idle 99 %
    Read in/sec 0
    Read out/sec 0
    Physical Memory: 4GB
    Memory used: 3.46 GB
    File cache: 1.52GB
    Here are the last 40 lines from my system log
    2/23/14 2:14:23.085 PM com.apple.SecurityServer[15]: Session 100021 destroyed
    2/23/14 2:14:57.868 PM com.apple.SecurityServer[15]: Session 100023 created
    2/23/14 2:15:11.941 PM WindowServer[97]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7f9a0bf0dcc0(2001)
    2/23/14 2:15:11.965 PM WindowServer[97]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7f9a0bf0dcc0(2001)
    2/23/14 2:15:25.556 PM com.apple.SecurityServer[15]: Killing auth hosts
    2/23/14 2:15:25.556 PM com.apple.SecurityServer[15]: Session 100022 destroyed
    2/23/14 2:16:39.323 PM WindowServer[97]: CGXDisplayDidWakeNotification [4496664883295]: posting kCGSDisplayDidWake
    2/23/14 2:16:39.324 PM WindowServer[97]: handle_will_sleep_auth_and_shield_windows: Deferring.
    2/23/14 2:16:44.456 PM launchctl[424]: launchctl: Dubious ownership on file (skipping): /Library/LaunchAgents/com.gspy.koneXTD.Daemon.plist
    2/23/14 2:17:18.157 PM launchservicesd[55]: Ignoring notification of asn=[ 0x0/0x20020]  pid=426 because it matches an existing app App:NULL or App:"Notes" asn:0x0-1f01f pid:426 refs=6 @ 0x7f8081614750 : LASApplication.cp #883 CreatePendingApplication() q=LSSession 100004/0x186a4 queue
    2/23/14 2:17:18.826 PM launchservicesd[55]: Ignoring notification of asn=[ 0x0/0x1e01e]  pid=426 because it matches an existing app App:NULL or App:"Notes" asn:0x0-1f01f pid:426 refs=6 @ 0x7f8081614750 : LASApplication.cp #883 CreatePendingApplication() q=LSSession 100004/0x186a4 queue
    2/23/14 2:17:29.091 PM com.apple.SecurityServer[15]: Session 100024 created
    2/23/14 2:19:28.172 PM WindowServer[97]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7f9a0bf0dcc0(2001)
    2/23/14 2:19:28.191 PM WindowServer[97]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7f9a0bf0dcc0(2001)
    2/23/14 2:21:11.273 PM WindowServer[97]: CGXDisplayDidWakeNotification [4768613493229]: posting kCGSDisplayDidWake
    2/23/14 2:21:11.274 PM WindowServer[97]: handle_will_sleep_auth_and_shield_windows: Deferring.
    2/23/14 2:22:10.196 PM WindowServer[97]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    2/23/14 2:22:17.090 PM WindowServer[97]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 7.89 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/23/14 2:22:58.825 PM WindowServer[97]: disable_update_timeout: UI updates were forcibly disabled by application "Activity Monitor" for over 1.00 seconds. Server has re-enabled them.
    2/23/14 2:22:59.000 PM kernel[0]: Network delay is not specified! Defaulting to 0x384
    2/23/14 2:23:00.724 PM WindowServer[97]: common_reenable_update: UI updates were finally reenabled by application "Activity Monitor" after 2.90 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/23/14 2:23:07.929 PM com.apple.IconServicesAgent[229]: Icon filename entry missing from bundle info dictionary for bundle at URL: file:///System/Library/CoreServices/Dock.app/Contents/XPCServices/com.apple.dock .extra.xpc/
    2/23/14 2:23:08.536 PM com.apple.IconServicesAgent[229]: Icon filename entry missing from bundle info dictionary for bundle at URL: file:///System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/X PCServices/com.apple.internetaccounts.xpc/
    2/23/14 2:23:09.148 PM com.apple.IconServicesAgent[229]: Icon filename entry missing from bundle info dictionary for bundle at URL: file:///System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/XPCServic es/com.apple.ShareKitHelper.xpc/
    2/23/14 2:27:53.101 PM WindowServer[97]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7f9a0bd67d90(2001)
    2/23/14 2:27:53.119 PM WindowServer[97]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7f9a0bd67d90(2001)
    2/23/14 2:29:08.634 PM WindowServer[97]: CGXDisplayDidWakeNotification [5245972462570]: posting kCGSDisplayDidWake
    2/23/14 2:29:08.635 PM WindowServer[97]: handle_will_sleep_auth_and_shield_windows: Deferring.
    2/23/14 2:34:57.486 PM WindowServer[97]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7f9a0be89340(2001)
    2/23/14 2:34:57.503 PM WindowServer[97]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7f9a0be89340(2001)
    2/23/14 2:35:01.526 PM CalendarAgent[165]: [com.apple.calendar.store.log.caldav.queue] [Account refresh failed with error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo=0x7feba2648150 {NSUnderlyingError=0x7feba24b7430 "The network connection was lost.", NSErrorFailingURLStringKey=https://SHEEP%[email protected]/dav/SHEEP/Inbox/, NSErrorFailingURLKey=https://SHEEP%[email protected]/dav/SHEEP/Inbox/, AccountName=Yahoo!, CalDAVErrFromRefresh=YES, NSLocalizedDescription=The network connection was lost.}]
    2/23/14 2:35:01.531 PM CalendarAgent[165]: [com.apple.calendar.store.log.caldav.queue] [Adding [<CalDAVAccountRefreshQueueableOperation: 0x7feba24b8060; Sequence: 0>] to failed operations.]
    2/23/14 2:39:26.513 PM xpcproxy[455]: assertion failed: 13B42: xpcproxy + 3438 [EE7817B0-1FA1-3603-B88A-BD5E595DA86F]: 0x2
    2/23/14 2:39:32.079 PM WindowServer[97]: CGXDisplayDidWakeNotification [5869414010683]: posting kCGSDisplayDidWake
    2/23/14 2:39:32.080 PM WindowServer[97]: handle_will_sleep_auth_and_shield_windows: Deferring.
    2/23/14 2:40:10.349 PM Console[458]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    2/23/14 2:45:31.910 PM WindowServer[97]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7f9a0bf0cef0(2001)
    2/23/14 2:45:31.927 PM WindowServer[97]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7f9a0bf0cef0(2001)
    2/23/14 2:45:44.430 PM WindowServer[97]: _CGXHWCaptureWindowList: No capable active display found.
    2/23/14 2:47:18.070 PM WindowServer[97]: _CGXHWCaptureWindowList: No capable active display found.
    2/23/14 2:47:25.557 PM WindowServer[97]: CGXDisplayDidWakeNotification [6342890267747]: posting kCGSDisplayDidWake
    2/23/14 2:47:25.558 PM WindowServer[97]: handle_will_sleep_auth_and_shield_windows: Deferring.
    2/23/14 2:56:55.548 PM WindowServer[97]: disable_update_timeout: UI updates were forcibly disabled by application "Console" for over 1.00 seconds. Server has re-enabled them.
    2/23/14 2:57:09.548 PM WindowServer[97]: disable_update_likely_unbalanced: UI updates still disabled by application "Console" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
    2/23/14 2:57:26.996 PM WindowServer[97]: common_reenable_update: UI updates were finally reenabled by application "Console" after 32.45 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/23/14 2:57:27.008 PM Console[458]: void CGSUpdateManager::log() const: conn 0x12687: spurious update.
    I heard some people could interpret this. I'm currently using a library PC cause typing on my Mac would take eons......its that slow
    can anyone help?

    Please don't post "etrecheck" output in a reply to me. I have no use for it.
    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    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. 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. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request 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. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a few minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. 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.
    5. 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.
    6. 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; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d; s/^ */   /; s/[-0-9A-Fa-f]{22,}/UUID/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed '8!d;s/^ *//'; o=`SP Hardware | awk '/Mem/{print $2}'`; o=$((o<4?o:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]||0[^2]8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in Thunderbolt USB; do o=`SP $b | sed -En '1d;/:$/{s/ *:$//;x;s/\n//p;};/^ *V.* [0N].* /{s/ 0x.... //;s/[()]//g;s/(.*: )(.*)/ \(\2\)/;H;};/Apple|Genesy|SMSC/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(awk '/^D/{print $2; exit}' "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && e=\* || e=; echo $d ${f%_$d*} ${f##*.} "$e"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; [[ "$o" =~ \*$ ]] && printf $'\n* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|last value [1-9]|n Cause: -|NVDA\(|pagin|SATA W|ssert|Thrott|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); 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 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | grep -v com\.apple\.CSConfig | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/Star*; do M; done`; Pm "Startup items"; o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; [[ "$ID" =~ ^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID ]] || printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find -L /u*/{,*/}lib -type f | while read f; do file -b "$f" | grep -qw shared && ! codesign -v "$f" && echo $f; done`; Pm "Unsigned shared libraries"; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Environment"; o=`find -L {,/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 : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l | sed -E 's:/Users/[^/]+/:/Users/USER/:g'); 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 -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; 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]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; 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.
    7. 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.
    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.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. 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, just press return three times at the password prompt.
    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.
    10. The test will 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 the results. No harm will be done.
    11. 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.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test 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.

  • Why did my macbook start installing while I was shutting down?

    I was trying to shut my macbook down and it began to do so, but suddenly you could see a transparent window show up that had an install bar initiate. My macbook then installed an unknown update that I did not initiate. I was not in update software at all before I shut down. I closed my Microsoft Word application and then I shut it down. I checked the Console and there was activity during this time that I don't understand, but can post info on if someone knows how to decipher it.
    I am concerned that my macbook installed some type of malicious software by itself.
    I am always cautious to what emails I open etc, so I don't know why it did that.

    Hold the power button and the system will eventually shutdown (uncleanly). My MacBook freezes from time to time while watching Netflix (4 times in 2 years). I wouldn't worry about unless it's happening all the time.

  • Why did my Mac not reset?

    I bought an Ipad 2 and I am currently in the process of selling my Macbook Pro which I have to ship out on Monday. I wanted to restore the Macbook to factory settings, but I am having some issues. I restarted and did the Command + R hold down to bring up the OSX Lion Utilities menu. I reinstalled Mac OSX on top of the current Hard Drive and let it sit there for seven hours while it downloaded everything. When I came back, I was greeted with the login screen where my old profile with my name and picture is still there for me to login to. I logged in and everything is the same.
    So what gives? What do I need to do to get rid of my profile on there and make it like it was when I first bought it?

    Do this:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the 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.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Security button and set to One Pass and click on the OK button. Click on the Erase button and wait until the process has completed. This will take up to several hours depending upon the size of the hard drive.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • Why did my screen went black while on FB? Now it will turn on or re-boot, Why did my screen went black while on FB? Now it will turn on or re-boot

    My phone was working fine this A.M. and while I was on FB page it went black. I have tried turning it on and re-boot and nothing, just a black screen. Can you help me. The nearest Apple store is 2.5 hours away. Thank you

    Plug your device into the original charger & block in a wall outlet and leave it alone for a couple of hours. Then, while it is still plugged in, restart it by holding down the home button and the power button for 10-15 seconds until you see the Apple, then let go.

  • Why did my mac change my date?

    I was fixing some photos on my computer when I fell asleep. My mac lost all power, when I rebooted it, all the dates for my photos and emails had changed to August 30, 2012. I can't change them back? Why?

    If you have set the current date & Time and time Zone correctly, and the problem persists, you may have a date FORMAT issue.
    System preferences > Language and Text > Formats > Region: Custom
    ... change to United states or Canada or United Kingdom and see if that resolves the problem.

  • Why did Cache.db just show up?

    I was just preparing to do a Cache dump as part of my regular maintenance when in the Finder window I had just opened, I saw Cache.db sitting at the top of the large window on the right side. I think I was in my Home folder at the time, but not sure. Anyway, I'm wondering why it was there, where should it be, and is it safe to delete it, meaning will it rebuild itself?
    Currently, I've moved it to me desk top.
    Another thing, I saw my backup disk sitting on my desktop too?
    My Mini does and auto backup at 1 am, so it should have ejected itself by now, 8 am. So, I ejected it, but moments later, it reappeared. What is going on here?

    I dump the Cache files, do a PRAM clearing, a Disk Permissions Repair and a secure trash dump after doing software updates on the recommendation of a senior apple support tech who advised me to.
    If an Apple employee told you that, he should be fired. Every bit of it is utter nonsense. Deleting cache files slows things down; the rest of it has no effect at all except to waste time. By the way, in Lion the user Library folder has been made invisible in the Finder to try to stop people from doing things like this.
    I have found that doing these things keeps my computer happy.
    No, it keeps you happy. The computer doesn't care one way or the other.

  • Why did my mac stop playing sound?

    Anybody know why my laptop isn't playing sound anymore? I have check the audio in settings and everything looks normal minus the master volume. It won't let me touch that and adjust it...ideas?

    What version of OS X are you running? Which MacBook Pro model do you have (e.g., 15" late 2011)?
    Have you tried going to System Preferences>Sound and selecting your internal speakers for output? Can you get sound by using headphones?
    Just need some more information.
    Clinton

  • Why did my Mac sign me out of all accounts?

    Last night on my Mac a window randomly popped up telling me to re-sign into iCloud for iMessage.  I thought that was a little strange.  I woke up today to find I was also signed out of my Evernote and Chrome applications.  It seemed to only be desktop applications that were signed out since I was still signed into Google within Chrome.  However my Dropbox and Google Drive desktop applications were still signed in, but those only run in the background so I'm not sure if that's the difference.  What could have caused my Mac to suddenly sign out of multiple accounts all at once?  Is it just something OS X does after it has been a long intervals as sort of a refresh?  (I'm the only one who uses my computer.)

    Can you open any other iPhoto pics? I'm assuming you have it set for automatically checking for iPhoto software updates and you have the latest version. If not go to iPhoto menu and Check for Updates. What camera and how big are the files? Do you have a backup? Lastly, this is from the iPhoto Help menu. I wouldn't do it unless I had a backup.

  • I am not sure why, but my mac just keeps on freezing

    Everything was fine, but then my mac ran out of battery and then shut off. When I reconnected it to a charger and started it up, I started seeing this problem. First, the start up took a really long time. Then when I tried to connect to the wifi, i saw the color wheel for nearly 5 minutes. Now the computer freezes and I see the color wheel at least once every 10 mins. It is really annoying and I need some help. Anyone have any suggestions?

    First I would calibrate the battery if your model Macbook pro applies - Calibrating a portable computer battery 

Maybe you are looking for