Openshift 从rhc尾部筛选消息
在执行Openshift 从rhc尾部筛选消息,openshift,tail,openshift-client-tools,Openshift,Tail,Openshift Client Tools,在执行rhc tail-a myApp时,我想用:GET/200 我试过了 rhc tail -a myApp | grep -V GET 但这似乎不起作用。我想你需要一个小写的v,大写的v似乎是版本,至少在我的mac上是这样的 -V, --version Display version information and exit. -v, --invert-match Selected lines are those not match
rhc tail-a myApp
时,我想用:GET/200
我试过了
rhc tail -a myApp | grep -V GET
但这似乎不起作用。我想你需要一个小写的v,大写的v似乎是版本,至少在我的mac上是这样的
-V, --version
Display version information and exit.
-v, --invert-match
Selected lines are those not matching any of the specified patterns.
你刚刚把grep输出的版本放到屏幕上了吗