Osgi 如何仅获取karaf中的活动捆绑包

Osgi 如何仅获取karaf中的活动捆绑包,osgi,bundle,state,apache-karaf,karaf,Osgi,Bundle,State,Apache Karaf,Karaf,我需要一个命令来获取osgi/karaf中的活动捆绑包 I know that scr:list / osgi:list will list all the bundles irrespective of state. Is there any other easy way to check all the bundles are active in karaf? 问候,, 哈利怎么样: la | grep -i active 其中la是osgi的快捷方式:列出包括系统在内的所有捆绑包。

我需要一个命令来获取osgi/karaf中的活动捆绑包

I know that scr:list / osgi:list will list all the bundles irrespective of state. 

Is there any other easy way to check all the bundles are active in karaf?
问候,, 哈利

怎么样:

la | grep -i active
其中la是osgi的快捷方式:列出包括系统在内的所有捆绑包。

如何:

la | grep -i active
其中la是osgi的快捷方式:列出所有捆绑包,包括系统。

使用

la | grep '| Active    |'
因为这将避免由于名称中包含“活动”的捆绑包而导致的任何误报。

使用

la | grep '| Active    |'
因为这将避免由于名称中包含“活动”的捆绑而导致的任何误报