You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/12/04 11:47:00 UTC

[jira] [Resolved] (CAMEL-18720) camel-jbang - camel top [name] selection not working as expected

     [ https://issues.apache.org/jira/browse/CAMEL-18720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-18720.
---------------------------------
    Resolution: Not A Bug

> camel-jbang - camel top [name] selection not working as expected
> ----------------------------------------------------------------
>
>                 Key: CAMEL-18720
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18720
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 3.19.0
>            Reporter: Tadayoshi Sato
>            Priority: Major
>
> There seems to be a minor problem with selection of integrations based on their names with {{camel top}} commands. For example:
> {code}
> $ camel run a.java
> $ camel run aa.java
> $ camel run aaa.java
> {code}
> Then:
> {code}
> $ camel top context 
>   PID    NAME  JAVA     CAMEL   PLATFORM  STATUS    AGE   LOAD        HEAP        NON-HEAP     GC     THREADS 
>  131260  aa    11.0.17  3.19.0  Camel     Running  5m58s  0/0/0  267/656/8319 MB  62/66 MB  51ms (5)      8/9 
>  131963  aaa   11.0.17  3.19.0  Camel     Running  5m52s  0/0/0  262/641/8319 MB  62/66 MB  38ms (5)      8/9 
>  130555  a     11.0.17  3.19.0  Camel     Running   6m2s  0/0/0  130/645/8319 MB  62/66 MB  50ms (7)      8/9 
> {code}
> But:
> {code}
> $ camel top context a
>   PID    NAME  JAVA     CAMEL   PLATFORM  STATUS    AGE   LOAD        HEAP       NON-HEAP     GC     THREADS 
>  130555  a     11.0.17  3.19.0  Camel     Running  1m32s  0/0/0  95/645/8319 MB  60/64 MB  42ms (6)      8/9 
>  131260  aa    11.0.17  3.19.0  Camel     Running  1m28s  0/0/0  95/656/8319 MB  60/63 MB  51ms (5)      8/9 
>  131963  aaa   11.0.17  3.19.0  Camel     Running  1m22s  0/0/0  90/641/8319 MB  60/63 MB  38ms (5)      8/9 
> $ camel top context aa
>   PID    NAME  JAVA     CAMEL   PLATFORM  STATUS    AGE   LOAD        HEAP       NON-HEAP     GC     THREADS 
>  130555  a     11.0.17  3.19.0  Camel     Running  1m35s  0/0/0  97/645/8319 MB  60/64 MB  42ms (6)      8/9 
>  131260  aa    11.0.17  3.19.0  Camel     Running  1m31s  0/0/0  97/656/8319 MB  60/63 MB  51ms (5)      8/9 
>  131963  aaa   11.0.17  3.19.0  Camel     Running  1m25s  0/0/0  92/641/8319 MB  60/63 MB  38ms (5)      8/9 
> $  camel top context aaa
>   PID    NAME  JAVA     CAMEL   PLATFORM  STATUS    AGE   LOAD        HEAP       NON-HEAP     GC     THREADS 
>  131260  aa    11.0.17  3.19.0  Camel     Running  1m34s  0/0/0  97/656/8319 MB  60/63 MB  51ms (5)      8/9 
>  131963  aaa   11.0.17  3.19.0  Camel     Running  1m28s  0/0/0  94/641/8319 MB  60/63 MB  38ms (5)      8/9 
> $  camel top context aaaa
>   PID    NAME  JAVA     CAMEL   PLATFORM  STATUS   AGE   LOAD        HEAP        NON-HEAP     GC     THREADS 
>  131963  aaa   11.0.17  3.19.0  Camel     Running  2m6s  0/0/0  120/641/8319 MB  60/64 MB  38ms (5)      8/9 
> $  camel top context aaaaa
> {code}
> PID based selection works fine.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)