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

Andrew Haley aph at redhat.com
Thu Feb 5 15:56:31 UTC 2015


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).
> 
> But am am not able to know this process number..
> 
> - In the window of gnome-system-monitor the name "netbeans" isn't.
> - The command line : "ps aux | grep netbeans",  give me a full page of
> references..
> 
> Could I know a simple way to have this information ?

It's a Java progra, so use "jps":

 $ jps -l
32490 org.netbeans.Main
32751 sun.tools.jps.Jps

Andrew.



More information about the users mailing list