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

Print image process list in nice formatted way #616

Closed
Bajger opened this issue May 18, 2023 · 0 comments · Fixed by #617
Closed

Print image process list in nice formatted way #616

Bajger opened this issue May 18, 2023 · 0 comments · Fixed by #617
Assignees
Labels
cmd-line Command-line Launcher issue Enhancement

Comments

@Bajger
Copy link
Member

Bajger commented May 18, 2023

Print image process list in nice formatted way

Describe the request
Currently, image process list don't show any header and prints in not nice format list of processes (pgrep ouptut)

Expected behavior
Process list should show header and each line should be formatted to the expected header like:

~/pharo-launcher$ ./pharo-launcher.sh image processList
#  PID  Image name VM path                                                         Image path                                     Date/Time started       
-- ---- ---------- --------------------------------------------------------------- ---------------------------------------------- ------------------------
1  4291 s1         /home/dbajger/Pharo/vms/100-x64/lib/pharo                       /home/dbajger/Pharo/images/s1/s1.image         Thu May 18 13:55:19 2023
2  4338 latest     /home/dbajger/Pharo/vms/90-x64/lib/pharo/5.0-202002121043/pharo /home/dbajger/Pharo/images/latest/latest.image Thu May 18 13:55:25 2023

Expected development cost

  1. Introduce new PhLImageProcess class that would include information about:
  • PID, image name, VM path, image path, start date and time of process
  1. Create image process object list from OS process command output
  2. list the process list using ConsoleListFormatter
@Bajger Bajger added Enhancement cmd-line Command-line Launcher issue labels May 18, 2023
@Bajger Bajger self-assigned this May 18, 2023
@Bajger Bajger linked a pull request May 18, 2023 that will close this issue
@demarey demarey closed this as completed in 7129e8a Feb 6, 2024
@github-project-automation github-project-automation bot moved this to Done in dev Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd-line Command-line Launcher issue Enhancement
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant