From: hyperguy <sig...@hy...> - 2010-05-17 19:21:39
|
The cut-and-paste munged things up in my original post (copy from mac's textedit), sorry about that. Anyways, I was able to confirm that at the sigar command line, that my original query string works on both 10.6 and 10.5, i.e. all args are turned into basenames. Here is the query on 10.5: sigar> ps Exe.Name.ct=make,Args.1.ct=-f,Args.2.ct=Makefile,Args.3.ct=timer,Args.4.ct=test_timeout,Args.5.ct=all 24881 build 14:13 74M 564K - R 0:0 /Developer/usr/bin/make It seems that something is not right when I'm doing the query programmatically. Given the above query string, what is the correct way to run the query programmatically? It seems that if ps works on both 10.5 and 10.6, then I must be doing something wrong. TIA -hyperguy |