Is there any java api available to get the process identifier ?

Hai,
I am in need to get the process identifier of a running process.
Is there any API available or any shell script which can be used in exec command
to get it.
Thanks in Advance.
Kavitha M.

Hint: Don't use the exec command! This would spawn off a new shell with a different PID. You might want to look at JNI (Java Native Interface) to attach a piece of C code to your Java application that can find out the PID.

Similar Messages

  • Is there any java API available to make call to 11g Composite Service?

    Hi All,
    How can I make a call to 11g Composite from java? Is there any java client API available for this?
    Thanks,
    Vidya

    Sure there is a way.
    Here is a documentation link:
    Link: [http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/invocapi.htm#CHDBBBBC]
    Adam

  • Is there any java API throgh which My program can get harddisk,cpu ID adres

    hello
    Is there any java api throuh which i can get hard disk and processor serial numbers.
    i have already use
    process p=Runtime.getTime().exec("cmd command");
    please other than this send any java api, progamming technique that remain same on all plate forms
    advance thanks
    best regards

    >
    Is there any java api throuh which i can get hard disk and processor serial numbers.
    i have already use ..>1) What business is that information to your app.? Or to put that another way. Why do you want to know?
    2) Those words are 'Java', 'API' and 'I' (which is always upper case).
    3) One upper case letter should be used at the start of each sentence, not just once at the start of a post.

  • Is there any Java API equivalent to Javascript eval() method?

    Is there any Java API equivalent to Javascript eval() method?
    Regards
    Rakesh

    No there isn't however you can use Jython (or another scripting language of your choice) to reproduce this functionality.

  • TS1702 My IOS is 4.2.2 and my ipod doesnt accept later versions. Before updating the software, I used to have viber and now I can reinstall it, because it needs IOS 4.3 or later. Is there any place where I can get the older versions of this app?

    My IOS is 4.2.2 and my ipod doesnt accept later versions. Before updating the software, I used to have viber and now I can reinstall it, because it needs IOS 4.3 or later. Is there any place where I can get the older versions of this app? Also, there are others app that wont install, such as netflix, angry birds, etc
    Please, help me! I really need it!

    Only if you have it on your computer or in a computer file backup

  • (1) Is there any way that I can get the transition menu to remain on the screen. I select a transition, drag it to the timeline and after I click done I have to start the process all over to perform this action on the next transition. I have premiere elem

    (1) Is there any way that I can get the transition menu to remain on the screen. I select a transition, drag it to the timeline and after I click done I have to start the process all over to perform this action on the next transition. I have premiere elements 12. In older version the menu would stay on the screen.
    (2) In pan and zoom how can start zoom on a photo in the original picture and zoom in and the next picture zoom out and the next photo pan from right to left and the next photo pan left to right.
    Thanks
    Sam

    TidyCup
    What computer operating system is your Premiere Elements 12 running on? If you have not already, be sure to update 12 to 12.1, using an opened project's Help Menu/Update.
    But to the immediate questions, assuming Windows 7, 8, or 8.1 64 bit....
    1. No, it is what it is. But, are you applying the same transition each time? If so, then highlight/select all the clips involved (all at one time), then Timeline Menu/Apply Default Transition will do just that for the highlighted/selected clips.
    To highlight/select more than one clip at a time, hold down the Shift key of the computer main keyboard and then click on each clip that you want in the group selection
    or
    with your mouse cursor draw a rectangle around the clips that you want to select
    2. Are you using the Premiere Elements 12/12.1 Expert workspace Pan and Zoom Tool? Or the pan or zoom presets under fx Effects/Presets/? With those you can do pan or zoom, not pan and zoom.
    Or, are you in the Elements Organizer 12 Slideshow Editor using the pan and zoom effect there? Or, are you using keyframing the Motion Scale property for zoom and the Motion Position property for pan?
    Are you asking about photos with landscape or portrait orientation?
    The pan and zoom tool does one photo at a time.
    Have you read the Adobe documentation on the Pan and Zoom Tool?
    http://help.adobe.com/en_US/premiereelements/using/WSeffff8bffc802084-494411db12fd35452dd- 8000.html
    Please review and clarify and then we can get into greater details on this.
    Thanks.
    ATR

  • I backed up my phone before i went on vacation. I dropped my phone in a pool and now it doesn't work, is there any way that i can get the pictures that I took on vacation off of the phone?

    I backed up my phone before i went on vacation. I dropped my phone in a pool and now it doesn't work, is there any way that i can get the pictures that I took on vacation off of the phone?

    IF you had icloud backups and Camera Roll turned on in Settings on the wet phone, then you can restore that backup to an iOS device, but not a computer.
    http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US
    Once you get a replacement phone...
    Go to Settings>General>Reset and tap Erase All Content and Settings.  This will erase your device.  Then you will go through the setup screens again as you did when your device was new, and when given the option, select Restore from iCloud Backup.
    This link gives another overview of backup and restore:
    http://support.apple.com/kb/HT4859?viewlocale=en_US&locale=en_US

  • Any standard BAPI available to get the project manager name or id

    Hi all,
    Any standard BAPI available to get the project manager name or id  for the particular  employee working on that project.
    Regards,
    Surjith

    I dont know abt any BAPI but this FM do the same so can be copy to RFC enabled and use the same.
    HRCM_GET_ORGUNITS_FOR_MANAGER
    Regards,
    Amit
    Reward all helpful replies.

  • HT4812 I recently fixed my computer and need to reinstall logic pro 9 but I can't find the booklet with my serial number, is there any other way I can get the serial number for logic pro 9 (box)?

    I recently fixed my computer and need to reinstall logic pro 9 but I can't find the booklet with my serial number, is there any other way I can get the serial number for logic pro 9 (box)?

    If you still have the receipt or other proof of purchase, you can ask Apple to send you the serial. Otherwise, bad luck mate.. Good news is, you can now buy Logic Pro 9 from App Store for just 199 USD

  • Is there any Java API to interact/integrate with Adobe LiveCycle Policy Server

    Hi,
    We are already using Adobe LiveCycle Policy server & has manual process in place to send documents to clients.
    Going forward we want to automate this document generation process. We are using Java, JEE in our application.
    We are planning to use below steps to automate this process.
    1) Administrator will create a Template in Adobe Policy Server and will map users intended to receive mails with this template
    2) Our application will interact with Adobe Policy Server and use Template ID to generate PDF document and send mails to client.
    Can anyone please let me know if there is any Java API which can be used to perform the above second step.
    Thanks a lot for your help.
    Best Regards - Roy

    Hi Steven,
    What you refer to is PDF Generator version 7.x Postscript edition.
    In version 7 of the product there were 3 editions:
    1. PDF Generator Professional
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Image (JPG, GIF, BMP, TIFF, PSD)
    Standard office formats (DOC, XLS, PPT, WPD, MPP)
    Text (TXT, RTF)
    Web (HTML)
    Design files (DWG, VSD)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    Searchable PDF files from images
    Convert PDF files to:
    HTML documents
    Text (TXT, RTF, accessible)
    Images (TIFF, PNG, JPEG)
    Print (PS, EPS)
    2. PDF Generator Elements
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Image (JPG, GIF, BMP, TIFF, PSD)
    Standard office formats (DOC, XLS, PPT, WPD, MPP)
    Text (TXT, RTF)
    Web (HTML)
    Design files (DWG, VSD)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    Convert PDF files to:
    HTML documents
    Text (TXT, RTF, accessible)
    Print (PS, EPS)
    3. PDF Generator Postscript
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    So basically what you have is the very limited edition, doing exactly what you said. For more functionality you should opt for one of the other editions (that for version 7.x)
    Today's version is the newer LC PDF Generator ES. You can look for its specifications at http://www.adobe.com/products/livecycle/pdfgenerator/
    Thanks

  • Any Java API available for character recognition.. Please help

    Hi,
    I am wondering if there are any Java API for identifying the character encoding of a text content. I came across NGramJ but not enough documentation to integrate with my application. Any help would be appreciated.
    Thanks.

    I used this but the CharsetToolKit identifies only among UTF-8, UTF-16LE and UTF-16 not any other encodings like TIS-620 etc. I am new to this as well, so not sure whether I am doing it right. Please advise.
    Also, if any samples of chardet would be appreciated.
    One thing not sure, is when I send a message has Thai characters from Hotmail having my browser setting to Thai encoding(TIS-620) but my Hotmail account language is English and sent to one of my exchange accounts. In the outlook, the message looks gibbrish.
    So I need the charset encoding detector to let me know what type of encoding is done on the content (as if you choose English as the language option, the Hotmail server doesn't have charset parameter in the content-type header) so that I can decode and re-encode to UTF-8.
    Any immediate response would be appreciated.

  • Is there any standard Adhoc query to get the Previous employers list

    Hi Experts,
    Is there any standard Sap Adhoc query available to get the details of Previous empoyers list.
    Please advice me to get the list of employees with their previous employers..
    Thank you very much.
    Regards,
    Vishnu.

    Hi Vishnu,
    U could go as per wat Suhasini has said. But if u want the end user to view this report time and again, then u need to create a query.
    The steps are as follows:
    1) T-code: SQVI
    2) Qucik View: give some name here and then click on "Create"
    3) You will get a "Create Quick View" screen.
    4) Goto "Datasource" and select "Logical Database" from the drop down
    5) Then goto "Tableview" and enter "PNCPE" and click on enter.
    6) A screen pops up and click on the Infotypes u would want to extract the data from and press enter.
    7) Now, u would get the following screen "Qucik Viewer: Initial screen". Here u can see coulple of tabs.
    8) Goto the tab "List selcted field" and select watever fileds u want in the output screen and then press "Execute".
    Hope this would solve ur issue.
    Thanks

  • Is any Public API available to create the rpd file programatically

    Hi:
    In general is there any public API's that can be used to create the rpd file programatically?
    I know that there is a discoverer migration tool to convert to rpd file is present in the latest version. But how to do it for the hyperion reports?
    Searching for any API's that may be present to create the rpd file programatically.
    Thanks & Regards
    Sridhar D

    You can use UDML to make changes to the RPD. However it is not supported by Oracle so you will be by yourself in anything goes wrong. You can also easily see the UDML code if you copy any objects from Administration tool into Notepad. This post will teach you the basics: http://oraclebizint.wordpress.com/2008/04/04/oracle-bi-ee-101332-udml-to-automate-repository-updates-migration-of-repositories-from-development-to-testproduction-environment/

  • Are there any JAVA APIs that control usb ?

    i can't find any document JAVA APIs that control usb�C
    help me !!

    I think there is an API planned. But I think it is still in the specification state. Search the developer connection.

  • Is there any way (API ?) to access the UDS repository directly ...?

    This is probably reviving some older thread from way back in 1998 when similar questions where asked ...
    I am working on a program of my own (writing it in Borland Delphi), and I would like to have access to the Repository.
    One way I could think of is through the command line tools (like FScript) that come with UDS . However, I figure that there must e an 'easier' way to access the repository and retrieving/storing information.
    In one of the old threads I saw that an API would become available in v4 ...
    Alas ... no v4 ever saw the light. Instead of v4, the boys and girls of IPlanet/Sun went straight to v5 (and renamed their product from Forte to UDS).
    I can't find the API (documentation) mentioned above ...
    Does any of you guys out there have any information or, even better, examples on how to achieve access to the repository from a non-Forte application.
    If I could get this to work it would mean a huge (and that should be written HUGE) step forward in reaching my goal ...
    Hansz

    Of course there is an API to repository objects, and the SUN/iPlanet people are using it. Also in past times Forte-partners have used it. You can see the classes when you set certain cfg. flags. The problem is, there is no documentation about that API provided by SUN. If you find an expert within the community (who is not bound by a non disclosure ), it will be rather easy to set up C++ wrappers to integrate with an external (non TOOL) application.
    We feel a need for documented access to the repository objects as well, as that would make several tasks of development automatization and integration with other development tools (Forte for JAVA e.g.) more straight forward.

Maybe you are looking for