How can i retrieve resource information?

Hi!
What I would like to be able to do is be able through a Java program that I will make to find out the battery consumption of my laptop or some related variable. I don't know how to retrieve this information.. I would also like other information such as what programs are currently running on the computer that my java program will be running .. What I want to do in the end is to measure the available resources ... Any idea how to do that or where to look for ways of doing all that ?
Thanks a lot ! :)
Novelon

Thanks a lot bschauwejava for your reply.
I have been looking into it the last few days but I'm having trouble to actually find a way to do it.
I am trying to avoid to do it through JNI, so with runtime.exec() I can't imagine a way to do it other than dos commands which there aren't any for my case.
If anyone has any ideas on how I could do it or if you could point me in any direction that might help I would greatly appreciate it.
Novelon

Similar Messages

  • How can we retrieve the Payload information from B2B

    Hello,
    We are trying to send the payload information back to the client for a failed BPEL Transaction from B2B's b2b_instancemessage view. We are enqueing messages to IP_OUT_QUEUE using BPEL. We see the payload coming correctly in the B2B Business Message Reports. But we don't see the payload coming in the b2b_instancemessage view for failed B2B transactions. How can we see the payload in b2b_instancemessage view for failed B2B transactions as well? or How can we retrieve the Payload information from B2B?
    Any help is greatly appreciated! Thanks. - Sam.
    Edited by: user12049162 on Dec 4, 2009 2:04 PM

    I am not sure about the PDK API to get the group name. But using LDAP API its easy to get the User Group.
    If you find the answer to get the group name using PDK API, Please update in forum. It will really help others.
    --Balaji S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • HT201342 how can I retrieve my old files on important  and documents?informations

    How can I retrieve my old files on important documents and informations?

    Contacts and calendars are designed to be synced with a supported application on the computer or a cloud service like iCloud, Google, or Exchange.
    Has the device been used as designed?  If so, simply re-sync them.
    Did you actually allow the device to finish restoring after installing the update?

  • Satellite A505 - How can I retrieve the registration information

    I purchased a Toshiba A505 in March 2010. At this time I registered the product with Toshiba. This laptop has been stolen. How can I retrieve the registration information. Unfortunately I do not have the serial or product number.
    Thank you.

    Hi
    You should get in contact with Toshiba using the Stolen Units interface.
    http://eu.computers.toshiba-europe.com/innovation/generic/STOLEN_UNITS_SUPPORT
    Here you should go to point: *DEREGISTER*
    Hope I could help you.
    Greets

  • HT3275 how can i retrieve information from  time machine if my computer has less storage capacity? How can I access data that is on my time machine but can not be copied to a computer with less storage capacity? I used to have 180 GB, now I have 128 GB.

    how can i retrieve information from  time machine if my computer has less storage capacity? How can I access data that is on my time machine but can not be copied to a computer with less storage capacity? I used to have 180 GB, now I have 128 GB.

    Plug an external drive into the computer and use that to expand data onto.
    http://pondini.org/TM/16.html

  • How can I retrieve my password when the retrials email was not recoverable? I also can't use or pass the othere menace of recovery? Not being able to pass or answer the security questions?

    How can I retrieve my password when the retrials email was not recoverable either? I also can't use or pass the othere means of recovery? Not being able to pass or answer the security questions?
    I created a new ID but never being able to update the iTunes that were purchased/saved using the old id?
    I can't also delete.

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • How can I retrieve an Apple ID password when the Apple ID (email address) no longer exists?

    How can I retrieve an ex employees Apple ID password when she can't even remember it? Plus Apple ID used to her company email address, which no longer exists for her. Apple support says it will send an email to her so I can change the password, but I'll never get it, since her email no longer works, she is not with us no more. Help please! I need to pass this iPhone to another, new employee.

    You cannot retrieve her password. Note the Apple ID, in Apple's eyes, belongs to _her_.  It is not the property of the company.  If she wishes to reset the password, she can go to the Apple ID site:  https://appleid.apple.com/ and try and change it.  If she doesn't know the password and has no access to the email address it may prove challenging if she provided no backup email address.
    But I'm not sure this is the root of the problem.  If the iPhone is locked using "activation lock" and it's running iOS 7 then yes, it will need to be unlocked.  If your company has proof of purchase of the iPhone, you may wish to try contacting AppleCare.  Otherwise, she can release it by going to her iCloud page and disabling it.
    Some relevant resources:
    http://support.apple.com/kb/HT5818
    http://support.apple.com/kb/HT5927

  • I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info in apps) and reverted back to all my old data.  How can I retrieve all the lost data??

    I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info added to apps) and reverted back to all my old data (literally uploaded all of my old texts and 1400 old pics and deleted anything new).  How can I retrieve all the lost data?? Please help!!

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • Bought a new 4s and need to transfer photos from iCloud to new device. iCloud is giving me an old @me address. I do not have the email or pw  for the iCloud account. How do I retrieve this information? Thanks.

    Bought a new 4s and need to transfer photos from iCloud to new device. iCloud is giving me an old @me address. I do not have the email or pw  for the iCloud account. How do I retrieve this information? Thanks.

    If you need to change the iCloud ID on your new phone you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I need to wipe my computer clean. although I have the CD, I don't know the serial number. How can I retrieve the serial number to reinstall?

    How can I retrieve my serial number before wiping my computer clean. I want to be able to re-install the Creative Suite CS6 Design and Web Premium programs. Please help.

    Assuming you have Windows...
    Googling "Belarc Advisor" points to
    Belarc Advisor - Free Personal PC Audit, for software, hardware and security configuration information on your computer.…
    Run that and it will tell you everything you ever wanted to know (and more) about the insides of your computer, including software serial numbers.
    Takes a while to run: could be 10-15 mins. Just leave it to complete its job.
    Doesn't work on a Mac.

  • How can I retrieve videos which didn't transfer successfully to my Mac?

    I regularly download my photos and videos from my iPhone to Aperture for storage.
    In my latest download approximately 100 videos and photos did not download successfully - I get a message "unsupported image format".
    They were deleted from my phone as the message stated they had downloaded successfully (which they hadn't).
    I can retrieve the photos via my Photo Stream but how can I retrieve the lost videos?
    Thank you

    I hope, randers4 has more ideas.  You could try, if a different video application can play or at least open your videos.
    Download QuickTime player 7. It can frequently open videos that the newer QuickTime Player cannot play.
    (download here:  QuickTime Player 7 for Mac OS X v10.6.3 or later.)
    If your video opens in QuickTime 7 check the codecs and resource fork in the View > Show Movie Properties. This panel will show you, if your .mov files are empty QuickTime wrappers with a missing resource fork, or if a video is embedded and what the codec of the video is.
    If the wrappers are empty, I'm afraid, your videos are lost. Is the file size large enough of the revealed "2014-08-25 at 16-42-55.MOV" o contain a video file?
    Media formats supported by QuickTime Player

  • I have mistakenly deleted a mail folder which I had created. Can't remember if it was located to 'iCloud' or 'On My Mac'. How can I retrieve the emails contained in this deleted folder? Your help will be immensely appreciated!

    I have mistakenly deleted a mail folder in which I had created. I can't remember if it was located to 'iCloud' or 'On My Mac'. How can I retrieve the emails contained in this deleted folder? Your help will be immensely appreciated!

    Yeah not a problem. It does seem though that if you did not have a Time Machine backup then you may not be able to recover the deleted folder :/ But for future reference to prevent any of this, a Time Machine backup is a great investment.
    What it does is create an entire backup of your computer anything from personal information down to the screen saver.
    What you first need is a new external hard drive (I would recommend a 1TB or higher just to prevent running out of space soon).
    after that, just plug in the drive to your computer.
    once it is plugged in, in the top right hand corner, close to the wi-fi symbol, you should see a symbol that looks like a clock with a backwards arrow around it.
    click on that and select "open time machine preferences"
    just turn the button to the "on" position, and select the backup drive and Time Machine does the rest
    very great tool

  • How can we retrieve the name of the Parent Space from the subspace?

    We wish to use a hyperlink in a subspace template which allows a user to link back from the subspace to its parent space.
    This hyperlink should show the name of the parent space.
    These Expression Language Expressions return parent information, but they so not show the Name of the parent space or other details like the Parent Space URL.
    #{spaceContext.currentSpace.parent}
    #{spaceContext.space['bpo'].parent}
    How can we retrieve the name of the Parent Space?

    I agree!
    I can't top this approach.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I can't find half of my purchased movies in itunes how can i retrieve them?

    i can't find half of my purchased movies in itunes how can i retrieve them?

    Go to the iTunes Store, log into your account, and click the Purchases link under the Quick Links. From there you should be able to re-download some or all of your purchased content. Note that not all content has been licensed for re-downloading in all countries at this time; you can see what content you can download here:
    http://support.apple.com/kb/HT5085
    In addition, not all movie students have agreed, and not all movies are available from those studios that have, even in countries where movies are in general available.
    For more information, see:
    http://support.apple.com/kb/ht2519
    Regards.

  • How can i retrieve deleted notes from iphone4 with no back up

    how can i retrieve deleted notes from iphone4 with no back up

    No Backup?
    Simply put, you can't.
    I won't rub salt into it anymore, but I guess you have just learned the importance of backing up your information.
    A mistake we've all made (once).

Maybe you are looking for