Skip to content

Mac OS High Sierra returns "UID" rather than "PID" #76

New issue

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

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

Already on GitHub? # to your account

Open
saw opened this issue Jul 20, 2018 · 4 comments
Open

Mac OS High Sierra returns "UID" rather than "PID" #76

saw opened this issue Jul 20, 2018 · 4 comments

Comments

@saw
Copy link

saw commented Jul 20, 2018

ps -lx on OS X high sierra returns UID as the first column, so the parsing code returns the wrong value.

@saw
Copy link
Author

saw commented Jul 20, 2018

related: neekey/table-parser#11

@lan-coding
Copy link

You can pass psargs: 'ux' to get the PID

@anichols-ht
Copy link

This is probably related. I'm on a Ventura (but it's probably a bash version issue - I'm using "GNU bash, version 5.2.2(1)-release (aarch64-apple-darwin21.6.0)"), and I get the time as the command for all processes:

[
  {
    pid: '90519',
    command: '0:00.74',
    arguments: [ 'minio', 'server', '../../s3/' ],
    ppid: '90491'
  }
]

Passing psargs: 'ux' doesn't help. I just get empty objects back when searching by command either way.

@code-brewer
Copy link

Same problem here. It seem this project out of maintains.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants