-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add nix processes command #3800
Conversation
when we have a cmdline, just show that, the build pid is not very useful.
Sometimes these processes will end while we're processing them. We just need to continue in this case since we can't find what pid replaced it.
Ok - this actually doesn't quite work. The userpool locks are always owned by the same process in the nix-daemon. We'll need to filter by uid to determine what the actual pid is. |
Updated to show the correct pid based on uid of the owning process. |
Not sure this is the best approach. 1) It's Linux specific, so at least there should be a big |
It would be very nice to have a command like this in some form, As for a name, how about |
Status makes me think more of "how's the daemon doing, is it still up?" (though that also sounds useful), how about You'd use the command to monitor what the daemon is up to atm afterall. |
That sounds alright. Some non-Linux systems have procfs, but I have no idea whether it looks the same.
Right - this is just using the locks in the filesystem. These don't end up being as clear as I originally hoped. What approach would be better? We could keep track of it in nix-daemon - which right now doesn't really know about what builds are happening. |
I marked this as stale due to inactivity. → More info |
Still important to me. |
I marked this as stale due to inactivity. → More info |
adds a processes command for #3751
some thing still missing:
output looks like: