Query is dead slow

declare @search varchar(100)
select id,name,grade from VCustomer(10 million records)
where cast(id as varchar) like @search +%
here id is bigint and cast operation used in where condition so query is getting slow.Please do the needful.How to avoid this cast opeartion in query.
Cheers,

Thanks for your valuable response.But still I am getting table scan.
I have modified the column data type into Varchar.But in where clause there are two string search i.e.
declare @search varchar(100)
ID varchar(50),CustomerID varchar(50)
select id,name,grade from VCustomer(10 million records) VC LEFT OUTER JOIN VBooking VB(20 Millions)
ON VC.ID=VB.CustomerID
where ID like @search +'%' or CustomerID like @search +'%'
Here I am getting both table scans.Please do the needful.
Cheers,

Similar Messages

  • Satellite L310-D4010: OS has become dead slow while using the CD/DVD drive

    Dear all,
    I has bought Toshiba Satellite L310-D4010 at chennai, India.
    It has 2GB RAM and 1.83 GHz Intel Core2 Duo Processor.
    But my system has become *dead slow* while i am using the optical drive i.e., when i am writing a disk and copying the content form the disk.
    I was not able to open any application while i am using the DVD drive.
    Please guide me to resolve this problem.
    Thanking you.

    For me it is also logic that notebook performance goes down when I copy a lot of data. To be honest when I use some burning application to save data on CD or DVD I leave it running till the end and avoid usage of other applications while burning procedure is active. All I do at the same time is surfing in Internet.
    I cannot imagine you are not able to start some applications. Maybe notebook needs some more time to start application but it must work.
    At the end I must say that 2 GB RAM for Vista notebook is for me really the minimum and if possible I recommend you to upgrade RAM if possible. This notebook model is not known to me and max RAM for this model is not known to me but I presume the 4 GB should not be the problem.

  • My iPhone 4 has become dead slow after the iOS upgrade. Any pointers pls?

    Hello All,
    My iPhone 4 has become dead slow after the iOS upgrade. I use the phone for business purpose and it has become painful to use the phone becuase of the poor performance.
    I don't want to change phones based on iOS releases. Any suggestions would be appreciated.
    Thanks,
    Amrit

    How to update my iPhone4,iOS 7.0.6

  • MBP to MacPro Network Connection Deadly Slow

    I recently purchased an Intel MBP, and am connected to my home network wirelesly via a Belkin N1 router. Connecting to the Internet works just fine: speed is good, connection is strong, etc.
    But connecting to shared drives over my home network - specifically, those on my MacPro - has become deadly slow. It can take hours to transfer files of a few MBytes. The MacPro is connected to the network via Ethernet. It has four full drive bays. The Internet performance (e.g., web browsing) on the MacPro is fine.
    I previously has a PowerBook G4, and it did not have this problem - network speeds worked fine. It's only after I moved to the MBP that this started.
    This problem occurs even if a connect the MBP to the network with an Ethernet cable.
    Any suggestions are appreciated.
    MacBook Pro/PowerMac   Mac OS X (10.4.9)  

    William:
    I've got DHCP turned on in the Belkin, so it's handing out IP addresses. The router does connect to a switch, and I haven't tried a different port on the switch, or resetting it, but I will.
    One other thing to note - I have a Mac Mini as well; the Mini runs wirelessly. The connection from the MBP to the Mini has slowed down as well.
    I was going to pick up an Airport Express router this afternoon and try it. If nothing else, I'll have a nice collection of Apple hardware...
    Thanks for the feedback.
    MacBook Pro/PowerMac   Mac OS X (10.4.2)  

  • Dreamweaver CS4 dead slow on windows 7 after inserting some png images, I can't scroll. Why?

    I am using Dreamweaver CS4 on windows 7, I put some png images in table and one 900px width image on background, now I cannot scroll the page, I can work smoothly on code view, but really dead slow in design view, Why? I am using Toshoba Tecra laptop - Core 2 Duo 1.8GHz with  2.5GB RAM.
    Is it related to cache? Is it need any special settings for using too many images? Please help.

    Thanks dear, The image has 1.08MB, but I find out the problem - I have 3 transparent images(less than 1kb) as table backgrounds, When I removed those images it works smoothly, I can scroll as well. But to keep the design how can I use transparent image without slowdown. The images are in PNG-24 format and i used those through CSS.
    Thanks for your help.

  • Just moved to ISP PLUSNET and now loading web pages is dead slow

    Just moved to ISP PLUSNET and now loading web pages is dead slow.
    Like loading google will sometimes take 30 seconds to 1 minute but it used to load in a fraction of a second on my previous ISP.
    Sometimes a new URL will take over a minute so I hit Stop Loading This Page and then try again and sometimes it might load instantly, or if not, it might continue to just drag on again.
    It's so frustrating it's like being back on dial-up connection - but worse.
    It feels like PLUSNET have put something on my Mac to slow it down.
    PLUSNET has a restriction on how much I can use per month, which my previous ISP did not have, but according to PLUSNET's usage checker I am nowhere near the max, ie, I am allowed 10GB per month but the checker is showing I have used less than 100 MB so far this month.
    I wonder if the PLUSNET usage checker is slowing down my usage coz it's really noticeable that it has only started to run slow since I moved to PLUSNET.
    When I run a broadband speed check it always shows the feed coming in at around 5500 kbps or so which should be OK.
    PLUSNET told me to go through their test page and I got to the part where it says install a Virus checker and an Adware checker but I'm not sure which ones to use coz I heard some of those checkers are themselves plants that infect you with a virus or keystroke logger.
    Also I have Block Pop UP Windows running on Safari but yesterday a window popped up so that blocker seems to have been compromised somehow.
    I have 17GB available on my HD of a total of 38GB.
    Can anyone help me with this problem please?

    (First, if yours is an Intel Mac, check that Safari is not running in Rosetta, which is enough to slow it to a crawl. If you are running Snow Leopard, run Safari in 32 bit not 64 bit.)
    Adding DNS codes to your Network Settings, should gives good results in terms of speed-up:
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu. Click on TCP/IP and in the box marked 'DNS Servers' enter the following two numbers:
    208.67.222.222
    208.67.220.220
    (An explanation of why that is both safe and a good idea can be read here: http://www.labnol.org/internet/tools/opendsn-what-is-opendns-why-required-2/2587 /
    Open DNS also provides an anti-phishing feature: http://www.opendns.com/solutions/homenetwork/anti-phishing/ )
    Wikipedia also has an interesting article about Open DNS:
    http://en.wikipedia.org/wiki/OpenDNS
    Whilst in System Preferences/Network you should also turn off 'IPv6' in your preference pane, as otherwise you may not get the full speed benefit (the DNS resolver will default to making SRV queries). If you want to know what IPv6 is:
    This is Apple's guidance on iPv6:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8708.html
    Click on Apply Now and close the window.
    Restart Safari, and repair permissions.
    If that didn't do it, then try this as well:
    Empty Safari's cache (from the Safari menu), then close Safari.
    Go to Home/Library/Safari and delete the following files:
    form values
    download.plist
    Then go to Home/Library/Preferences and delete
    com.apple.Safari.plist
    Repair permissions (in Disk Utility).
    Start up Safari again, and things should have improved.
    More useful information here:
    http://guides.macrumors.com/SpeedupSafari
    Less likely, but possible, is that the slowness is caused by a Trojan such as the one called 'DNSChanger' or 'OSZ.RSPlug', which can alter the DNS settings of your network connection. This particular Trojan can be inadvertently installed if you have come across certain Quicktime movies where got a window stating that you have to download and install a particular codec in order to see the video.
    If you have agreed to that installation, your system can be infected and your DNS settings altered, which results in your system using the wrong DNS servers, which can slow web surfing to a crawl.
    This can be fixed by downloading and running a freeware utility called DNSChanger Removal Tool which you can download from here:
    http://www.versiontracker.com/dyn/moreinfo/macosx/33696
    Once you have run that utility you have to re-boot your Mac, then reset Safari, and re-enter your DNS settings in System Preferences/Network.

  • Guestconnect wireless connection is dead slow

    After installing Certificate on NGS , Guestconnect wireless connection is dead slow. (takes more than 1 minute to load Splash page ,which is stalled on NGS)
    We have another Anchore controller with NGS in DR site. Whenever we pointing WLC to DR Anchor controller ,no issue.
    Any help is highly appreciated.
    Thanks
    Sri

    The certificate shouldn't cause this, unless there is an issue getting to the Internet to validate the certificate.
    It could still be a duplex issue between the NGS and the Internet connection at the non-DR site.
    Steve
    Sent from Cisco Technical Support iPhone App

  • CS6 dead slow moving layers and groups

    I have this brand new PC, got it last week,  i7 core, SSD drive, 16gb ram.
    When I open my PSD doc with my design (approx 43mb psd file) then the photoshop application spikes in memory usage, to 3.5gb (from 120mb), and moving groups and layers around is DEAD SLOW, horrible lag.
    I had CS3 on my previous PC, which was Core2 Duo with 4gb ram, and the speeds there were similar on the same psd document.
    I've also tried CS5.1 on a similar PC hardware specs as my new PC, and moving groups and layers around is much faster.
    Is it just CS6? Why is this so slow?

    Wow, that was kind of an over the top response...
    Many of the files I'm using were made in CS4 and didn't have this problem. I updated to CS6 about a month ago. The same files, that worked perfectly in CS4 are having this issue in CS6. It's not about the files - it's about CS6.
    Maybe I worded my post wrong. The point I was trying to make is - something is wrong in SC6 Photoshop that's not unique to me or my files. A lot of other people I know complain of the same thing.
    I was trying to highlight that this is an unaccepatble issue for software at this cost. And that it's a really, really big deal. What is more fundamental than moving layers?
    From the volume of posts I see and the lack of an actual solution, my assumption is that there is not one and that this is a program flaw. I hope Adobe can adress this in an update soon.
    If that is wrong and there is a true "solve", please advise.
    On a side note. I'm an Creative Director doing web based work. The files are 72dpi. And this issue occurs when dragging / moving simple layers. They are not huge files or items that require substantial redraw.
    RAM 15,214 - Photoshop allocated 10,497
    History states: 50
    Cache levels: 2
    Cache tile size: 128
    All other preferences are default.
    Changing the settings above or alterting graphics processor usage or settings and no noticable affect.

  • SCDPM 2012 - backups are running dead slow

    SCDPM 2012 - backups are running dead slow.
    Below is the details of software and hardware.
    Server OS : WIndows Server 2008 R2
    DPM version : SCDPM 2012 , Version : 4.0.1920.0
    Server Hardware : Prolinet BL 460C G1
    Tape drive - LTO 4 drives
    Network : HP NC325m PCIe Quad Port Adapter , driver version 16.1.0.1 ( 10/16/2013 )
    Could you please help me to resolve this issue. Thanks
    Raghavendra Bhat

    we've got a Windows Server 2008 R2 server that has been running DPM v4.0.1920.0 since it was released in
    10/18/2012.
    we are using D2D2T
    We did have tape throughput performance issues initially, but after switching to the in-box LTO tape-drive drivers included with the operating system (instead on HP drivers), and setting several registry values associated with tape ports, we got it working.
     see http://social.technet.microsoft.com/Forums/en-US/3cda9c6a-688d-4c2d-8dc0-9d04b8ea1f05/dpm-2012-not-filling-lto3-tapes?forum=dpmtapebackuprecovery
    The best advice to speed up the D2D part of the backup is to configure any antivirus software if present to not perform any real-time scanning made by the DPMRA.EXE and DRSR.EXE executables.
    Don't backup the system drive of the DPM server to tape, because there are as many junctions as you have protected volumes define, which makes the backup not work at all.
    Also, for the system being backed up D2D, 

  • Maxed out Mac Pro (nearly new) DEAD SLOW - why???

    *I have always been a PC guy (animation and film production is what I do -- www.speedbumpstudios.com) but I decided to bite the bullet and go Mac. I maxed out my Mac Pro-- if it's available, I got it. It's a 15,000 machine. Great. So I've had it for a few months and the thing is so dead slow I am finding it almost unusable. My three year old PC laptop kicks its butt. Here are the symptoms.*
    *Opening Photoshop takes anywhere from 1 to 3 minutes. Once it is open, if I try to open a file, it takes another couple of minutes for the finder to pop up so I can search for it.*
    *iTunes regularly hangs and/or takes several minutes to load. My iPod, which is also new, sometimes cannot even connect to it (error).*
    *HP scanning software takes minutes to open. Once the scan is ready to be saved, it takes minutes for finder to even offer the option to name the new file.*
    *Almost all the software on this thing starts up painfully slow.*
    *IMPORTANT: I have noticed that the machine runs almost all right immediately after a restart. The longer it runs, the worse these symptoms get.*
    *ALSO IMPORTANT: -- I had been running Boot Camp on the machine, allowing me to boot into Windows XP. Recently bought Parallels and ran that. While this Mac never ran great, the problems seemed to get markedly worse at that point. I have since, out of desperation, removed Parellels completely, but the problems persist.*
    *I am, of course, sick about how much I am paying for this machine that is supposed to be the best available and it about as useful as a boat anchor. WHAT SHOULD I DO!?*

    George, I feel your pain. I too have a maxed out Mac Pro;
    Mac Pro - 8 Core (Dual Quad-Core 3GHz)
    16GB RAM (Crucial Memory)
    4x 750GB Drives
    ATI 1900x Vid Card
    2x 30" Cinema Displays
    etc etc etc .... I even have a 2-port eSATA cables installed (OWC) with a 1.5TB external drive (Iomega, and fast as the dickens!)
    My machine has been in the Apple repair facilities THREE times so far (I am working with an executive relations person for 3 months now) and we are about to swap it out for a new machine because the term "ghosts in the machine" apply to many Mac Pros. In fact, the last time Apple fixed this machine was yesterday, replacing a bluetooth module, and as soon as I booted the machine it started having kernel panics (for the first time), we thought it was the RAM Riser cards being seated wrong... after making sure everything was seated properly, and doing a complete OS reinstall, it is still kernel panic-ing every hour (if I let the machine sit quietly)...so, there is a ghost in this machine that does not want to go away.
    To get your situation though, MY machine has ALWAYS been much slower than the dual-G5 I replaced last April. You are not alone here. This is an 8-Core machine, ran Tiger slow and is now running Leopard only about 20% faster, which is still slower than the G5. Makes me want to cry sometimes because I paid, what, $1300 for the processor upgrade alone?
    Something is wrong with your machine. I suppose you have already tried to reinstall, reformat your drives, correct permissions, etc and still found your machine wanting in the ways of speed, right? What you need to do is to contact Apple Executive Relations and tell them what is going on. Once they see that you ordered such an expensive machine (no one buys extra RAM from Apple so they will sympathize right there!) they WILL contact you and work with you until your problem is solved. The only reason they have not replaced MY machine yet (they will usually do so after the 2nd or 3rd repair attempt) is because in my case I cannot afford the downtime. Now, however, I think we have to because no one can figure out why this machine is having panics after sitting still for an hour.
    Anyway, be assured this is NOT representative of Apple or the Mac Pro speed. Mac Pro's are plenty fast, and unbelievably fast with newer, Intel-based software (CS3), and even though Leopard has many many bugs it is faster than Tiger. My partner has the same machine as I do and it is so fast I think it does most of his work before he even arrives in the morning.
    Work with Apple, let them fix your machine or replace it. They will.

  • My machine has gone dead slow. I have to wait for minutes to perform every single function. Like it stopped typing four times during this question.

    My machine has gone dead slow. I have to wait for minutes to perform every single function. Like it stopped typing four times during this question.

    If this started happening without your having made any changes and without a warning of low disk space, then it's likely that the boot drive, or some other hardware component, is failing. Back up all data immediately, then run the Apple Hardware Test or Apple Diagnostics.
    Even if the test is negative, you should make a "Genius" appointment at an Apple Store to have the machine tested more thoroughly.

  • After WAAS deployment network is dead slow

    Hi All
    After deploying WAAS , i.e. WAE-302 module in Cisco 2811 Router on core and edge with default setting and running wccp on the router , network is dead slow .
    Core and edge network are connected with dedicated 2MB lease line.
    License is Transport.
    I can see traffic optimizing on WAE core and Edge but netwrok is dead slow.
    Any suggestions.
    Regards

    What was changed on the routers during this implementation? Only configuring the module, enabling wccp 61/62 and enabling redirection on the LAN/WAN interfaces?
    Were additional routes added? Is it possible a routing loop was introduced? Do you see a reasonable number of connections on the WAEs?
    I suggest looking at the following to see if any problems are indicated:
    On the routers:
    show ip wccp - should see most packets redirected via CEF
    On the WAEs:
    show wccp gre - look for any high counters that don't look right
    type-tail syslog.txt 50 - look for messages indicating possible problems

  • After ios7 update my iphone is like android os dead slow processing , too fast battery drain,calling process is too low where is apple brand going my friends 11 members using iphone all are got this problem one thing fans like me y they spoil his name ??

    after ios7 update my iphone 4 is like android os dead slow processing , too fast battery drain,calling process is too low where is apple brand going my friends 11 members using iphone all are got this problem one thing apple have unique and unique fans like me why they spoil their name like this update iam too disappointed iam not say for oppose apple iam say for feedback to grow apple in world because i love apple more please solve it
                       by real customers
    iPhone 4, iOS 7, iam apple suporter

    please help me after ios7 update my phone is tooo slowww i want my old iphone                         

  • Wrong selection of number of processor in advanced boot option. system became dead slow.

    hello sir,
    i have acer aspire v3-571g laptop with windows 8.1 x64 based OS. Processor is Intel Core i5.
    To get a faster booting, i selected 2 processor instead of 1 in advanced boot option (msconfig) by mistake and now my laptop become dead slow on booting and startup. 
    I am in a big headache now...
    Please help a hand to solve this issue...
    Thank you..

    Nishaf
    Cross posted on Microsoft community.  Like I told you there go back into msconfig and select one processor.  I dont suspect that either change is responsible for the slowness.  Did you do anything else?
    Wanikiya and Dyami--Team Zigzag

  • Clean installed mavericks but it is dead slow now

    I recently bought an old Macbook pro. It had previously installed with 160GB(7200rpm) of hard drive.
    I updated this with mavericks 10.9.3 . And it was perfectly fine. rather super perfectly fine. Yesterday I upgraded its internal Harddrive with 320GB from my other laptop because I needed more space for my tutorials and data etc.
    I installed mavericks on my newly installed HDD320GB(5200rpm). using USB8GB-2.0. Now my MBP is dead slow.. I installed mavericks, 3 times, but still slow slow and dead slow.  It took 6 mintues to boot. previously about 4 ~5 hrs in installation..
    After booting, I checked in Activity Monitor. and i see CPU on the bottom says.
    System: 1.21%
    User: 0.95%
    Idle: 97.XX%
    But If i keep staring on this It varies but still Idle is around 92% ~ 98%. and sometimes 45% to 70% I don't know which application is consuming my processor..
    And If I open any application during this Activity MOnitor process it show fairly used processor like. idle is about 80%. But still every application responds too late.
    Luckily I didn't remove mavericks from the older 160GB HDD. I booted my computer from that HDD as using external USB converter. But this time once again may macbook pro is super fine. It booted in 18seconds around. every application works great.
    I want the same speed on my internal HDD, what is the problem...
    I don't know what's wrong either with my newly installed 320GB-HDD or what.?
    I'm using
    2.5Ghz Intel Core 2 Duo
    4GB- RAM,
    NVIDIA GeForece 8600M GT 512 MB
    OSX 10.9.3
    Can somebody please tell me the solution, what's wrong with it.? I'm almost crying :(.

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

Maybe you are looking for

  • How can I move my web page to a site other than .Mac?

    I've been using iWeb to create my school's website and I would like to expand it and move it to a different host under my new domain name. iWeb doesn't have an FTP client, so what options do I have? Can I somehow make iWeb direct my page to my new do

  • Nano6: Remember what songs in shuffled playlist have been played after turning off?

    If I'm listening to a playlist on my Nano6, and it's set to "shuffle," if I pause and then turn my iPod off, will it "remember" which songs in the list have already played when I turn it back on? Or will it shuffle through even those songs already pl

  • Photoshop Elements 9 - Can`t import MP3 file to slideshow.

    I get the following message when trying to import an MP3 format audio file to a slideshow with Organizer 9.  "The selected file cannot be played because your system does not have the required compressor/decompressor(codec) installed."  The file plays

  • Lost iphoto

    I had the HD changed in my ibook G3 and lost iphoto that was on it. I cant figure out where or how to put it back on the computer. Is it on the original disk that came with the machine. I sure dont want to screw things up, it took me a year to get th

  • Documentation about Developer 6.0 (Forms)

    Can anyone provide me of Links or manual about Forms 6.0, in order to deploy a well structure application using this tool. I'll appreciate any help. Thanks. PD. Answer could also be sent to the following address [email protected]