what is the process number of a "running application" ?

Tony Nelson tonynelson at georgeanelson.com
Thu Feb 5 17:35:47 UTC 2015


On 15-02-05 11:41:06, Patrick O'Callaghan wrote:
> On Thu, 2015-02-05 at 15:56 +0000, Andrew Haley wrote:
> > On 01/12/2015 05:25 PM, Angelo Moreschini wrote:
> > > Hi,
> > > 
> > > I would like to know the process number of an application that
> actually is
> > > running (Netbeans in my case), with the purpose to kill it (when
> is froze).
 ...
> > It's a Java progra, so use "jps":
> > 
> >  $ jps -l
> > 32490 org.netbeans.Main
> > 32751 sun.tools.jps.Jps
> 
> Doesn't appear to be in the standard repos:
> 
> $ jps
> bash: jps: command not found...
> $ yum info jps
> Loaded plugins: auto-update-debuginfo, langpacks
> Error: No matching Packages to list
> $ yum list jps
> Loaded plugins: auto-update-debuginfo, langpacks
> Error: No matching Packages to list
> $ yum search jps
> Loaded plugins: auto-update-debuginfo, langpacks
> ================================================================ N/S
> matched: jps
> ================================================================
> texlive-jpsj-doc.noarch : Documentation for jpsj
> texlive-jpsj.noarch : Document Class for Journal of the Physical
> Society
> of Japan
> 
>   Name and summary matches only, use "search all" for everything.

It's in java-*-openjdk-devel, as shown by `yum provides '*/jps'`.

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>


More information about the users mailing list