Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Gotop on alpine can't use busybox ps #138

Closed
maxice8 opened this issue Apr 22, 2019 · 3 comments
Closed

Gotop on alpine can't use busybox ps #138

maxice8 opened this issue Apr 22, 2019 · 3 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@maxice8
Copy link

maxice8 commented Apr 22, 2019

Required information:

  • gotop version (gotop -V): 3.0.0
  • The output of uname -a: Linux Impreza 4.19.34-0-vanilla Increase height of sparkline to match widget height #1-Alpine SMP Mon Apr 8 06:03:08 UTC 2019 x86_64 Linux
  • Terminal emulator (e.g. iTerm or gnome terminal): Alacritty
  • Any relevenat hardware info: None
  • tmux version if using tmux: No

Also please copy or attach ~/.local/state/gotop/errors.log if it exists and contains logs:

13:15:31 proc_linux.go:14: failed to retrieve processes: failed to execute 'ps' command: exit status 1
13:15:32 proc_linux.go:14: failed to retrieve processes: failed to execute 'ps' command: exit status 1

image

@maxice8
Copy link
Author

maxice8 commented Apr 22, 2019

Very similar to #134 but i didn't put it there since one is FreeBSD and the other is Alpine Linux

@maxice8
Copy link
Author

maxice8 commented Apr 22, 2019

Installing procps which provides a widely used ps works around it. but it would be nice if it worked with the busybox ps.

image

@cjbassi
Copy link
Owner

cjbassi commented Apr 22, 2019

Duplicate of #110, but thanks for the addition information. This gave me some new ideas which I'll post in that issue.

@cjbassi cjbassi closed this as completed Apr 22, 2019
@cjbassi cjbassi added bug Something isn't working duplicate This issue or pull request already exists labels Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants