Lenovo X240, only 1,6GHz CPU speed

Hello, I have a Lenovo X240 that should have 2,29GHz cpu speed.If I look in Computer properties and System I can see this info: Intel Core i5-4200 CPU @ 1,60GHz 2.29GHz. CPU-Z only shows 1596MHz at Core speed. Any ideas?

user551 wrote:
Where can I see how much CPU that is used when I run video playback?
I tried cpu-z but that is only showing 1,6GHz.
I use System Explorer. After installing it just place your mouse cursor over the SE icon in the system tray. That will bring up a status window that shows, among other things, the CPU speed.
Incidentally what size AC charger are you using? Some ThinkPads will not run at full speed unless they're powered from AC using a 90W charger. 

Similar Messages

  • Lenovo X240, only 1,6GHz cpu

    Hello, I have a Lenovo X240 that should have 2,29GHz cpu speed.If I look in Computer properties and System I can see this info: Intel Core i5-4200 CPU @ 1,60GHz 2.29GHz. CPU-Z only shows 1596MHz at Core speed. Any ideas?

    > I have found other people with the same problem but cannot seem to find a solution
    Please use search option on this forum and you will find enough topics with very precise explanation why the notebook runs on 598 MHz only.
    I can say just one thing: it can not be that notebook runs like this from the first day. If your friend sold you this notebook he conceals something from you. Anyway contact nearest service partner in your country and they can fix this for you.

  • Lenovo Twist i7 CPU Speed

    Hi all,
    I was studing the difference between the Intel i7-3517u and the i7-3537u. Both propose almost equal performance.
    I noted that my i7-3517u only show as maximal speed 2.4GHz, how you see in this image:
    Link to picture 
    However I found in the Intel Intel i7-3517u specifications that the maximum speed of the processor is 3.00 GHz and in the specifications of my machine too.
    Anyone have an idea why this difference? This is normal? It is possible to obtain the correct maximum speed of the processor?
    Thanks for your answers,
    Emilio
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

    cwinterb wrote:
    CPU-Z reports this on my Y2P:
    SpecificationIntel(R) Core(TM) i7-4500U CPU @ 1.80GHz
    Core Speed 2692.6 MHz
    Which is a bit weird but shows it is running at 3GHz in High Performance mode.
    See above.

  • LCD in Lenovo X240 Model Type: 20AM-S07V00 - S/N: PF-00M2FK

    As at the title, can anybody tell me what kind of the LCD is in Lenovo X240 Model Type: 20AM-S07V00 - S/N: PF-00M2FK. I means if is it IPS or TN?

    According to the wiki adding rcutree.rcu_idle_gp_delay=1 as a kernel parameter should mitigate this:  "NVRM: GPU at 0000:01:00.0 has fallen off the bus."
    https://wiki.archlinux.org/index.php/NV … iled.21.29
    Adding nolapic stops my monitors from going black, but then I only have one cpu core, and probably other problems...

  • Re: helix CPU speed stuck at low clock speed

    Admin edit - Reorganizing this thread slightly as we are actively investigating the symptoms being discussed here.  Several different low end clock speeds of 600-800mhz are being reported capped under a variety of circumstances - sometimes cold boot, sometimes after suspend / resume or dock / undock
    motku wrote:
    Same here (helix ci7), after suspend and wakeup when CPU slows down ist get stuck at 750MHz and dose not recover untill reboot. 
    Before the BIOS update I could unplug the AC adapter and work with full speed on battery.
    I have the exact same issue.  It is quite annoying.
    Solved!
    Go to Solution.

    Mark, theres more.
    I found a "pseudo  workaround" of this problem and hope this could lead to the real workaround.
    What helped - installing win7, lenovo power manager, change power plan to other and change back to previous)
    I tried to do some research and what i found:
    In normal Lenovo power manager wheres 2 options in power plan:
    System perfomance (Maximum turbo, Turbo, Balanced, Low) (lets call it PERF) and Optimise fan control to (Maximize perfomance, Balance all parameters) (lets call it FCNTL.
    In theory FCNTL must control only fans, like table of data cpu temperature/fan speed. But in reality it affects CPU speed.
    Only way to make PC always select speed from lowest to highest is to set PERF=Maximum turbo or Turbo, FCNTL=Maximize perfomance.
    Lets go through options how they really works in practice:
    PERF
    Maximum turbo and Turbo are equal, means highest speed for CPU with turbo boost. The level of turbo bust is always maximum, Turbo didnt mean "slow turbo boost".
    Low - cpu always at lowest speed 800mhz - thats ok.
    Balanced - this option works a little crazy. In some situations it means "maximum cpu till 63C", in some situations it means "lowest speed, temperature doesnt matter. Why is it working in different ways but in same settings i dont know.
    In theory Balance is something like "from lowest cpu speed till normal cpu speed, no turbo boost", but it doesnt work like that at all.
    FCNTL
    Maximize perfomance - in theory it must be "try to keep CPU on lowest temp when high load"
    In practice its like "Balanced in PERF" - logic is unknown.
    Balanced - the same, logic is unknown.
    Unknown really means, that when i, for example, setup  PERF=Maximum turbo or turbo and FCNTL to Balanced, sometimes it works in full speed and sometimes not.
    Maybe there is logic, but it tottaly unknown to users.
    The bad thing is that theres no way i can set mode "always run cpu from lowest speed till highest speed without turbo boost, 800-1800mhz".
    By the way, there is some error in Lenovo power manager - when i change options in power plan and click "apply", sometimes they a apply, and sometimes not. If not, i need to select other power plan, and then select the needed one back.
    Now about how this all can happend. I'm not shure that i'm right, but logically it is:
    In Lenovo power manager theres option called "Optimise fan control to". And, there is NO such option in real windows power plan, so, it can be only changed through Lenovo power manager. As i see, this option affects maximum cpu speed. So, lets say, if this option is "damaged" some way, theres no way it can be fixed in windows 8, because Lenovo power manager for windows 8 has too few options, and native windows power plan editor doesnt have this option at all. So, when i done "something" in Lenovo power manager for windows 8, it changed that setting and all ruined.
    Sorry for my bad english once more, hope you can understand what am i trying to say. Looks like we have 1) an error in power manager for win8 and 2) incorrect power option logic, or "specific" logic without a manual.
    The strange thing, that in BIOS we have this options too. But changes in BIOS doesnt affect this at all.
     P.S. by the way, when i got my helix, dock battery was having "wear level" = 1%. Now, after 6 days (battery info 5 cycles) it has "wear level" = 2%. Is it normal, or battery is bad?

  • Kubuntu 14.04 + Lenovo X240 + Thinkpad Ultra Dock 90w - multiply display

    Operating system - Kubuntu 14.04
    I have Lenovo X240 two Dell monitors connected to DP1 and DP2 of the Thinkpad Ultra Dock 90w.
    Now it works only in next modes:
    Two connected monitors works in clone mode (each 1920x1080).
    Two connected monitors works as one big monitor with 3840x1080 resolution.
    So, looks that both monitors are connected to "DP2" output of the xrand.
    Are anybody know how to force to work two connected monitors in 'extend desktop' mode, so each should be 1920x1080 but no clone?
    Output of the xrand is below:
    Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
    eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm
    1920x1080 60.0*+ 59.9
    1680x1050 60.0 59.9
    1600x1024 60.2
    1400x1050 60.0
    1280x1024 60.0
    1440x900 59.9
    1280x960 60.0
    1360x768 59.8 60.0
    1152x864 60.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI1 disconnected (normal left inverted right x axis y axis)
    DP2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
    1920x1080 60.0*+
    3840x1080 60.0
    2560x1024 60.0
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    HDMI2 disconnected (normal left inverted right x axis y axis)
    VIRTUAL1 disconnected (normal left inverted right x axis y axis)

    Seems that there is no solution now, because DP MST should be implemented in Linux: https://bugs.freedesktop.org/show_bug.cgi?id=72795

  • Program taking up all of CPU Speed

    Hello,
    I have been lucky not to have to use the forum, until now. I recently installed a program called Garage Sale. I decided not to use it and deleted it (drug it over to trash from the finder window). Well,(now at least a week later) I turned on my computer this morning and it was running really really slow. I was finally able to get into the activity monitor and was able to find the problem. A piece of Garage Sale was still running (Garagesalehelper) and it was taking up to 65 - 80% of my CPU Speed. How to do I get rid of this thing? Thanks for any and all help.
    Imac G5 Isight 512MB 180GB HD 10.4.9   Mac OS X (10.4.9)  

    Welcome to Apple Discussions, JoeCat24
    To stop the offending process immediately, you can highlight "Garagesalehelper" in the main Activity Monitor window and then click the red "Stop Process" button. However, this fix is only effective until you restart your Mac or the application.
    To get permanent relief, you must properly uninstall Garage Sale.. I do not use Garage Sale, so I cannot give you specific, step-by-step instructions. You will need to find the proper uninstall instructions. Some applications come with an uninstaller. Others list all the files that must be removed along with their locations
    If you still have the Garage Sale installer or Readme files, check there to see how to properly uninstall. If you do not have this information, you may need to download the installer again to see if uninstall instructions are available there. Sometimes it is simpler to reinstall the application and then use the Help files to find out how to properly uninstall.
    If none of those things work, I suggest that you contact the software developer and ask him for instructions on how to uninstall his app.
    If this GarageSale is the app causing your problems, the developer offers email support via his "Contact & Support" link.
    Jim

  • IMovie only using 50% CPU power

    Hi,
    When I export my project in iMovie my CPU usage holds at 50%. I accept this does mean I can do other things but would like the export to go faster.
    Is this usual for iMovie to only use 50% CPU (and only about 1gb of RAM (of 8gb)) or do I need to do something?
    New to Macs so any help appreciated.
    dcbevan

    Hi
    As I get it - Doesn't iMovie take full use of multiple core processors. Not even Pro
    applications does this to 100%
    BUT
    RAM - iMovie or FinalCut are not that RAM hungry - 1 to 2 GB would be OK
    Free Space on Start-up hard disk - VERY IMPORTANT
    • 25Gb my minimum for iDVD
    • 10Gb my minimum for iMovie
    • 5Gb and iMovie runs slow and instable
    • <1Gb and iMovie might not run OK at all
    Other applications running in paralell - results in bad performances
    • Energy Saver
    • Do not spinn down hard disks
    • Use of USB/USB2 external hard disks = Slow and bad performances especially when getting full
    FireWire or internal e-Sata performs best.
    • Screen savers - may be (by directing it to an empty folder - I got the feeling of slight increase
    in performances)
    My list on howto speed up iDVD Slightly - might also applie on iMovie.
    *Speed up iDVD*
    To speed up iDVD
    TO GET IT TO WORK SLIGHTLY FASTER
    • Minimum of 25Gb free space on Start-Up hard disk - if less than 5Gb slow and unstable - less than 1Gb might even not start.
    • Choise of encoding method will give very different productions speeds. On my d-G5 2GHz
    *Professional Quality (movies + menus up to 120 min.)* - BEST
    Takes about 2 x times the other ones - but if quality is of essence
    (Quality might be as good as or even better for movies under 60 minutes - by using Best Performances BUT not for movies up to 120 minutes)
    2 hour movie + menu = about 4 hours to encode at it’s best on my system
    *Best Performances (movies + menus less than 60 min.)* - High quality on final DVD
    1 hour including menu = about 1 hour to encode
    *High Quality* (in iDVD08 or 09) / Best Quality (in iDVD6) *(movies + menus up to 120 min.)* - slightly lower quality than above
    2 hours including menu = about 2 hour to encode
    • Use an as simple DVD-menu possibly without any animation at all. This reduces processing speed dramatically. I use ”Old Theme - and Brushed Metal” and animation turned off.
    • An as fast Mac and as many cores/CPUs possibly. My PowerMac G5 has two CPUs and iDVD uses about 120% = use more than only one CPU/Core. How many it can address I don’t know (anyone ? )
    • If possibly - Use two internally e-Sata drives - Drive access takes a great deal of time
    else FW-800 or FW-400 or USB2 or network storage (slowest and near to useless)
    to work on one (internal, boot, Mac OS, Start-up hard disk - will be BAD - and slow
    Normally my d-G5 2GHz takes about 2 x movie material when iDVD and Mac OS on one internal HD and material is on the other internal one.
    Now with material on an external USB2-drive and an external Lacie FW-400 as Start-up drive material of about 1.5h will need about 4-6 hours to get encoded and burned to DVD.
    Choise and use of hard disks is essential.
    • I guess that a Solid State Disks might improve speed
    • No other programs running in BackGround eg EnergySaver, Internet, AirPort, Bluetooth etc.
    • Don’t let HD spinn down or be turned off (in EnergySave)
    • Move hard disks that are not to be used to Trash - To be disconnected/turned off
    • Goto Spotlight and set the rest of them under Integrity (not to be scanned)
    • Set screensaver to a folder without any photo - then make an active corner (up right for me) and set
    pointer to this - turns on screen saver - to show that it has nothing to show
    • If Mac with only place for one internal hard disk. Then I would try to use an external FW (Mac OS Extended) one as Start-Up hard disk and store material on the internal one.
    eg iMac or ProBook or alike.
    from Karsten -
    • I assume that resolution and codec of source is another factor ... scaling (e.g. 1280x720 to 720x576 = that is an 'un-even' calculation). or, a difference in speed reg. to h264, dv-stream or aic as input ....
    Yours Bengt W

  • Minimum usable CPU speed for Photoshop Elements

    It has a CPU described as:  A4-5000 APU with Radeon (tm) HD Graphics 1.5 GHz.
    Windows 8.1 operating system.
    Will I be able to use Photoshop Elements on this?

    I know about the min specs. The reason I'm asking if it really checks the CPU speed is I have a school that *is* running Premiere Elements 10 on the exact same hardware. Same CPU. The only difference is the new version I'm trying to install is the volume license version, part of the Adobe Digital School collection. The school that already has it running is using Premiere Elements 10 with either separate licenses or some other license setup. So it doesn't make sense why it worked but doesn't now.
    Testing today. On my test PC, a Core 2 6300 XPsp3, the setup would start up OK using the non-VL installer, but fail when I tried to use the setup.exe from the new installer. As far as I know the program is the same, but I don't think I can do the XML customizations needed to do a silent installer on the non volume licensed version of Premiere Elements 10. In short, why does one version of PE 10 install but not the other?
    Sir_Timbit

  • Lowering CPU speed to a minimum

    Hi,
    How do I set the processor in my MacBook Pro to always run at the lowest speed? I can't find any settings to lower cpu speed?
    Why? So that when I'm surfing, I can get the maximum run time out of my battery.
    PC's have an Intel speedstep utility that allows you to set the speed to as low as possible and keep it there. Does something like this exist for my MacBook Pro?
    Thanks, William
    MacBook Pro   Mac OS X (10.4.7)   2 Gb Ram

    Hello, there is a way:
    Open your System Preferences, go to Energy Saver, Show details, and there select Better Energy Settings. It's not necessary a CPU speed reducer, but you get more battery time...
    The only way to reduce the CPU speed is to unplug the baterry, and run from the power adapter, which, I guess, it's not what you want.
    CHeers
    PS. Mark this topic as answered when satisfied with the answers.

  • Tecra 8100 CPU speed 450 Mhz?

    XP professional sp2 clean install
    Power saver: Full power, Processor speed: Full
    BIOS 2.50 set up to Full power
    Speed measured with: EVEREST Home Edition and Intel(R) Processor Frequency ID Utility Release 7.2
    How to install XP on this comp to run in full speed?

    Hi
    Like Jaba said try to check the BIOS options.
    Furthermore as far as I know if the mainboard was replaced and no diagnostic test was executed so the CPU runs only with a 600Mhz speed. Well Im not sure if it is a same issue with your unit but its not wrong to check this possibility.
    Regards

  • How to check CPU speed, remove or install softwares? I'm a newbi

    Hi all,
    I just purchased my MBP yesterday. I'm totally new to this machine. I don't know how to see CPU speed, RAM, or other hardwares on this computer. Also, I don't know if the apple button use for what? I press "apple" and nothing happens. Last, could someone tell me how to optimize the computer? I had 80GB but now I have only 57GB availble. I don't know why this MBP uses so much space.
    Thanks again for all your help. I will have more questions for you
    P/S: I couldn't find these info by search.

    Hi y - Welcome to Apple Discussions!
    Hi all,
    I just purchased my MBP yesterday. I'm totally new to
    this machine. I don't know how to see CPU speed, RAM,
    or other hardwares on this computer.
    click on the blue apple in the upper left corner of your display (a drop menu will open) then click on About This Mac.
    a window pops up. some basic system info is shown there.
    for all the add'l details, click on More Info...
    that will open up the System Profiler which lists everything hardware- and software-wise...
    the System Profiler is also sitting in Applications > Utilities, and you can also start it by double-clicking on its icon there..
    Also, I don't
    know if the apple button use for what? I press
    "apple" and nothing happens.
    the apple button on the keyboard is a "command key".
    i.e. most applications will quit if you enter the key combination apple+Q.
    save is apple+S, and so on.
    Last, could someone tell
    me how to optimize the computer? I had 80GB but now I
    have only 57GB availble. I don't know why this MBP
    uses so much space.
    fairly typical. the default installation process writes language
    localizations, many many printer drivers, and other things
    you may not need. you can use the application monolingual
    to remove language localizations that you don't want (download
    it from versiontracker). printer drivers are generally smaller,
    but some like keeping that to a minimum...
    also if iLife is installed including GarageBand - there might be some GB of
    'garageband loops' you might not need.
    so, all in all, how much you might be able to clean up depends on how
    you want to use your machine... post back w/ any details if you like...
    Thanks again for all your help. I will have more
    questions for you
    P/S: I couldn't find these info by search.
    enjoy your new machine!!! cheers

  • Detection Error 2100 - M500 SSD in Lenovo X240 laptop

    I have a new Lenovo X240 out of the box.  I immediately upgraded with a Crucial M500 SSD 240mb drive.  The computer is running a fresh install of Windows 7 64-bit. The BIOS on the laptop is the most current.  The firmware on the M500 is the most current.  It seems that every several times I start or reboot the system I receive "DETECTION ERROR 2100".  After powering off the machine and powering it on again the computer will boot to Winddows. I have seen numerous posts about this issue between Crucial vs. Lenovo.  I've tried every suggested fix to no avail.  I have tried the configuration using an identical, brand new M500 SSD with the same results.  Am I missing something?
    Thanks in advance for your suggestions,.

    Hello mrtree and welcome to the Crucial forum. I spotted your post yesterday and spent some time Googling for info from the Lenovo support forum last night. I found several things you are probably aware of. First, this Detection Error 2100 is not limited to just the X240 series laptops, there are quite a few other models affected in the same way. Second, it is not limited to only Crucial SSDs, there are people with Samsungs, Toshibas, Intels, and even conventional drives that have experienced this same problem at system boot. These two observations indicate to me that problem is probably related to BIOS/firmware/driver issues. Since you have stated that you already installed the latest BIOS(v. 2.23?) and firmware(chipset v. 9.5.22.1760?), that leaves one area: drivers. From what I can see, the latest Intel RST drivers available are version 12.8.10.1005, dated 1/26/2014. Please be aware that there are seperate downloads for 32 and 64 bit systems. There is also a Solid State Drive Firmware Update Utility listed, but I do not recommend using it since Crucial M500s are not listed in the "Read Me" notes. Which brings up the question of SSD firmware, do you have the MU03 or MU05 firmware installed on your Crucial SSDs? Also, just to double check, do you have AHCI mode enabled in your BIOS settings? You'd be surprised at how many people overlook this. I suppose that Lenovo will get around to releasing updated software addressing this issue, as they have for the other brands of SSD drives, it's just a question of when. Edit: Two more things I thought of after my initail post. First, did you order your M500 directly from Crucial? When I ordered the M500 for my Lenovo T400 Thinkpad, I went to the website and used the advisor to find the M500 part number for my machine. I called to order several days later, and when I gave the part number to the customer representative, she immediately replied "that's for a Lenovo T400, correct?". That tells me there is a part number that is specific to the T400 series, and this may also be the case with the X240 series. Ordering from an online retailer or purchasing the M500 from a store may not have given you the correct part. Second, does your machine have Intel's Management Engine firmware installed, and do you have it enabled? Try entering BIOS and disabling it, just to see if this problem persists. I've noticed that on my T400, when I boot from the DVD drive or a USB stick, I see a brief warning message from the Management Engine stating that I'm not using the normal boot device, but then my machine boots regardless. Perhaps it's causing some sort of grief for your machine.

  • G505s slow CPU speed whilst charging.

    This is terrible, by using CPUz i can see that, whilst the laptop is charging, the clock speed drops down to 900mhz and fluctautes between that and 1400mhz, this is shocking, i can hardly watch youtube videos or even post this thread, the lag and slowness is unbearable. When running on battery power the CPU speed shoots up to 2500mhz and stays there,it never seems to go to its turbo speed either. Please lenovo fix this problem as soon as you can, whilst charging, the laptop is unusabe, i cannot do anything on it.
    FIX THIS PLEASE!
    Solved!
    Go to Solution.

    hi grisleyt,
    Thanks for posting!
    Can you try opening, Control Panel / Hardware and Sound / Power Options.
    On you preferred plan selected click on"Change Plan settings"
    Now click on Change advanced power settings
    Now go down to Processor power Management and Make sure both Plugged in and On battery are set to 100%
    link to image
    hit "Apply" then check the performance again.
    Hope this helps,
    Cheers!
    image(s) >50k converted to the links
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Performance - Threads - Sys Resources = What's the CPU Speed n RAM ?

    Hi all,
    I am writing a small program based on quick port scanning (pure Java). For that purpose I'm using threads to make the connections. I am using multiple threads in parallel. While running 64 threads theres a 10% CPU usage whereas on 128 threads theres a 60% usage (On AMD 500 Mhz).
    Now obviously I dont want anybody with a 233 Mhz running my program with 128 threads and surely not the one with 1 Ghz being limited to only 128 threads. Thats why I need to find out the clients resources like CPU speed, total RAM etc. How do I do that ?
    Someone suggested using JNDI for windows registry. I'm not sure how to do it that way. (if anyone can provide me a little code?) Is there another way round to this problem?
    Any help appreciated.

    My friend
    please try to understand the problem here is not of OPTIMIZATION OF THREAD SERVICES but the OPTIMAL NUMBER OF THREADS TO BE USED at certain processor speeds.
    fine I agree about different performances of processors (pentium 1Ghz != AMD 1Ghz)
    but surely (pentium 1Ghz ~ AMD 1Ghz ~ other 1Ghz).
    and anyway in my program I'm taking the performance margins by 200Mhz to be on the safer side
    i.e.
    x1-x2 no of threads for say 300-500Mhz,
    y1-y2 no of threads for 500-700Mhz,
    z1-z2 no of threads for 700-1Ghz. Get the point.?
    Heres an incomplete example of my prog (if now anyone can make out a fair idea of the problem) :
    import java.net.*;
    import java.io.*;
    class QuickPortScan
    public static void main(String args[])
    long tstart,tend;
    ScanThread scant=null;
    String name=null,ok=null;
    /* int tnum; This is the number of threads I want to calculate */
    System.out.println(" Quick Port Scanner BLAH BLAH BLAH!");
    System.out.print("-------------------BLAH BLAH BLAH!--------------\nEnter 'y' To Proceed: ");
    try{
    ok = new BufferedReader(new
    InputStreamReader(System.in)).readLine();
    if(ok.equals("Y")||ok.equals("y")){}
    else{ System.exit(0); }
         System.out.print("Enter The HOSTNAME: ");
         name = new BufferedReader(new
         InputStreamReader(System.in)).readLine();} catch(IOException e){}
         System.out.println("Scanning 65,535 Ports, Please Be Patient...\n");
    /* Now I would like to get the CPU speed here somehow
    and then calculate tnum and pass it as param below */
    tstart = System.currentTimeMillis();
    for(int i=1;i<=tnum;i++)
         scant = new ScanThread(name,i /* ,tnum */);
         scant.start();
    try{ scant.join(); }
    catch(InterruptedException ine){ System.out.println("Main Thread Interrupted!"); }
         tend = System.currentTimeMillis();
         double ttaken = (tend-tstart)/1000;
         if(ttaken>59)
         System.out.println("Total Time Taken For Scan: "+(ttaken/60)+" minutes.");
         else System.out.println("Total Time Taken For Scan: "+ttaken+" seconds.");
    } //END QuickPortScan class
    class ScanThread extends Thread
    String name;
    int port,tno;
    /* int nloop; This is the number of sleep-break loops calculated according to number of threads */
    Socket sock;
    static boolean scanFirst = true;
    boolean breakOut = false,breakIn = false;
    public ScanThread(String nm,int i /* ,int j */)
         name = nm;
         port = i;
         tno = i;
    /* nloop = (j * whatever + whenever - together); */
    public void run()
         for(int round1=1;round1<=32 /*nloop otherwise*/;round1++)
         if(breakOut==true){ break; }
         for(int round2=1;round2<=32;round2++)
    try{ 
    /* SOCKET
    CONNECTION
    IMPLEMENTATION */
         }     try{sleep(75);}catch(InterruptedException ie){}
    public synchronized void portInc(int open)
         if(open==1){System.out.println("Port "+port+" Vulnerable!, Scanning...");}
         if(port==16384){System.out.println("25% Completed, Scanning Further...");}
         else if(port==32768){System.out.println("50% Completed, Scanning Further...");}
         else if(port==49152){System.out.println("75% Completed, Scanning Further...");}
         port = port + nt; // nt is the NUMBER OF THREADS
         if(port>=65536){if(scanFirst==true){System.out.println("*****SCAN COMPLETE!*****");
         scanFirst=false;} breakOut=true; breakIn=true;}
    } // END ScanThread class

Maybe you are looking for

  • Blink while alarm on using shared variables with remote panel

    I am creating an application where I have front panel indicators data bound to shared variables.  I also set it up to have them blink when the alarm is on.  I am using the DSC module. This works great under the development environment.  But when I co

  • Running iLife 06 and iLife 08 together

    I was just curious - plan to buy an Intel machine early next year. Could I post things on my web site using iLife 08 on the new computer and also post things on the same web site using iLife 06, which will be left on the old computer? Or do I have to

  • Question - Document Open Password

    I am trying to print a document emailed by an insurance company.  Each time I try a "Document Open Password" is demanded.  I didn't know I had one! My softwear is Adobe Reader 9 manfortuny

  • Xml parser plug in

    Hi, I am in wls7.0 sp1. but my application use the sun implementation xml parser parser.jar. Can I still use it in wls7.0? Thanks

  • Too hot to use

    Hello Gang, For the last two weeks or so my MacBook Pro has become too hot to use. The bottom is so hot that I can not longer use it in my lap and the top, especially the left side gets so hot that I must stop typing. Also, the fans run continually.