Skip to content
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

kern.proc.pathname errors for an old Linux executable #4

Open
UnitedMarsupials opened this issue Dec 13, 2021 · 0 comments
Open

kern.proc.pathname errors for an old Linux executable #4

UnitedMarsupials opened this issue Dec 13, 2021 · 0 comments
Assignees

Comments

@UnitedMarsupials
Copy link

Some times I indulge in playing an old game of Civilization -- a 32-bit Linux binary named "civctp". Its multiple threads each appear as a separate process, and lsop flags each of these processes thus:

lsop: sysctl: kern.proc.pathname: 35747: No such file or directory
   pid    jid stat command
 35747      0 miss (civctp)
lsop: sysctl: kern.proc.pathname: 35748: No such file or directory
 35748      0 miss (civctp)
lsop: sysctl: kern.proc.pathname: 35750: No such file or directory
 35750      0 miss (civctp)
lsop: sysctl: kern.proc.pathname: 35751: No such file or directory
 35751      0 miss (civctp)
lsop: sysctl: kern.proc.pathname: 35752: No such file or directory
 35752      0 miss (civctp)
lsop: sysctl: kern.proc.pathname: 92658: No such file or directory
 92658      0 miss (civctp)

I am not sure, what should be done, when the sysctl fails -- perhaps, something can be borrowed from the lsof-code?

@606u 606u self-assigned this Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants