From 474474d0b571917c9cb3d3e46a7b1e588e2bb054 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 16 Dec 2005 22:34:08 +0000 Subject: [PATCH] also match 'apache2' for apfind --- bindings/java/.sigar_shellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/.sigar_shellrc b/bindings/java/.sigar_shellrc index 4aef645e..4e3ddaed 100644 --- a/bindings/java/.sigar_shellrc +++ b/bindings/java/.sigar_shellrc @@ -28,7 +28,7 @@ alias tcfind ptql State.Name.eq=java,Args.*.eq=org.apache.catalina.startup.Boots #($1 is the return value of the first query in the string) #'Pne' => 'P' flags means parent of matched process #to filter out httpd child processes -alias apfind ptql State.Name.re=^(https?d.*|[Aa]pache)$,State.Name.Pne=$1 +alias apfind ptql State.Name.re=^(https?d.*|[Aa]pache2?)$,State.Name.Pne=$1 #find ant processes (ant hangs on me sometimes) #(* matches any value in the array)