-
Notifications
You must be signed in to change notification settings - Fork 52
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
Grofer not supported on MacOS and Windows #14
Comments
For windows, this link might be useful: https://godoc.org/github.com/shirou/gopsutil/winservices |
For MacOS , it seems that gopsutil doesn't support a number of data points from the kernel , for example |
Interesting, that explains why grofer crashes. One workaround that I can think of is utilizing the information that gopsutil provides and for parameters like One command that I came across for getting the enumber of context switch information would be Since you're using MacOS, maybe you could try out a few of these commands and we could proceed accordingly! |
Okay this is interesting, |
I'll try writting a cgo library by referencing an outdated project like go-ps and get some OSX compatibility soon |
Describe the bug
The individual process stats feature of grofer does not work on MacOS.
To Reproduce
Steps to reproduce the behaviour:
Run
./grofer proc -p <pid>
as usual on a system running MacOS/Windows.Expected Behaviour
Grofer should display process stats for the given PID like in Linux.
Actual Behaviour
On MacOS:
A runtime error with a segmentation violation.
The prompt in Terminal also does not function as usual after this,
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: