Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show process status on process-compose process list command #180

Closed
guskovd opened this issue Apr 29, 2024 · 3 comments
Closed

Show process status on process-compose process list command #180

guskovd opened this issue Apr 29, 2024 · 3 comments
Labels
done Done, awaiting release need more info

Comments

@guskovd
Copy link

guskovd commented Apr 29, 2024

Now when executing

process-compose process list

I can only see

k1
z1

I would like to be able to see the status of processes, just like in TUI.

@F1bonacc1
Copy link
Owner

Hi @guskovd,

Can you please give more details about the use case?
What do you think should be the output format?
In which scenarios will this be more useful than using process-compose attach?

@F1bonacc1
Copy link
Owner

Will something like this work for what you need?

./bin/process-compose process list -owide
PID      NAME                    NAMESPACE   STATUS       AGE   HEALTH   RESTARTS   EXITCODE   
142647   __pc_log                debug       Running      40m   -        0          0          
142652   __pc_log_client         debug       Running      40m   -        0          0          
142660   _process2               default     Running      40m   Ready    0          0          
142655   bat_config              default     Completed    0s    -        0          0          
142720   dep-on-log-line-ready   default     Completed    -     -        0          0          
142648   entrypoint              default     Completed    0s    -        0          0          
0        kcalc                   default     Disabled     -     -        0          0          
142651   log-line-ready          default     Running      40m   Ready    0          0          
142657   nginx                   default     Launched     40m   Ready    0          0          
142675   pc_log                  default     Running      40m   -        0          0          
142645   process0                ns1         Completed    0s    -        0          0          
0        process1                default     Pending      -     -        0          0          
143040   process3                default     Running      40m   -        0          0          
142658   process4-0              test        Running      40m   Ready    0          0          
142659   process4-1              test        Running      40m   Ready    0          0          
142649   server                  default     Running      40m   -        0          0          
142656   template                default     Completed    0s    -        0          0          
0        vim                     default     Foreground   -     -        0          0 

@F1bonacc1 F1bonacc1 added the done Done, awaiting release label May 6, 2024
@F1bonacc1
Copy link
Owner

Added in v1.5.0
Please let me know if it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Done, awaiting release need more info
Projects
None yet
Development

No branches or pull requests

2 participants