-
Notifications
You must be signed in to change notification settings - Fork 683
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
Processes resource doesn't handle user or state #295
Comments
Just a note, these tests were done with gem version 0.9.5. |
@thomascate Thanks for catching this bug! |
srenatus
added a commit
that referenced
this issue
Dec 7, 2015
this addresses #295. will add the other items (or rather refactor) after we discussed this solution.
srenatus
added a commit
that referenced
this issue
Dec 7, 2015
this addresses #295. will add the other items (or rather refactor) after we discussed this solution.
srenatus
added a commit
that referenced
this issue
Dec 7, 2015
processes('bash').user will be non-nil iff the process owner of each process is the same. Analogous for processes('bash').state. These are the only two attributes where asking for them to be unique among multiple processes makes sense. The attributes 'users' and 'states' expose the values corresponding to that property of each entry in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 7, 2015
processes('bash').user will be non-nil iff the process owner of each process is the same. Analogous for processes('bash').state. These are the only two attributes where asking for them to be unique among multiple processes makes sense. The attributes 'users' and 'states' expose the values corresponding to that property of each entry in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 7, 2015
processes('bash').user will be non-nil iff the process owner of each process is the same. Analogous for processes('bash').state. These are the only two attributes where asking for them to be unique among multiple processes makes sense. The attributes 'users' and 'states' expose the values corresponding to that property of each entry in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 7, 2015
processes('bash').user will be non-nil iff the process owner of each process is the same. Analogous for processes('bash').state. These are the only two attributes where asking for them to be unique among multiple processes makes sense. The attributes 'users' and 'states' expose the values corresponding to that property of each entry in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 8, 2015
processes('bash').user will be non-nil iff the process owner of each process is the same. Analogous for processes('bash').state. These are the only two attributes where asking for them to be unique among multiple processes makes sense. The attributes 'users' and 'states' expose the values corresponding to that property of each entry in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 8, 2015
processes('bash').user does not actually make much sense for a resource that is a list -- different entries can belong to different users. Analogous for processes('bash').state. The attributes 'users' and 'states' expose the unique values corresponding to that property of entries in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 8, 2015
processes('bash').user does not actually make much sense for a resource that is a list -- different entries can belong to different users. Analogous for processes('bash').state. The attributes 'users' and 'states' expose the unique values corresponding to that property of entries in the process list. Fixes #295.
srenatus
added a commit
that referenced
this issue
Dec 8, 2015
processes('bash').user does not actually make much sense for a resource that is a list -- different entries can belong to different users. Analogous for processes('bash').state. The attributes 'users' and 'states' expose the unique values corresponding to that property of entries in the process list. Fixes #295.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Testing on Ubuntu 14.04 and OSX 10.10.5 with the following code
Ubuntu
OSX
The process is found and list length returns correctly, however user and state return
The text was updated successfully, but these errors were encountered: