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

[FR] OpenBSD support #66

Open
ITwrx opened this issue Feb 28, 2021 · 0 comments
Open

[FR] OpenBSD support #66

ITwrx opened this issue Feb 28, 2021 · 0 comments

Comments

@ITwrx
Copy link

ITwrx commented Feb 28, 2021

right now if i try to run ps_mem.py i get:

./ps_mem.py
Traceback (most recent call last):
  File "./ps_mem.py", line 120, in open
    return open(self.path(*args), errors='ignore')
FileNotFoundError: [Errno 2] No such file or directory: '/proc/sys/kernel/osrelease'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./ps_mem.py", line 629, in <module>
    if __name__ == '__main__': main()
  File "./ps_mem.py", line 582, in main
    verify_environment(pids_to_show)
  File "./ps_mem.py", line 567, in verify_environment
    kernel_ver()
  File "./ps_mem.py", line 221, in kernel_ver
    kv = proc.open('sys/kernel/osrelease').readline().split(".")[:3]
  File "./ps_mem.py", line 126, in open
    raise LookupError
LookupError

Thanks

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

1 participant