I'm having some problems making a Sigar Exe.Name query in Windows, when I need to identify some processes by their full path (that usually contains spaces).
As an simple example, when I do:
[b]sigar> ps Exe.Name.ct=Program[/b]
I get the usual output.
When I do:
[b]sigar> ps Exe.Name.ct=Program Files[/b]
I get an class exception, no output.
And when I try to code the «space» by doing:
[b]sigar> ps Exe.Name.ct=Program%20Files[/b]
I get NO output.
So, is this some Sigar bug?
Or How should I construct the PTQL query correctly in this case?
One thing that will work will be something like:
[b]sigar> ps Exe.Name.ct=Program,Exe.Name.ct=Files[/b]
that will give the expected output.
Usually the full Exe path is long, with several spaces, so doing the query like this will be a real pain...
No simpler way to do this in a single query?