OgnlJvmSearcher

使用 ognl 脚本搜索 jvm.

Example:

#resultStr = hostMachine.execute(localHelper.jps(), '-lm').stdout,
#result = #resultStr.split('\n').{? #this.contains('com.intellij.idea.Main')},
addLocal(#result.{ #this.split(' ') })

Functions

Link copied to clipboard
fun execute(script: String, context: MyOgnlContext)

执行脚本搜索 jvm

Link copied to clipboard