Detect cpu speed and memory

hi! i'm a newbie in java.
i have a web project requirement that needs to detect the client's cpu speed and memory and diplays it on the webpage. could i do this in java applet? can someone direct to the right resources on how i would be able to do this.
thank u so much!

Aside from the System.capabilities class, I don't believe you
can get
anything more without using one of the wrappers like
Director, or Zinc.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Jdev11g CPU profile and Memory Profile doesn't work for Mac

    I'm running Jdev11g on Mac OSX 10.5.5,
    CPU Profile and Memory Profile doesn't work. I got following message:
    Error occurred during initialization of VM
    Could not find agent library in absolute path: /Shared/jdevjavabase11110/jdeveloper/jdev/lib/profiler16.so
    The file actually is there. I don't understand why they looking for .so file, it supposed to be mapped as .jnilib on Mac.
    This is broken on TP4 as well.

    I'm still seeing this issue. Here is what I get:
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -client "-agentpath:/Users/kamleshnanda/Downloads/jdeveloper/jdev/lib/profiler16.so=port=60950,jarpath=/Users/kamleshnanda/Downloads/jdeveloper/jdev/lib/profiler-agent.jar,enable=t,depth=1000,startup=connect,time" -classpath /Users/kamleshnanda/jdeveloper/mywork/MyJavaApplication/Project1/classes project1.Class1 Hello
    Error occurred during initialization of VM
    Could not find agent library in absolute path: /Users/kamleshnanda/Downloads/jdeveloper/jdev/lib/profiler16.so
    Process exited with exit code 1.
    I'm using the following build:
    About
    Oracle JDeveloper 11g Release 1 11.1.1.2.0
    Java Edition Version 11.1.1.2.0
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.2.36.55.36
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.2.36.55.36
    Version
    Component     Version
    =========     =======
    CVS Version (External)     (CVS) 1.12.13 (client/server)
    Java(TM) Platform     1.6.0_17
    Oracle IDE     11.1.1.2.36.55.36
    PMD     JDeveloper Extension 4.2.5.3.0
    Team Productivity Center     11.1.1.2.36.55.36
    Versioning Support     11.1.1.2.36.55.36
    Here are the JVM properties:
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_17-b04-248-10M3025
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.vendor     Apple Inc.
    java.vendor.url     http://www.apple.com/
    java.vendor.url.bug     http://bugreport.apple.com/
    java.version     1.6.0_17
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Apple Inc.
    java.vm.version     14.3-b01-101
    Here is the OS information:
    os.arch     x86_64
    os.name     Mac OS X
    os.version     10.6.2

  • K7N2GM-L 6777 BIOS doesnt correctly detect CPU temp and FAN speed

    Hello,
    I use a K7N2GM-L 6777 mobo with a amd 1800+ and a arctic copper silent 2tc.
    the mobo isnt able to detect the right cpu temperature and cpu fan speed in bios.
    did anyone experienced that problem??
    i already updated to the latest bios V1.6 but no change !!
    the cpu temp is shown about 6°C/42°F and the fan speed is 0 rpm !!!
    but the system temp is shown correctly (21°C/69°F (when i just started the system))
    any idea 
    greetz,
    fba

    Hello!
    It has been heard of before, yes, but your board is rather new so I don't think it has had an issue yet.
    There is normally a sensor on the processor. If it does on your processor I can't say. If there isn't a sensor on the processor, or if it is covered with thermal grease, or otherwise damaged, BIOS and all programs that read BIOS data will be wrong.
    Bit off: I'm speculating in that HSF, and I wonder how good and quiet it is. Been recommended by a store nearby.

  • Cpu speed and ilife08 - help needed

    help...tried installing ilife 08 on my powerbook g4, however can not install i-movie. may be that this requires intel cpu...currently system spec is Model Name: PowerBook G4 17"
    Model Identifier: PowerBook5,5
    Processor Name: PowerPC G4 (1.1)
    Processor Speed: 1.5 GHz
    Number Of CPUs: 1
    L2 Cache (per CPU): 512 KB
    Memory: 512 MB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.8.4f1
    ....does this mean i dont have an intel cpu...if so, can i upgrade...and any ideas on how.
    cheers

    According to the iLife '08 system requirements:
    "iMovie requires a Mac with an Intel processor, a Power Mac G5 (dual 2.0GHz or faster), or an iMac G5 (1.9GHz or faster). "
    When I installed iLife '08 on my PBG4 1.67GHz it told me that iMovie would not install. It did however, take me to the web to download the previous version for free.

  • CPU usage and memory

    What is FF doing when it sets at idle with nothing streaming , playing or such and uses 40-70% of CPU and memory usage keeps on going up. I just set there and watch in the task manager. Every other program uses nothing,
    There has to be a programmer intelligent enough to fix this. this has been going on for years.

    SImple fact is there is all "fixes" and answers are bogus. Just try using the same tabs in any other browser.
    Right now Opera is 2-3% idle no memory problems. other browsers are similiar and I will post.
    Mozzila is just like Microsoft . They have no desire to fix the problem

  • How to get statistics (or precise data) about cpu speed and RAM

    My problem is I want to determine the CPU speed of the computer is running the applet.
    I know there's no way to obtain in a simply (and standar) way this property, so I've thinked about generating statistic methods for do it (something like executing a loop a defined iterations)
    My doubt is what to put inside this loop, beacuse I would like to know just not CPU speed (or satistics about it), I need also free RAM statistics, so I've thinked there would be some specific java instructions to give a relationship of these data I need.
    My question is if someone has done (or has thinked about) this kind of classes before me, and can tell me what is the best way to make the same.
    Tanks

    http://www.javaworld.com/javaworld/javaqa/2002-11/01-qa-1108-cpu.html
    http://java.sun.com/products/jdk/1.2/docs/guide/jvmpi/jvmpi.html#hprof-cpu

  • Speed and memory update. . .

    Ok - I have posted a few times about my concerns over speed and how Lightroom appeared to be much faster for a specific task, etc. . but how I like Aperture for the data mgmt features, etc.. .
    Well, I am using Macbook (Core2 duo) and I got my memory upgrade (total 2GB) this week and what a difference it has made. Aperture runs wonderfully and I can actually use it with other programs running and there is little/no slow down. I can easily run with MS Windows via Parallel at the same time it is stable and fast.
    I am very happy . . .!

    Aperture's performance depends a lot on how fast it can read and write the numerous files contained in the library (or elsewhere on disk). If you can't improve your disk IO performance, or even in addition to doing that, you can help the situation by providing lots of RAM that the OS will use as buffer cache. On systems with slow disks (like laptops) this will greatly reduce the amount of real disk IO and speed up Aperture considerably.
    I've got 4GB of RAM and while I've never seen Aperture using more than 1.5GB, almost all of my RAM is used as buffer cache after I've run Aperture for a while.
    Cheers
    Steffen.

  • Sunfire V20z...general questions about VRM's, CPU's, and memory speed

    I've got a Sun V20z that i'd like to get going, but have a few questions. I've only got 1 memory VRM for the server, and 2 CPU VRM's. Can I run a single CPU until I find another VRM for the board? I was looking at going with an Opteron 248. Also, I've got about sixteen 1GB PC2100 sticks of ECC registered ram i'd like to use, but the docs say it only handles PC2700. Does that mean it can't handle anything FASTER, or simply that NOTHING other than PC2700 will work? I was planning on sticking my Opteron in the CPU 0 slot, along with 4 sticks of that ram. Thanks for the help, you guys helped me with my Enterprise 3500 server last fall and it's humming along great!

    Each cpu will need its own VRM.
    That is a necessary component, to regulate the voltage
    flowing through the cpu itself.
    Go ahead and run it on a single cpu for now.
    Install the second one when you have all the needed parts.
    I would expect your RAM to just fail to function.
    PC2100 memory doesn't clock fast enough for the system's memory bus.
    The V20z System Specifications page in the SSH notes
    that the computer is designed to use faster modules.
    I would expect you to observe errors immediately at bootup.
    If a system was designed to use PC2100 RAM and you install
    PC2700 mudules to the slots, they would work very well.
    Think of that as underclocking the RAM.
    However your circumstances are the reverse -- the computer's data bus
    would push your RAM beyond its design specifications.
    Perhaps others can also contribute their experiences with this.
    I've not had the opportunity to run a V20z, personally.

  • CPU Fan Speed and Memory Questions

    I"ve noticed recently that my fans sound a little different. When using aperture and sliding some of the image adjustment controls the fan will increase as I'm sliding the controls and stop when I stop.
    I've been monitoring with istat pro, and my CPU fan is almost always at 0, I've seen it not at 0 a few times but very rarely.
    Readings:
    Power Supply: 599
    Exhaust: 655
    CPU Fan: 0
    HD/Expansion: 499
    Temperatures seem normal except northbridge has always run a little hot since I got the machine. About 180F
    I did the hardware test and the message I got was:
    4MOT/1/4000002:CPU_MEM
    I'm assuming this means that one of my memory chips is bad but where do I go to find out what this code means? And does this mean there is no problem with my CPU fan or did the test just end when it found this error?

    Good news about the RAM. Have you checked to see if the fan is gunked up with dust and dirt or some other obstruction? Could free it up or be the source of a fan failure.
    A simple procedure is to reset the SMC (System Management controller). Here are Apple's instructions:
    http://support.apple.com/kb/HT3964
    The SMC has control over the fans. The reset won't do any harm but follow the instructions.

  • Suggestions needed on cpu size/speed and memory req's for ilife/gar. band

    as is noted, I've got an older ibook/processor, w/limited RAM. Suggestions on updates to present ibook g4 vs. purchase of new mac of same size?
    What have other OS X 10.39 users found helpful to speed up/free up space. I keep getting the message that i can't play a certain track(s) because of space/speed needs. any help you can give is appreciated

    Quote
    Originally posted by blue_heart
    the programs which going to run are mainly microsoft office programs,OE, IE, photshop.
    In this case, I cant strongly enough recommend LOTS of ram; you wont need a fast hard drive if you can hold the whole high-res image in core  I would also suggest you consider a trinatron monitor at 18" or so; so you can have purty 1600x1200 images (except for the dead line which trinatrons have) to play with; might make keeping cost under control difficult, but they *are* the only eyes you have got
    Your point about real time virus scanning and loading large files (later) is well taken; in light of this I cant fault your choice of hard drive (although there is a 72GB version available at the same speed, not cheap tho.).
    Quote
    IMO, dropping $30 from the graphic card and $40 from hard disk will not save that much to get critical component or get higher one, if i do so i can add $30 to get another stick of 512 ram, but i rather keep the HD and GC, and for now the capacity is not an issue for me
    Life in the US is good if such components are cheap; over here is Aus the high end graphics and disks are still BLOODY expensive whilst ram is relatively cheap.
    Indeed, going from the drive and gfx card you have to a 80gb ata-4 and a more basic gfx card would save ~250 AUD; which is another stick of 512MB PC3700.
    Lucky you.
    Anyway, in light of your comments, I cant strongly enough recommend RAM; but your other components seem good (I tend toward HP printers down here, but that relates to print reliability at high ambient temp and ink costs); Dont forget a GOOD PSU (many discussions about such, I recommend Antec TruPower 480W).
    Of course, I cant resist recommending you go linux, openoffice and GIMP (photoshop workalike); that would save you a LARGE chunk of cash to spend on better hardware (about ~$1200 bucks if you planned to buy XPpro, OfficeXP and Photoshop down here).
    err!
    jak.

  • CPU speed and hyperthreading

    Dear All,
    I would like to ask is there any deeper differences between for example an Xeon E3-1220V2 3.1GHz and Xeon Quad-Core X5450 3GHz in virtualizing?
    Because these cpus have high differencies in the price, and as I try to plan the required horsepower those seem the same the point of view of MHz.
    As I know the normalized speed is CPUcore x CPUfrequencies so the above two cpus have near the same normalized speed (4core x ~3Ghz)?
    Also I would like to ask whether the hyperthreading relevant to the vCPU calculating? Because the HT can improve performance 30% only certain situation.
    So I totally ignored HT capability in my calculating, however it seems 'doubles' the cpu.
    I'm calculating based on the normalized form: I have a xeon 4core 3GHz CPU in the old hardware so I have a grand total 4corex3000Mhz=12000MHz. I also measured that the OS using a total CPUpeak 60% CPU, while avg total 2%!!! .  So it seems the old system only use 12000x0.6=7200MHz at the peak load. Because of this I should have at least this 7200MHz in the new virtual system (and it can be a cpu with 2 cores 7200/2=3600MHz or a 6 cores 7200/6=1200MHz) and I sucessed in keep the CPU power. And HT is totally forgotten in this logic conclusion. Could you please confirm is this correct, or I made a big mistake somewhere?
    Thank you very much

    Thank you for your answer, however the two cpus were only examples. The question is without the architectural differencies (bus type, fsb, cache) and other capabilities, there is no difference between cpu-s in virtualization point of view if the normalized speed is the same? So there are cores and frequencies and multiply that two parameteres to compute the normalized speed is enough to compare the cpus (roughly), is it right? Or is there something other parameter (for example HT) which has high importance, and therefore I can change the calculation formula when choose CPU?
    So in one word the above mentioned exapmle with the 7200MHz is correct roughly speaking?
    Then in the next step I have to care the little pieces of puzzle, including that you answered (thank you) the HT and other EPT capabilities, cache size etc...

  • Speed and memory capacity

    My 2.4 GHz and 2 GB MacBook Pro, OS 10.5.2, purchased last November, is much slower with increasing photos and tunes, and I'm trying to determine how much capacity I have and how much is acceptable. I've been told I should have at least 25% capacity free -- is that true? The bottom of the Finder page tells me I have 24.71 GB available, as against 2 GB memory! Clicking on the apple and going to More Info, the Serial-ATA line under Hardware also tells me I have 24.71 GB available in my Macintosh HD, out of a capacity of 148.73 GB; but above that, my Fujitsu (under the Intel info) says I have 149.05 GB. Can anyone tell me how all this fits together, and does it affect my computer's speed or not?
    Thank you!

    Hello Nakoma,
    I'm afraid you're confusing two different things. The computer has a hard drive - HDD (Hard Disc Drive) which is where all of your data and applications are stored - think of it like a filing cabinet. It is a good idea to keep about 10-15% of this as free space to prevent disk errors. Your hard disk is 148Gb and has 24gb free - which is fine. If you would like to free some space, get an external hard drive as extra storage - this will plug into your computer or you can buy blank DVDs which are 4Gb each and burn data to them.
    Memory on the other hand generally refers to random access memory (RAM) of which you have 2Gb. This memory is not a drive but a chip or two chips and the computer uses these for short term storage whilst it processes information - a bit like a desk - the larger your desk the more things you can work on simultaneously. When the computer is started, it loads applications you are using into ram. Ram is much faster than a disk drive. The computer is very good at managing the use of ram, so when an application doesn't need to use ram any more, the computer makes the ram available to other applications. If you run short of ram, the computer will use some of your hard disk space as "temporary memory". If you close an application you can free the ram it was using.
    So having more ram means you can prevent your computer using the disk drive as temporary or "Virtual memory" as it is called. You can get up to 4gb of ram (this is two chips) and they are easy to install. If you'd like to get them I would recommend buying from Crucial.com. However, if in fact your use of the computer doesn't cause the computer to run out of ram then you won't see any benefit from 4gb over 2gb.
    The only way to tell is to look at ram usage over time. If you look in activity monitor (which is in the Applications/Utilities Folder - and click on the VIEW menu and DOCK ICON - change this to SHOW MEMORY USAGE. The dock icon will now show a pie chary with three colours. As long as there is some blue or some green showing you are not out of memory. Also, if you click on WINDOW/Activity Monitor at the top - and then select SYSTEM MEMORY - you can see how memory is being used. Look at the bottom where it says Page Ins and Page Outs - this is to show how much data has been written to the hard drive. As long as the ratio between the two is less than 20% or so, you are not running out of memory.
    I do hope you don't mind the long explanation, but it's important to note that memory (RAM) and Storage - Hard Disk Space are two different things.
    Hope that helps.
    Best of luck.

  • VIA KM4M-V motherboard CPU speed and AGP problem

    Hello. Please be patient I am not technical I would say I'm intermediate, so please if anyone is kind enough to help, please don't blind me with jargon! I have 2 problems I believe are motherboard related, I shall go thru them both. Any solutions/suggestions will be very gratefully received! Operating system is Win XP Pro SP 2 running 512 MB RAM (64 used at moment for onboard graphics)
    I purchased this mother board: VIA KM4M-V. I also purchased an AMD Sempron PR2600+ which should be showing a speed of 1833 Mhz, but is coming up as 1466 MHz. Does anybody have any info please? I have downloaded and installed all the latest deivers and BIOS for the motherboard, and the MSI live monitor says there are no new updates now. Is there something in BIOS I need to change? Or is this a mistake on the manufactuers part? If so, which one? LOL
    2nd problem: The onboards graphics weren't good enough for some games I had - it required an AGP card. So I have purchased an ATI Radeon 9550 256 MB AGP card. OK I installed this card. All OK starting up. installed drivers, restarted computer. Was OK then changed to 32 bit colour and change the resolution of screen. When I clicked apply went into energy saving mode. Rebooted. As soon as it went to boot into windows, the monitor went into energy saving mode. Once it didn't straight away and windows started then the screen went distorted then it went into energy saving mode. I went into safe mode uninstalled the graphics hardware booted into windows again and reinstalled looked OK then I rebooted and it did it again grrrrrrrrr I went and disabled onboard graphics (ATI said might be issue on their site) still won't boot. Something I am doing wrong? Is it the motherboard?
    I'm thinking that it is both botherboard ::koff:: I mean motherboard It's OK I mean it's better than what I had, but I know it's not what it should be! I am grateful to you guys for your help. Thanks very much
    Rachie

    Quote from: psywhizz on 16-February-05, 10:01:00
    More on this! I am running win xp pro sp 2 BTW. I have been swapping between the onboard graphics and the ATI radeon 9550 AGP card I just got. I have been disabling onboard graphics, then installing from scratch (all virus and programs off). As to power supply/amperes? I have no idea all I know is it's a 450 watt rating and has ummmm 230 on back (volts?) it's pretty new I got it like 5 months ago
    OK I can get it sort of working when I go into the BIOS and set it from 8x to 4x. The graphics advanced setting was showing 4x. The motherboard is SUPPOSED to support 8x but it just won't work at all in that mode. It works for awhile in 4x mode. No specific amount of time I have current drivers on everything! Then the same old thing happens! Monitor goes to energy saving mode or computer restarts. On restart can use it again for a limited time again, and then the mouse pointer kinda goes funny and it freezes. It goes pixalated and if I move it this 'block' goes up and down in a line only. Most of the time has been trying to start AOL (my ISP)  it goes off then. Have tried different rates (went down to 16 bit) and desktop sizes (went down to the one above 800x600) no go. I took the refresh rates to 60, tried everything. I have taken it out again.
    I don't know if it a motherboard problem, the graphics card or a combo! I just paid £54.99 for the graphics card, and don't want to waste it! What should I do. It's really frustrating!
    Rachie

  • Thankvantage Access Connections taking up CPU and Memory

    Well, it takes me a long time to boot up the computer after upgrading to Vista SP1. I opened up the task manager and it seems thinkvantage access connection(AcSvc.exe) is taking up at least 50% of the CPU speed and using up 1.8G of memory. Does anyone else have the same problem or nobody noticed? I thought it could be a compatibility issue so I used the system update and upgraded everything including the latest Bios.
    Does anyone knows the solution to this? Thanks. 
    T61P/7800 2.6G/4G RAM/NV Quadro FX 570M/160G 7200 rpm/WSXGA+/Intel Turbo Memory/Intel Wireless AGN/Vista Ultimate

    You might like to visit the following thread:
    http://forums.lenovo.com/lnv/board/message?board.id=Special_Interest_Utilities&thread.id=520
    Sushil
    ThinkPad T61, (7658CTO), T7500, Integrated Graphics, 320 GB HDD, 3 GB RAM, 1 GB Intel Turbo Memory, Vista (32 bit) Business

  • How to display CPU and memory utilization from ST06 in a report

    Hi,
    I want to display CPU Utilization and Memory utilization and File sys details from ST06 transaction in a report.
    Is there any function module or any other method to do that.
    Please advice.
    Thanks,
    Sandeep.

    Hi Ranganath,
    Thanks for your time.
    And thank you very much for the reply.
    Both the function modules are helpful.
    But can u also help me in getting the data of FileSys from ST06.
    Thankyou,
    Sandeep.

Maybe you are looking for