Linux standalone: Improved process names of linker shimmed programs.
This commit is contained in:
parent
f4c677feeb
commit
88fbb13ee3
5 changed files with 37 additions and 14 deletions
|
@ -37,3 +37,5 @@ root@koumbit-mp-test:/var/isuma/media/video# ps axf | grep annex
|
|||
"""]]
|
||||
|
||||
couldn't it alter its process name to make this a little more intuitive? This is especially problematic because i am trying to hook git-annex into Puppet and Facter, which require me to guess where the various git-annex repos are on the server. The way i was doing that so far was with `lsof -c 'git-annex' -F0tn`, which is obviously failing under those circumstances.... Unless there's a better way to find those repos across the system? I assume there's a git-annex assistant running here... --[[anarcat]]
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2015-02-16T23:35:08Z"
|
||||
content="""
|
||||
Haskell programs actually cannot alter their process name. I've had a bug
|
||||
open on ghc for a year about that.
|
||||
|
||||
However, I can make a nicer symlink name than ld-linux.so, and use that,
|
||||
and it will then be clear what program is being run, although the
|
||||
parameters to it will still be unusual due to the shimming used in the
|
||||
standalone build.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue