PTQL statement not returning any data in Jmeter but works in sigar shell

308 views
Skip to first unread message

Derek Stafford

unread,
Oct 11, 2012, 12:00:42 PM10/11/12
to jmeter-...@googlegroups.com
Hi,

I'm trying to monitor CPU by process using the following PTQL query:

ps "State.Name.eq=java,Args.*.eq=org.jboss.Main"

I've proved that this works in a sigar shell but I can't get it to work in the PerfMon Collector (JMeter Plugins 0.5.4).  The collector is operating correctly as I'm able to capture CPU by process ID.  I've tried entering the query in the GUI as:

ptql=ps "State.Name.eq=java,Args.*.eq=org.jboss.Main"

and

ptql="State.Name.eq=java,Args.*.eq=org.jboss.Main"

but with no luck.  Am I doing something wrong or is there a bug?

Stéphane Hoblingre

unread,
Oct 12, 2012, 3:35:55 AM10/12/12
to jmeter-...@googlegroups.com
You should use the wizard.
It should be ptql=State.Name.eq=java,Args.*.eq=org.jboss.Main

Stef

Derek Stafford

unread,
Oct 12, 2012, 5:44:04 AM10/12/12
to jmeter-...@googlegroups.com
Stef,

I did use the wizard but after looking at your reply I removed the double-quotes " and it worked.  So before I had:

ptql="State.Name.eq=java,Args.*.eq=org.jboss.Main"

and now I have:

ptql=State.Name.eq=java,Args.*.eq=org.jboss.Main

Thanks for the prompt.

Derek
Reply all
Reply to author
Forward
0 new messages