How to get the list of java processes along with their PID(process id) that are running on UAT server under a specfic account?


A jar file was failed to deploy on a UAT server.

  • How to combine multiple condition in table join?
  • Defining connectionString for remotely hosted SQL Server
  • JPA GenerationType.AUTO not considering column with auto increment
  • 'System.Data.SqlClient.SqlException' occurred in System.Data.dll but was not handled in user code. Additional information: Incorrect syntax near 'b'
  • SQL-Server DB design time scenario (distributed or centralized)
  • How to update/delete row in multi user environment
  • Reason:

    Because when we are trying to rename it,it is showing
    “cannot rename the file it is been used by another user”.

    step choosen in order to solve the problem

    log on UAT server(xxx).

    we need the list of java processes along with the PID on our UAT server
    which is running under the account XXXAPPFUNC.

    Please tell me how can I do this?

    Thanks in Advance.

  • Count the number of Substrings occurences on a Column
  • how to group consecutive rows?
  • Alter a column to be calculated SQL SERVER
  • How to grant the database owner (DBO) the EXTERNAL ACCESS ASSEMBLY permission?
  • Get Quarters StartDate and EndDate from Year
  • How to implement a schema with primary and foreign keys
  • 2 Solutions collect form web for “How to get the list of java processes along with their PID(process id) that are running on UAT server under a specfic account?”

    Did you try the jps tool?


    The jps tool lists the instrumented
    HotSpot Java Virtual Machines (JVMs)
    on the target system. The tool is
    limited to reporting information on
    JVMs for which it has the access

    The list of JVMs produced by the jps
    command may be limited by the
    permissions granted to the principal
    running the command. The command will
    only list the JVMs for which the
    principle has access rights as
    determined by operating system
    specific access control mechanisms.


    The output of the jps command follows the following pattern:

     lvmid [ [ classname | JARfilename | "Unknown"] [ arg* ] [jvmarg* ] ] 

    For example, to list the instrumented JVMs on the local host:

    $ jps
    18027 Java2Demo.JAR
    18032 jps
    18005 jstat

    Run it under the desired account.

    Have you tried Process Explorer
    “Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded.”
    Doesn’t just work for java processes.

    MS SQL Server is a Microsoft SQL Database product, include sql server standard, sql server management studio, sql server express and so on.