Desktop messed up after restart

Hi,
When i restart my imac, my desktop is completely messed up. strange patterns on my screen. when I open a program and i move the window of this program, those patterns disappear.

Hello,
Delete these files: com.apple.desktop.plist and com.apple.finder.plist
There are here: /Users/YourName/Library/Preferences. Drag those files from the Preferences folder to the Trash, empty the Trash and reboot. Hopefully your desktop will be back to normal.. if not, post back.
Carolyn

Similar Messages

  • XFCE4 Desktop messed up after upgrade

    Hi
    After upgrading to the latest XFCE Desktop - using pacman -Syu last friday - my XFCE Desktop ist totally messed up after restarting:
    . mouse cursor is displayed as cross instead of xfce pointer
    . windows do not have decoration and title bar
    . there are no more multiple desktops
    . keyboard shortcuts are no more working
    . menubar on several apps like thunderbird or firefox is not working
    . new windows are always placed on top left of the screen
    . more to find...!!
    In shorter words: the desktop is unusable. I deleted .config/xfce4, but this did not help anything. What can I do to quickly restore my desktop to a working state?
    Thanks, melman

    Thanks for your reply. That solved the problem. I just started xfwm4 in a terminal and now everything works fine. Even after restarting XFCE4.

  • Custom desktop picture disappears after restart

    Ever since I purchased my MacBook Pro my custom desktop picture disappears after a restart. I select a photo either from the internet or my iphoto library and when I reboot the computer it goes back to the original desktop pattern, my photo is gone. Has anybody noticed the same problem on theirs and if so, have you found a solution? Its not a big deal, mostly goes under 'curious why this happens and how can I fix it' category . . .

    Try running the combo update.
    10.9.4 Combo Update
    If that doesn't work, go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Preferences/com.apple.desktop.plist. Move the .plist to your desktop.
    Restart and test. If it works okay, delete the plist from the desktop.
    If the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.
    You might need to redo the View settings after an update.

  • MBP Retina Desktop Wallpaper resets after restart

    Earlier this week I got my new MBP 15" Retina, and completed a clean installation of applications from my old MBP.
    This morning I had to install and update and for the first time had to restart the computer.  After restarting the origional wallpaper shows on login.
    After login and going into Desktop & Screen Saver Settings it shows the proper desktop image.
    Steps Completed:
    1) Problem only occurs on Restart or Shut Down.  A Log Off will maintain the correct wallpaper.
    2) Tried changing to Standard Desktop Picture or an iPhoto gallery photo.
    3) Unlocked '/Users/scottdavis/Library/Preferences/com.apple.desktop.plist' made wallpaper change (it changes date modified).  Restart.  Did not resolve.
    4) Tested the same process on MBP 17" Early 2008, works correctly.
    5) Running OSX 10.8.2 - completed MBP Update 2.0 (is where I had to restart)

    Hi all,
    I have had this same issue with OS X Lion and it continued on to OS X Mountain Lion as well. I have had the wallpaper switching on me to the default solid blue color whenever I restarted (every month or so) and when switching between users (every other day or so). So this issue was very frustrating having to go back in and reset the wallpaper to my preference whenever I switched to either user. I found a solution that has been working for me for several restarts and several switching of users now:
    First, I took some of your advice by locating all of my wallpapers into a 'Wallpaper' folder located in each user's 'Documents' directory. I copied to same wallpapers to each user so both user's have the same wallpapers to choose from.
    Then, I installed the latest stable version of 'OnyX' (freeware software). I used OnyX on both user accounts to run through practically all the settings to clean up the entire Mac (Mac Mini, mid 2011) including: Verify [S.M.A.R.T. Status, Structure of volume, and Preferences], Maintenance [Permissions], Cleaning [System cache, User cache, Internet cache, Fonts cache, Log cache, Misc. cache]. I generally left the default checked boxes alone and didn't change any settings and Executed the program to run as default.
    After running OnyX, I re-set my wallpapers for each user and went ahead and tested the restarting of the computer and switching back and forth between users. It was very easy to duplicate the bug previously, but now I could not get the wallpaper to switch back to the default blue as before. Everything seems stable with my wallpaper selection now.
    Hope this helps someone. Thanks everyone for your input too.
    As a side note, my Mac is running much smoother and quicker now too.  =)

  • Mavericks desktop background defaults after restart

    I change my desktop background (cause as nice as the blue and green wave is it's not my cup of tea) and as soon as i restart my mac it defaults back again.
    I have deleted the 'com.apple.desktop.plist' file and that didn't make the slightest bit of difference!
    Any help would be appreciated. I know its a trivial thing really but it's driving me nuts!

    Do a backup.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists to your desktop.
    Re-launch Finder by restarting the computer and test. If it works okay, delete the plists from the desktop.
    If the same, return the .plists to where you got it  from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Desktop Icons Change Positions After Restart

    Hi,
    After I inadvertently synced my computer with another Mac computer my icons change position after restart. I was trying to sync another computer to mine.
    I have tried the usual suggestions of taking out com.apple.finder.plist and com.apple.desktop.plist and letting the system create these new files but the problem still persists. I also checked the Finder > View > Show View Options and arrange by none is still selected.
    Does anyone have a suggestion how I can fix this problem? Will I have to go back in time with Time Machine and restore my entire system to solve this?
    I can't operate with the desktop icons changing positions like this.
    Thanks,
    Pacecom

    Delete the hidden .DS_Store file associated with your Desktop folder. Launch the Terminal.app (in /Applications/Utilities/), copy & paste the following command into the window that pops up, hit the return key, quit the Terminal.app, OPTION-click and hold the Dock's Finder icon, and select Relaunch:
    *rm ~/Desktop/".DS_Store"*
    Now, set the Desktop as desired, log out and back in, and the Desktop should be as it was as you last set it.

  • IMac sorts Desktop automatically after restart

    Hey there,
    my iMac sorts my Desktop Folder almost everytime after I restart it. Why? And how can I stop him doing that?

    It is already set to none as I'd like to put the folders where I want. But still, after restart the imac puts them all on the right side of the desktop. I'm getting tired to put them back where I want and the imac puts them back to the right

  • Desktop reseting after restart

    My desktop keeps on reseting after it restarts and my files i save on my computer keeps on scrambling and not being able to read it or open it. Any suggestions on how to fix this....beyond reloading my OS and everything on my computer?

    It is already set to none as I'd like to put the folders where I want. But still, after restart the imac puts them all on the right side of the desktop. I'm getting tired to put them back where I want and the imac puts them back to the right

  • If autologin is configured desktop background picture is always galaxy picture after restart.

    If auto login is configured,  the desktop background picture is always the standard picture galaxy after restart. If  i do an normal login the background is the right one. The which i have configured.

    I seem to have a slightly different variant of this problem. My desktop picture is supposed to select a random photo from a large folder, and change every hour. When I start up my MacBook Pro by itself, it works fine--I get a random picture. When I connect my external Samsung display and have mirroring turned on, it also works--I get one random picture on both screens.
    The problem shows up only when mirroring is turned off. I should presumably get two different random pictures. But instead I get the same two pictures every time--two different pictures, but always the same ones. After the first hour, I do get two random pictures--but at startup, I always see the same two. Removing the .plist file didn't help. I tried removing the original two recurring photos, and everything seemed fine for a couple of startups, but then it just got stuck on a different pair. A pretty inconsequential problem, all in all, but frustrating.

  • All Desktops go to primary monitor after restart

    I'm seeing interesting behavior where all of my desktops end up on the primary monitor after restart. Kind of annoying.
    10.10
    iMac (21.5-inch, Mid 2010)

    Turning Automatic Login OFF seems to have solved it for me.
    1. Choose Apple menu > System Preferences, click Users & Groups, then click Login Options.
    2. If the options are dimmed, click the lock icon to unlock it, then type an administrator name and password.
    3. Choose Off from the “Automatic login” pop-up menu.

  • My Finder / User preferences never saved after Restart. Help!

    After a "successful" back-up from Time Machine (thanks, Time Machine), my files seem to all be here, but my Finder and basic Application preferences have never been the same since.
    My MacBook Pro 17" hard drive crashed. I had an authorized Apple repair replace it with a new drive. I restored my set-up via Time Machine as instructed and was happy to see I was (mostly) back in good shape.
    What HASN'T been the same since - when I RESTART:
    - Whenever I shut down/restart, my desktop will always revert back to the last "mode" pre-crash. For example, one same folder is always open, as it happened to be the folder opened during the crash. Now, no matter what I seem to have opened on my desktop before I shut down, that other "old" folder always greets me after a restart.
    - Many applications I notice do not "remember" the last settings changed/used, always reverting to the "pre-crash" setting. Notable examples:
    - iChat settings (buddy icon, status, etc.) must ALWAYS be manually adjusted when I open iChat now.
    - iTunes and iPhoto are a big drag to open, because I must always "find" my libraries. They have long been moved to an external drive, but these iApps always ask me to locate them or create new ones. Even if I attempt to change my preferences.
    - Dock: the settings/icons revert back to the "pre-crash" version, and since I have updated many Apps, several icons show the Question Mark symbol, as some old Apps are long gone.
    I tried Disk Utility, repairing permissions. It recognized many inconsistencies and problems,
    but the repairs never seem to "stick."
    Again, this happens each time I restart/reboot.
    So if I only put my MacBook to sleep mode, it does fine when it wakes up,
    and remembers desktop settings, iChat settings, etc.
    Therefore, I only rarely shut down now, to avoid my Groundhog's Day syndrome.
    This is annoying. Help Me. Someone. Please.

    Bernie Hawaii wrote:
    After a "successful" back-up from Time Machine (thanks, Time Machine), my files seem to all be here, but my Finder and basic Application preferences have never been the same since.
    Apparently the previous preferences were copied over by TM.
    First it would probably be a good idea to start up from the install disk and run Disk Utilities’ Repair Disk. If you don’t know how to do that, reply back for specific directions.
    - Whenever I shut down/restart, my desktop will always revert back to the last "mode" pre-crash. For example, one same folder is always open, as it happened to be the folder opened during the crash. Now, no matter what I seem to have opened on my desktop before I shut down, that other "old" folder always greets me after a restart.
    Because it appears to be preference files that cause the problem, you can begin removing them from the Preferences folder. These .plist files can be moved to the Desktop and the system will recreate new ones in the Preferences folder. If removing the .plist file doesn’t help, the one on the desktop can be moved back into the Preferences folder to replace the newly created one.
    Locate the Preference folder by this path:
    Macintosh HD/Users/yourusername/Library/Preferences
    (where “yourusername” is the short name of your computer, like hawaii - the folder looks like a house/home)
    Often users confuse the above path with Macintosh HD/Library/Preferences. That is not the one needed. The correct one is the Preference folder in the Users home folder.
    The same folder appearing after restarting is related to the Finder, so move the file named com.apple.finder.plist to the Desktop and restart. If that helps preventing the same folder appearing, you will need to reset all your Finder preferences. If not, you can return the old .plist file from the Desktop back to the Preferences folder and will need to look for another solution.
    - Many applications I notice do not "remember" the last settings changed/used, always reverting to the "pre-crash" setting. Notable examples:
    - iChat settings (buddy icon, status, etc.) must ALWAYS be manually adjusted when I open iChat now.
    - iTunes and iPhoto are a big drag to open, because I must always "find" my libraries. They have long been moved to an external drive, but these iApps always ask me to locate them or create new ones. Even if I attempt to change my preferences.
    - Dock: the settings/icons revert back to the "pre-crash" version, and since I have updated many Apps, several icons show the Question Mark symbol, as some old Apps are long gone.
    Each of the above has its own .plist file(s) in the above named Preferences folder.
    It’s probably best to quit the applications before removing the preferences. Try moving the main .plist files, i.e., com.apple.iChat.plist to the desktop and restart iChat. If it doesn’t help, remove the other .plist files related to iChat. They will be replaced by the system. Some newly created .plist files don’t function until after a restart (like the Finder one described above). I don’t think iChat, iTunes, etc., require a restart, but it couldn’t hurt. If this helped with iChat, do the same procedure for iTunes, Dock, and any others giving you problems.
    If these do not help, you may need to consider an Archive & Install.
    I tried Disk Utility, repairing permissions. It recognized many inconsistencies and problems,
    but the repairs never seem to "stick."
    As long as the permissions inconsistencies include “Permissions differ,” SUID or ACL warnings, you can probably safely ignore them. But there is a .plist file for DiskUtility as well, which you may want to replace by moving it to the Desktop and restarting. If at the end of Repair Permissions it says “Permission Repair Complete,” it’s probably okay.
    Again, this happens each time I restart/reboot.
    So if I only put my MacBook to sleep mode, it does fine when it wakes up,
    and remembers desktop settings, iChat settings, etc.
    Therefore, I only rarely shut down now, to avoid my Groundhog's Day syndrome.
    This is annoying. Help Me. Someone. Please.
    Here’s hoping for an UNGroundhog’s Day.

  • Feezing after Restart or Shut Down commands

    Perhaps this is a common problem, as I have seen it happen before, but I have a Mac G5 in my lab that, after being told to restart, or shut down, the icons disappear like normal, but it just sits there with the desktop background up. No shut down, no restart.
    I can restart manually by holding down the power button, but this machine is the master image for the lab and has to be able to shut down by timer, due to our college's "green" policies. If it won;t shut down on it's own, and has to be done manually, it defeats the purpose.
    I've already resatrted from the CD and ran Disk Utility to repair and verify permissions. It did find errors, and said it fixed them, but after restarting from the hard drive again, it is still freezing after given the shut down or restart commands. The cursor still moves and the desktop background are there, just no icons or dock.
    Any help is greatly appreciated!

    Hi-
    The power functions of the machine are controlled by the PMU/SMU.
    A reset may be what is needed.
    http://support.apple.com/kb/HT1939
    http://support.apple.com/kb/HT1436

  • Time Machine backups only work after restart

    Hi
    Getting frustrated as Time Machine backups only work after a restart. Work for a few hours and then get stuck with Backing up: XXMB of XXGB. I have left it on this for many hours ie overnight without completion
    I have a Mid 2014 MBP 13 in running 10.10.2
    I backup onto an external USB via a hub.
    Things I have tried with review of Pondini great site which has helped with different TM backup problems.
    Disk permissions and repair of SSD on MBP (were errors but did not solve issue)
    Direct USB connection
    Backup via Airport Extreme
    Re-index spotlight
    Reformat USB disk
    New USB disk!
    Below is log (backupd filtered) of latest backup attempts including final completed occuring after restart.
    Any help gratefully received
    19/03/2015 12:59:07.730 pm
    com.apple.prefs.backup.remoteservice[2916]
    Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc
    19/03/2015 12:59:10.238 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd-auto) Unknown key for Boolean: ForceEnableHack
    19/03/2015 12:59:10.240 pm
    UserEventAgent[16]
    com.apple.backupd-auto launchd job enabled
    19/03/2015 12:59:10.238 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd-helper.status) The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
    19/03/2015 12:59:10.239 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd-auto) This service is defined to be constantly running and is inherently inefficient.
    19/03/2015 12:59:23.162 pm
    com.apple.backupd[2929]
    Starting manual backup
    19/03/2015 12:59:23.358 pm
    com.apple.backupd[2929]
    Backing up to /dev/disk2s1: /Volumes/TIMEMACH/Backups.backupdb
    19/03/2015 1:01:55.000 pm
    kernel[0]
    process backupd[2929] thread 893245 caught burning CPU!; EXC_RESOURCE supressed due to audio playback
    19/03/2015 1:12:00.297 pm
    com.apple.backupd[2929]
    Will copy (Zero KB) from Macintosh HD
    19/03/2015 1:12:00.350 pm
    com.apple.backupd[2929]
    Found 221479 files (439.9 MB) needing backup
    19/03/2015 1:12:01.050 pm
    com.apple.backupd[2929]
    2.33 GB required (including padding), 554.92 GB available
    19/03/2015 1:21:04.659 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd-status) The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
    19/03/2015 1:21:04.659 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd.status.xpc) The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
    19/03/2015 1:21:04.659 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd-helper.status) The HideUntilCheckIn property is an architectural performance issue. Please transition away from it.
    19/03/2015 1:21:04.659 pm
    com.apple.xpc.launchd[1]
    (com.apple.backupd-auto) This service is defined to be constantly running and is inherently inefficient.
    19/03/2015 1:21:51.062 pm
    com.apple.backupd[167]
    Starting manual backup
    19/03/2015 1:21:51.380 pm
    com.apple.backupd[167]
    Backing up to /dev/disk2s1: /Volumes/TIMEMACH/Backups.backupdb
    19/03/2015 1:24:40.000 pm
    kernel[0]
    process backupd[167] thread 7580 caught burning CPU! It used more than 50% CPU (Actual recent usage: 53%) over 180 seconds. thread lifetime cpu usage 90.616005 seconds, (29.940993 user, 60.675012 system) ledger info: balance: 90000913400 credit: 90000913400 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 169146762635
    19/03/2015 1:24:40.821 pm
    spindump[507]
    Saved cpu_resource.diag report for backupd version ??? (???) to /Library/Logs/DiagnosticReports/backupd_2015-03-19-132440_David-Henshaw-Work-Ma cbook.cpu_resource.diag
    19/03/2015 1:34:29.100 pm
    com.apple.backupd[167]
    Will copy (Zero KB) from Macintosh HD
    19/03/2015 1:34:29.155 pm
    com.apple.backupd[167]
    Found 221268 files (493.5 MB) needing backup
    19/03/2015 1:34:29.235 pm
    com.apple.backupd[167]
    2.39 GB required (including padding), 554.92 GB available
    19/03/2015 1:35:57.393 pm
    com.apple.backupd[167]
    Copied 5145 items (486.8 MB) from volume Macintosh HD. Linked 21319.
    19/03/2015 1:36:33.451 pm
    com.apple.backupd[167]
    Created new backup: 2015-03-19-133632
    19/03/2015 1:36:39.933 pm
    com.apple.backupd[167]
    Starting post-backup thinning
    19/03/2015 1:36:39.943 pm
    com.apple.backupd[167]
    Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/TIMEMACH/Backups.backupdb/David Henshaw Work Macbook/2015-03-19-132152.inProgress/2AC908D9-122D-4267-9652-74A9DC6C8795
    19/03/2015 1:36:39.944 pm
    com.apple.backupd[167]
    Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/TIMEMACH/Backups.backupdb/David Henshaw Work Macbook/2015-03-19-132152.inProgress/A01A1A4C-F424-4F99-9466-6A5F571CE4F5
    19/03/2015 1:36:53.268 pm
    com.apple.backupd[167]
    Deleted /Volumes/TIMEMACH/Backups.backupdb/David Henshaw Work Macbook/2015-03-18-125436 (10.4 MB)
    19/03/2015 1:37:05.844 pm
    com.apple.backupd[167]
    Deleted /Volumes/TIMEMACH/Backups.backupdb/David Henshaw Work Macbook/2015-03-18-115428 (20.6 MB)
    19/03/2015 1:37:12.476 pm
    com.apple.backupd[167]
    Deleted /Volumes/TIMEMACH/Backups.backupdb/David Henshaw Work Macbook/2015-03-18-102131 (1.5 MB)
    19/03/2015 1:37:12.476 pm
    com.apple.backupd[167]
    Post-backup thinning complete: 3 expired backups removed
    19/03/2015 1:37:12.495 pm
    com.apple.backupd[167]
    Backup completed successfully.

    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.
    The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.
    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. See, for example, this discussion.
    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. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is sometimes, but not always, slow, run the test during a slowdown.
    You may have started up in "safe" 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.
    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=(1295 ' 0.5 0.25 50 1000 15 5120 1000 25000 6 6 5 1 0 100 ' 51 25600 4 10 25 5120 102400 1000 25 1536 450 40 500 300 85 25 20480 262144 20 2000 524288 604800 5 1024 25 );k=({Soft,Hard}ware Memory Diagnostics Power FireWire Thunderbolt USB Bluetooth SerialATA Extensions Applications Frameworks PrefPane Fonts Displays PCI UniversalAccess InstallHistory ConfigurationProfile AirPort 'com\.apple\.' -\\t N\\/A 'AES|atr|udit|msa|dnse|ax|ensh|fami|FileS|fing|ft[pw]|gedC|kdu|etS|is\.|alk|ODSA|otp|htt|pace|pcas|ps-lp|rexe|rlo|rsh|smb|snm|teln|upd-[aw]|uuc|vix|webf' OSBundle{Require,AllowUserLoa}d 'Mb/s:Mb/s:ms/s:KiB/s:%:total:MB:total:lifetime:sampled:per sec' 'Net in:Net out:I/O wait time:I/O requests:CPU usage:Open files:Memory:Mach ports:Energy:Energy:File opens:Forks:Failed forks:System errors' 'tsA|[ST]M[HL]' PlistBuddy{,' 2>&1'}' -c Print' 'Info\.plist' CFBundleIdentifier );f=('\n%s'{': ','\n\n'}'%s\n' '\nRAM details\n%s\n' %s{' ','\n'{"${k[22]}",}}'%s\n' '%.1f GiB: %s\n' '\n    ...and %s more line(s)\n' '\nContents of %s\n    '"${k[22]}"'mod date: %s\n    '"${k[22]}"'checksum: %s\n%s\n' );c=(879294308 4071182229 461455494 216630318 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 2636415542 3694147963 1233118628 2456546649 2806998573 2778718105 842973933 1383871077 1591517921 676087606 1445213025 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 3374894509 1051159591 892310726 1707497389 523110921 2883943871 3873345487 );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[4]} ' s/:$//;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[9]}')||($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|yc/!{ s/^.+is |\.//g;p;q;} ' ' BEGIN { FS="\f";if(system("A1 42 83 114")) d="^'"${k[21]}"'launch(d\.peruser\.[0-9]+|ctl\.(Aqua|Background|System))$";} { if($2~/[1-9]/) { $2="status: "$2;printf("'"${f[4]}"'",$1,$2);} else if(!d||$1!~d) print $1;} ' ' $1>1{$NF=$NF" x"$1} /\*/{if(!f)f="\n\t* Code injection"} {$1=""} 1;END{print f} ' ' NR==2&&$4<='${p[7]}'{print $4} ' ' BEGIN{FS=":"} ($1~"wir"&&$2>'${p[22]}') {printf("wired %.1f\n",$2/2^18)} ($1~/P.+ts/&&$2>'${p[19]}') {printf("paged %.1f\n",$2/2^18)} ' '/YLD/s/=/ /p' ' { q=$1;$1="";u=$NF;$NF="";gsub(/ +$/,"");print q"\f"$0"\f"u;} ' ' /^ {6}[^ ]/d;s/:$//;/([^ey]|[^n]e):/d;/e: Y/d;s/: Y.+//g;H;${ g;s/ \n (\n)/\1/g;s/\n +(M[^ ]+)[ -~]+/ (\1)/;s/\n$//;/( {8}[^ ].*){2,}/p;} ' 's:^:/:p;' ' !/, .+:/ { print;n++;} END{if(n<'{${p[12]},${p[13]}}')printf("^'"${k[21]}"'.+")} ' '|uniq' ' 1;END { print "/L.+/Scr.+/Templ.+\.app$";print "/L.+/Pri.+\.plugin$";if(NR<'{${p[14]},${p[21]}}') print "^/[Sp].+|'${k[21]}'";} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:.+//p;' '&&echo On' '/\.(bundle|component|framework|kext|mdimporter|plugin|qlgenerator|saver|wdgt)$/p' '/\.dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".","");print $0"$";} END { split("'"${c[*]}"'",c);for(i in c) print "\t"c[i]"$";} ' ' /^\/(Ap|Dev|Inc|Prev)/d;/((iTu|ok).+dle|\.(component|mailbundle|mdimporter|plugin|qlgenerator|saver|wdgt))$/p;' ' BEGIN{ FS="= "} $2 { gsub(/[()"]/,"",$2);print $2;} !/:/&&!$2{print "'${k[23]}'"} ' ' /^\//!d;s/^.{5}//;s/ [^/]+\//: \//p;' '>&-||echo No' '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[2]}'{$2=$2-1;print}' ' BEGIN { M1='${p[16]}';M2='${p[18]}';M3='${p[8]}';M4='${p[3]}';} !/^A/{next};/%/ { getline;if($5<M1) o["CPU"]="CPU: user "$2"%, system "$4"%";next;} $2~/^disk/&&$4>M2 { o[$2]=$2": "$3" ops/s, "$4" blocks/s";next;} $2~/^(en[0-9]|bridg)/ { if(o[$2]) { e=$3+$4+$5+$6;if(e) o[$2]=o[$2]"; errors "e"/s";next;};if($4>M3||$6>M4) o[$2]=$2": in "int($4/1024)", out "int($6/1024)" (KiB/s)";} END { for(i in o) print o[i];} ' ' /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/) ' ' BEGIN{FS=": "} /^ {10}O/ {exit} /^ {0,12}[^ ]/ {next} $1~"Ne"&&$2!~/^In/{print} $1~"Si" { split($2,a," ");if(a[1]-a[4]<'${p[5]}') print;};$1~"T"&&$2<'${p[20]}'{print};$1~"Se"&&$2!~"2"{print};' ' BEGIN { FS="\f";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1;} ' ' BEGIN { split("'"${p[1]}"'",m);FS="\f";} $2<=m[$1]{next} $1==9||$1==10 { "ps -c -ouid -p"$4"|sed 1d"|getline $4;} $1<11 { o[$1]=o[$1]"\n    "$3" (UID "int($4)"): "$2;} $1==11&&$5!~"^/dev" { o[$1]=o[$1]"\n    "$3" (UID "$4") => "$5" (status "$6"): "$2;} $1==12&&$5 { "ps -c -ocomm -p"$5"|sed 1d"|getline n;if(n) $5=n;o[$1]=o[$1]"\n    "$5" => "$3" (UID "$4"): "$2;} $1~/1[34]/ { o[$1]=o[$1]"\n    "$3" (UID "$4", error "$5"): "$2;} END { n=split("'"${k[27]}"'",u,":");for(i=n+1;i<n+4;i++)u[i]=u[n];split("'"${k[28]}"'",l,":");for(i=1;i<15;i++) if(o[i])print "\n"l[i]" ("u[i]")\n"o[i];} ' ' /^ {8}[^ ]/{print} ' ' BEGIN { L='${p[17]}';} !/^[[: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("'"${k[30]}"' "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    '"${k[22]}"'"T;printf("'"${f[8]}"'",F,D,C,f);if(l>L) printf("'"${f[7]}"'",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' 's/^.{52}(.+) <.+/\1/p' ' /id: N|te: Y/{i++} END{print i} ' ' /kext:/ { split($0,a,":");p=a[1];k[S]='${k[25]}';k[U]='${k[26]}';v[S]="Safe";v[U]="true";for(i in k) { s=system("'"${k[30]}"'\\ :"k[i]" \""p"\"/*/I*|grep -qw "v[i]);if(!s) a[1]=a[1]" "i;};if(!a[2]) a[2]="'"${k[23]}"'";printf("'"${f[4]}"'",a[1],a[2]);next;} !/^ *$/ { p="'"${k[31]}"'\\ :'"${k[33]}"' \""$0"\"/*/'${k[32]}'";p|getline b;close(p);if(b~/, .+:/||b=="") b="'"${k[23]}"'";printf("'"${f[4]}"'",$0,b);} ' '/ en/!s/\.//p' ' NR>=13 { gsub(/[^0-9]/,"",$1);print;} ' ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?'${k[32]}'$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ / [VY]/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' '/^find: /!p;' ' /^p/{ s/.//g;x;s/\nu/'$'\f''/;s/(\n)c/\1'$'\f''/;s/\n\n//;p;};H;' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */    /;p;' ' s/^.+ |\(.+\)$//g;p;' '1;END{if(NR<'${p[15]}')printf("^/(S|usr/(X|li))")}' ' /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/{'\.|jnl: ','P.+:'}'//;s/ +([0-9]+)(.+)/\2'$'\t\t''\1/p' ' /^ +iP.+:$/{ s/://;b0'$'\n'' };/es: ./{ /iOS/d;s/^.+://;b0'$'\n'' };/^ +C.+ted: +[NY]/H;/:$/b0'$'\n'' d;:0'$'\n'' x;/: +N/d;s/\n.+//p;' ' 1d;/:$/b0'$'\n'' $b0'$'\n'' /(D|^ *Loc.+): /{ s/^.+: //;H;};/(B2|[my]): /H;d;:0'$'\n'' x;/[my]: [AM]|m: I.+p$|^\/Vo/d;s/(^|\n) [ -~]+//g;s/(.+)\n(.+)/\2:\1/;s/\n//g;/[ -~]/p;' 's/$/'$'\f''(0|-(4[34])?)$/p' '|sort'{'|uniq'{,\ -c},\ -nr} ' s/^/'{5,6,7,8,9,10}$'\f''/;s/ *'$'\f'' */'$'\f''/g;p;' 's/:.+$//p' '|wc -l' /{\\.{kext,xpc,'(appex|pluginkit)'}'\/(Contents\/)?'Info,'Launch[AD].+'}'\.plist$/p' 's/([-+.?])/\\\1/g;p' 's/, /\'$'\n/g;p' ' BEGIN{FS="\f"} { printf("'"${f[6]}"'",$1/2^30,$2);} ' ' /= D/&&$1!~/'{${k[24]},${k[29]}}'/ { getline d;if(d~"t") print $1;} ' ' BEGIN{FS="\t"} NR>1&&$NF!~/0x|\.([0-9]{3,}|[-0-9A-F]{36})$/ { print $NF"\f"a[split($(NF-1),a," ")];} ' '|tail -n'{${p[6]},${p[10]}} ' s/.+bus /Bus: /;s/,.+[(]/ /;s/,.+//p;' ' { $NF=$NF" Errors: "$1;$1="";} 1 ' ' 1s/^/\'$'\n''/;/^ +(([MNPRSV]|De|Li|Tu).+|Bus): .|d: Y/d;s/:$//;$d;p;' ' BEGIN { RS=",";FS=":";} $1~"name" { gsub("\"","",$2);print $2;} ' '|grep -q e:/' '/[^ .]/p' '{ print $1}' ' /^ +N.+: [1-9]/ { i++;} END { if(i) print "system: "i;} ' ' NF { print "'{admin,user}' "$NF;exit;} ' ' /se.+ =/,/[\}]/!d;/[=\}]/!p ' ' 3,4d;/^ +D|Of|Fu| [0B]/d;s/^  |:$//g;$!H;${ x;/:/p;} ' ' BEGIN { FS=": ";} NR==1 { sub(":","");h="\n"$1"\n";} /:$/ { l=$1;next;} $1~"S"&&$2!~3 { getline;next;} /^ {6}I/ { i++;L[i]=l" "$2;if(i=='${p[24]}') exit;} END { if(i) print h;for(j=0;j<i;j++) print L[i-j];} ' ' /./H;${ x;s/\n//;s/\n/, /g;/,/p;} ' ' {if(int($6)>'${p[25]}')printf("swap used %.1f\n",$6/1024)} ' ' BEGIN{FS="\""} $3~/ t/&&$2!~/'{${k[24]},${k[29]}}'/{print $2} ' ' int($1)>13 ' p ' BEGIN{FS="DB="} { sub(/\.db.*/,".db",$2);print $2;} ' {,1d\;}'/r%/,/^$/p' ' NR==1{next} NR>11||!$0{exit} {print $NF"\f"substr($0,1,32)"\f"$(NF-7)} ' '/e:/{print $2}' ' /^[(]/{ s/....//;s/$/:/;N;/: [)]$/d;s/\n.+ ([^ ]+).$/\1/;H;};${ g;p;} ' '1;END { exit "find /var/db/r*/'${k[21]}'*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom -mtime -'${p[23]}'s"|getline;} ' ' NR<='${p[26]}' { o=o"\n"$0;next;} { o="";exit;} END{print o|"sed 1d"} ' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab kextfind top pkgutil "${k[30]}\\" echo cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom 'mdfind -onlyin' env pluginkit scutil 'dtrace -q -x aggsortrev -n' security sed\ -En awk 'dscl . -read' networksetup mdutil lsof test osascript\ -e netstat mdls route cat uname powermetrics );c2=(${k[21]}loginwindow\ LoginHook ' /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'" 'L*/Ca*/'${k[21]}'Saf*/E* -d 2 -name '${k[32]} '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' -i '-nl -print' '-F \$Sender -k Level Nle 3 -k Facility Req "'${k[21]}'('{'bird|.*i?clou','lsu|sha'}')"' "-f'%N: %l' Desktop {/,}L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message CRne '0xdc008012|(allow|call)ing|Goog|(mplet|nabl)ed|ry HD|safe b|xpm' -k Message CReq 'bad |Can.t l|corru|dead|fail|GPU |hfs: Ru|inval|Limiti|v_c|NVDA[(]|pagin|Purg(ed|in)|error|Refus|TCON|tim(ed? ?|ing )o|trig|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o%cpu,comm,ruid' "' syscall::recvfrom:return {@a[execname,uid]=sum(arg0)} syscall::sendto:return {@b[execname,uid]=sum(arg0)} syscall::open*:entry {@c[execname,uid,copyinstr(arg0),errno]=count()} syscall::execve:return, syscall::posix_spawn:return {@d[execname,uid,ppid]=count()} syscall::fork:return, syscall::vfork:return, syscall::posix_spawn:return /arg0<0/ {@e[execname,uid,arg0]=count()} syscall:::return /errno!=0/ {@f[execname,uid,errno]=count()} io:::wait-start {self->t=timestamp} io:::wait-done /self->t/ { this->T=timestamp - self->t;@g[execname,uid]=sum(this->T);self->t=0;} io:::start {@h[execname,uid]=sum(args[0]->b_bcount)} tick-10sec { normalize(@a,2560000);normalize(@b,2560000);normalize(@c,10);normalize(@d,10);normalize(@e,10);normalize(@f,10);normalize(@g,10000000);normalize(@h,10240);printa(\"1\f%@d\f%s\f%d\n\",@a);printa(\"2\f%@d\f%s\f%d\n\",@b);printa(\"11\f%@d\f%s\f%d\f%s\f%d\n\",@c);printa(\"12\f%@d\f%s\f%d\f%d\n\",@d);printa(\"13\f%@d\f%s\f%d\f%d\n\",@e);printa(\"14\f%@d\f%s\f%d\f%d\n\",@f);printa(\"3\f%@d\f%s\f%d\n\",@g);printa(\"4\f%@d\f%s\f%d\n\",@h);exit(0);} '" '-f -pfc /var/db/r*/'${k[21]}'*.{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'$'\f''%Sc'$'\f''%N -t%F {} \;' '/S*/*/Ca*/*xpc*' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' /\ kMDItemContentTypeTree=${k[21]}{bundle,mach-o-dylib} :Label "/p*/e*/{auto*,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {/p*,/usr/local}/e*/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list '-F "" -k Sender hidd -k Level Nle 3' /Library/Preferences/${k[21]}alf\ globalstate --proxy '-n get default' vm.swapusage --dns -get{dnsservers,info} dump-trust-settings\ {-s,-d,} -n1 '-R -ce -l1 -n5 -o'{'prt -stats prt','mem -stats mem'}',command,uid' -kl -l -s\ / '--regexp --files '${k[21]}'pkg.*' '+c0 -i4TCP:0-1023' ${k[21]}dashboard\ layer-gadgets '-d /L*/Mana*/$USER' '-app Safari WebKitDNSPrefetchingEnabled' '-Fcu +c0 -l' -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' '-F \$Message -k Sender kernel -k Message CReq "'{'n Cause: -','(a und|I/O |jnl_io.+)err|disk.+abo','USBF:.+bus'}'"' -name\ kMDItem${k[33]} -T\ hfs '-n get default' -listnetworkserviceorder :${k[33]} :CFBundleDisplayName $EUID {'$TMPDIR../C ','/{S*/,}'}'L*/{,Co*/*/*/L*/}{Cache,Log}s -type f -size +'${p[11]}'M -exec stat -f%z'$'\f''%N {} \;' \ /v*/d*/*/*l*d{,.*.$UID}/* '-app Safari UserStyleSheetEnabled' 'L*/A*/Fi*/P*/*/a*.json' users/$USER\ HomeDirectory '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' ' -F "\$Time \$(Sender): \$Message" -k Sender Rne "launchd|nsurls" -k Level Nle 3 -k Facility R'{'ne "user|','eq "'}'console" -k Message CRne "[{}<>]|asser|commit - no t|deprec|done |ect pas|fmfd|Goog|ksho|ndum|obso|realp|rned f|/root|sandbox ex" ' getenv '/ "kMDItemDateAdded>=\$time.now(-'${p[23]}')&&kMDItem'${k[33]}'=*"' -m\ / '' ' -F "\$Time \$(RefProc): \$Message" -k Sender Req launchd -k Level Nle 3 -k Message Rne "asse|bug|File ex|hij|Ig|Jet|key is|lid t|Plea|ship" ' print{,-disabled}\ {system,{gui,user}/$UID} '-n1 --show-initial-usage --show-process-energy' -r ' -F "\$Message" -k Sender nsurlstoraged -k Time ge -1h -k Level Nle 4 -k Message Req "^(ER|IN)" ' '~ "kMDItemKind=Package"' );N1=${#c2[@]};for j in {0..20};do c2[N1+j]=SP${k[j]}DataType;done;l=({Restricted\ ,Lock,Pro}files POST Battery {Safari,App,{Bad,Loaded}\ kernel,Firefox}\ extensions System\ load boot\ args FileVault\ {2,1} {Kernel,System,Console,launchd}\ log SMC Login\ hook 'I/O per process' 'High file counts' UID {System,Login,Agent,User}' services '{load,disabl}ed {Admin,Root}\ access Font\ issues Firewall Proxies DNS TCP/IP Wi-Fi 'Elapsed time (sec)' {Root,User}\ crontab {Global,User}' login items' Spotlight Memory\ pressure Listeners Widgets Parental\ Controls Prefetching Nets Volumes {Continuity,I/O,iCloud,HID,HCI}\ errors {User,System}\ caches/logs XPC\ cache Startup\ items Shutdown\ codes Heat Diagnostic\ reports Bad\ {plist,cache}s 'VM (GiB)' Bundles{,' (new)'} Trust\ settings Activity Free\ space Stylesheet Library\ paths{,' ('{shell,launchd}\)} Data\ packages );N3=${#l[@]};for i in {0..8};do l[N3+i]=${k[5+i]};done;F() { local x="${s[$1]}";[[ "$x" =~ ^([\&\|\<\>]|$) ]]&&{ printf "$x";return;};:|${c1[30]} "$x" 2>&-;printf "%s \'%s\'" "|${c1[30+$?]}" "$x";};A0() { Q=6;v[2]=1;id -G|grep -qw 80;v[1]=$?;((v[1]))||{ Q=7;sudo -v;v[2]=$?;((v[2]))||Q=8;};v[3]=`date +%s`;date '+Start time: %T %D%n';printf '\n[Process started]\n\n'>&4;printf 'Revision: %s\n\n' ${p[0]};};A1() { local c="${c1[$1]} ${c2[$2]}";shift 2;c="$c ` while [[ "$1" ]];do F $1;shift;done`";((P2))&&{ c="sudo $c";P2=;};v=`eval "$c"`;[[ "$v" ]];};A2() { local c="${c1[$1]}";[[ "$c" =~ ^(awk|sed ) ]]&&c="$c '${s[$2]}'"||c="$c ${c2[$2]}";shift 2;local d=` while [[ "$1" ]];do F $1;shift;done`;((P2))&&{ c="sudo $c";P2=;};local a;v=` while read a;do eval "$c '$a' $d";done<<<"$v";`;[[ "$v" ]];};A3(){ v=$((`date +%s`-v[3]));};export -f A1 A2 F;B1() { v=No;! ((v[1]))&&{ v=;P1=1;};};eval "`type -a B1|sed '1d;s/1/2/'`";B3(){ v[$1]="$v";};B4() { local i=$1;local j=$2;shift 2;local c="cat` while [[ "$1" ]];do F $1;shift;done`";v[j]=`eval "{ $c;}"<<<"${v[i]}"`;};B5(){ v="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d$'\e' <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F$'\e' ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`egrep -v "${v[$1]}"<<<"$v"|sort`;};eval "`type -a B7|sed '1d;s/7/8/;s/-v //'`";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() { B4 0 0 63&&C1 1 $1;};C4() { echo $'\t'"Part $((++P)) of $Q done at $((`date +%s`-v[3])) sec">&4;};C5() { sudo -k;pbcopy<<<"$o";printf '\n\tThe test results are on the Clipboard.\n\n\tPlease close this window.\n';exit 2>&-;};for i in 1 2;do eval D$((i-1))'() { A'$i' $@;C0;};';for j in 2 3;do eval D$((i+2*j-3))'() { local x=$1;shift;A'$i' $@;C'$j' $x;};';done;done;trap C5 2;o=$({ A0;D0 0 N1+1 2;D0 0 $N1 1;B1;C2 31;B1&&! B2&&C2 32;D2 22 15 63;D0 0 N1+2 3;D0 0 N1+15 17;D4 3 0 N1+3 4;D4 4 0 N1+4 5;D4 N3+4 0 N1+9 59;D0 0 N1+16 99;for i in 0 1 2;do D4 N3+i 0 N1+5+i 6;done;D4 N3+3 0 N1+8 71;D4 62 1 10 7;D4 10 1 11 8;B2&&D4 18 19 53 67;D2 11 2 12 9;D2 12 3 13 10;D2 13 32 70 101 25;D2 71 6 76 13;D2 45 20 52 66;A1 7 77 14;B3 28;A1 20 31 111;B6 0 28 5;B4 0 0 110;C2 66;D4 70 8 15 38;D0 9 16 16 77 45;C4;B2&&D0 35 49 61 75 76 78 45;B2&&{ D0 28 17 45;C4;};B2&&{ A1 43 85 117;B3 29;B4 0 0 119 76 81 45;C0;B4 29 0 118 119 76 82 45;C0;    };D0 12 40 54 16 79 45;D0 12 39 54 16 80 45;D4 74 25 77 15&&{ B4 0 8 103;B4 8 0;A2 18 74;B6 8 0 3;C3 75;};B2&&D4 19 21 0;B2&&D4 40 10 42;D2 2 0 N1+19 46 84;D2 44 34 43 53;D2 59 22 20 32;D2 33 0 N1+14 51;for i in {0..2};do A1 29 35+i 104+i;B3 25+i;done;B6 25 27 5;B6 0 26 5;B4 0 0 110;C2 69;D2 34 21 28 35;D4 35 27 29 36;A1 40 59 120;B3 18;A1 33 60 121;B8 18;B4 0 19 83;A1 27 32 39&&{ B3 20;B4 19 0;A2 33 33 40;B3 21;B6 20 21 3;};C2 36;D4 50 38 5 68;B4 19 0;D5 37 33 34 42;B2&&D4 46 35 45 55;D4 38 0 N1+20 43;B2&&D4 58 4 65 76 91;D4 63 4 19 44 75 95 12;B1&&{ D4 53 5 55 75 69&&D4 51 6 58 31;D4 56 5 56 97 75 98&&D0 0 N1+7 99;D2 55 5 27 84;D4 61 5 54 75 70;D4 14 5 14 96;D4 15 5 72 96;D4 17 5 78 96;C4;};D4 16 5 73 96;A1 13 44 74 18;C4;B3 4;B4 4 0 85;A2 14 61 89;B4 0 5 19 102;A1 17 41 50;B7 5;C3 8;B4 4 0 88;A2 14 24 89;C4;B4 0 6 19 102;B4 4 0 86;A2 14 61 89;B4 0 7 19 102;B5 6 7;B4 0 11 73 102;A1 42 86 114;j=$?;for i in 0 1 2;do ((i==2&&j==1))&&break;((! j))||((i))||B2&&A1 18 $((79+i-(i+53)*j)) 107+8*j 94 74||continue;B7 11;B4 0 0 11;C3 $((23+i*(1+i+2*j)));D4 $((24+i*(1+i+2*j))) 18-4*j 82+i-16*j $((112+((3-i)*i-40*j)/2));done;D4 60 4 21 24;D4 42 14 1 62;D4 43 37 2 90 48;D4 41 10 42;D2 48 36 47 25;A1 4 3 60&&{ B3 9;A2 14 61;B4 0 10 21;B4 9 0;A2 14 62;B4 0 0 21;B6 0 10 4;C3 5;};D4 9 41 69 100;D2 72 21 68 35;D2 49 21 48 49;B4 4 22 57 102;A1 21 46 56 74;B7 22;B4 0 0 58;C3 47;D4 54 5 7 75 76 69;D4 52 5 8 75 76 69;D4 57 4 64 76 91;D2 0 4 4 84;D2 1 4 51 84;D4 21 22 9 37;D0 0 N1+17 108;D4 76 24 88;A1 23 18 28 89;B4 0 16 22 102;A1 16 25 33;B7 16;B4 0 0 34;D1 31 47;D4 64 4 71 41;D4 65 5 87 116 74;C4;B4 4 12 26 89 23 102;for i in {0..3};do A1 0 N1+10+i 72 74;B7 12;B4 0 0 52;C3 N3+5+i;((i))||C4;done;A1 24 22 29;B7 12;B3 14;A2 39 57 30;B6 14 0 4;C3 67;A1 24 75 74;B4 1 1 122||B7 12;B4 0 0 123;B3 23;A2 39 57 30;B6 23 0 4;C3 68;B4 4 13 27 89 65;A1 24 23;B7 13;C3 73;B4 4 0 87;A2 14 61 89 20;B4 0 17;A1 26 50 64;B7 17;C3 6;D0 0 N1+18 109;D4 7 11 6;A3;C2 39;C4;} 4>&2 2>/dev/null;);C5
    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. If you don't know the password, or if you prefer not to enter it, 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, a series of lines will appear in the Terminal window like this:
    [Process started]
            Part 1 of 8 done at … sec
            Part 8 of 8 done at … sec
            The test results are on the Clipboard.
            Please close this window.
    [Process completed]
    The intervals between parts won't be exactly equal, but they give a rough indication of progress. The total number of parts may be different from what's shown here.
    Wait for the final message "Process completed" to appear. If you don't see it within about ten minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it and go to the next step. You'll have incomplete results, but still something.
    12. When the test is complete, or if you stopped it because it was taking too long, 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 for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.
    Copyright © 2014, 2015 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.

  • Unresponsive system but mouse still moves; even after restart

    I was transferring a few files over my LAN wirelessly via file sharing to another macbook (B) when that macbook was closed and caused a disconnect. My macbook (A) has experienced issues since this disconnect. Even after restarts and resetting the pram, my system is unresponsive. The mouse will move but I cannot open applications, folders, files, or even the menu. It is as if my mouse is moving over top a picture of the desktop. I did manage to click and highlight my HD icon once but as soon as I did, the color wheel showed up and never stopped. My hard drive has over 10GB of space free. I was able to do a target disk boot and test the drive and its ok according to disk utility. Any ideas about what I could do would be greatly appreciated...preferably without wiping the hard drive.

    The first issue occurred while I was transferring large files from one computer to another via afp file sharing over my wireless network. In the middle of this transfer, someone closed the receiving macbook. The macbook sending the files didn't respond well after this. It would intermittently freeze without a linked resource draining process. I believe the first occurrence was when I tried to right click a file that had been interrupted during transfer. I forced a restart, used the killall Finder command in terminal thinking that it might still be trying to transfer the file to a ghost in some way...even though that didn't make sense. I was able to verify and repair the external drive the file was on. After doing this and resetting the PRAM, it was back to normal for a little while. After a bit of normal activity (nothing strenuous), it began to freeze again. I tried the same steps and also booted in target disk mode so I could use the other macbook to run diagnostics. The drive got repaired. I attempted to restart the affected macbook but I couldn't do anymore than one thing and the never-ending colorwheel would appear. That one thing could be a single click on a file or an attempt of opening an application. After that I turned to this discussion forum after already impatiently attempting to safe mode boot and repair disk permissions. I tried this again with patience after your suggestion. It worked for a few hours and I was able to surf the web once more and go about the usual. I pulled up dashboard and pressed command+ to bring up the list of widgets and it froze on me again. I attempted previous steps again after restarting but there has been no difference in response. Throughout the entirety of this experience, there have been no error messages. Also, there's no difference in behavior if I disconnect everything but the power cable.
    Sorry for the lengthy post but hopefully it will be helpful.
    Message was edited by: AG_Jazz

  • Desktop icons moving on restart

    I'm a recent (late, I know!) upgrade to Tiger on my G4 iBook. I've noticed a couple times recently that after restarting, some of my icons on my desktop are in a different place from where they were before restarting. One time, several of them ended up on the left side of the desktop when they were on the right before. Today, my HD was in the bottom right corner upon startup (as opposed to the usual upper right).
    This isn't a huge problem, just a bit of annoyance in that I have to move the icons back. Any idea what's causing this and how to fix it?

    I have read a number of posts complaining about this, and it has happened to me once or twice.  It sure seems like a bug.  I expect it will get fixed eventually. For now you can try this, which may or may not help,
    https://discussions.apple.com/message/15779186#15779186
    And you can leave feedback:
    Apple - Mac OS X - Feedback
    charlie

Maybe you are looking for