我想监视应用程序服务器中的一些挂起的线程,并且我得到了这一行。
[5/30/16 11:31:18:501 CDT] 00000655 ThreadMonitor W WSVR0606W: Thread "MessageListenerThreadPool : 38" (00000655) was previously reported to be hung but has completed. It was active for approximately 964450 milliseconds. There is/are 0 thread(s) in total in the server that still may be hung.
在bash中分割字符串
我需要在“There is/0 is thread(s)”中获得0。
我试图用cut来分割它,但一切都很糟糕。我也尝试使用分隔符,但字符串太长。
我该如何拆分它?