[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall updated FELIX-534: -- Component/s: Shell Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Components: Shell Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534_2.patch, FELIX-534_3.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-534: -- Attachment: FELIX-534_2.patch well, you are right. I implemented a unix style piping mechanism on top of the current Command implementation. Now this is possible: # ps | grep 'compendium' # headers | grep 'Export-Package' | grep 'org.osgi.framework' and alike. The new GrepCommandImpl uses an extended Command Interface that supports InputStreams. I integrated those type of commands into ShellServiceImpl. Keep in mind that i fought a bit with the Piping stuff but ..well i'll try to fix things if they show up. Anyway, wdyt about the general approach? Toni Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534.patch, FELIX-534_2.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-534: -- Attachment: (was: FELIX-534.patch) Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534_2.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-534: -- Attachment: FELIX-534_3.patch FELIX-534_3.patch is a revised patch without extra formatting. The grep command now accepts a -e flag to submit raw regular expressions. Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534_2.patch, FELIX-534_3.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.