-
Notifications
You must be signed in to change notification settings - Fork 160
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
HTOP, TOP and any other packages requiring /proc /data doesnt work within archlinux for termux (repost on request from sdrausty) #32
Comments
This isn't really proot related, it's just that htop gives up and exits if it cannot open It can be made working if There might be other files in Original issue: SDRausty/TermuxArch#103 |
This comment was marked as spam.
This comment was marked as spam.
@SDRausty Just use this (filled with content from /proc/stat on my PC): fake_proc_stat.txt Download file and use it like |
This comment was marked as spam.
This comment was marked as spam.
Or try to copy this if can't download (???):
|
This comment was marked as spam.
This comment was marked as spam.
Hello guys, i will check if the recent commit by sdrausty will work. Is setting up a fake /proc going to give accurate data? Anyway so theoretically in proot I can run any packages then and utilize all of my cpu, ram, gpu even though top/htop couldnt read the file? Is there any limitation I should know? |
@Root-voidX Htop in Termux already patched: termux/termux-packages@04aea16 so it even don't read file /proc/stat. For TermuxArch the only way to provide a fake file. |
This comment was marked as spam.
This comment was marked as spam.
These statements aren't contradictory
There are two different mechanisms in question:
I'm not sure what above issue is actually about, but as far as shared memory is concerned there are two separate mechanisms (different programs might use different mechanisms)
And one more generic note: you should use fake |
This comment was marked as spam.
This comment was marked as spam.
Don't mount
You probably could fold that into Nice idea with configurable binds in |
This comment was marked as spam.
This comment was marked as spam.
Not sure what you're referring to here but I guess you've got error while commenting on pull request authored by tomty89 who you've blocked. If something works incorrectly with blocking users then GitHub's bugs needs to be reported to GitHub.
Of course I'm not going to commit changes breaking common usage. (Nor that pull request breaks anything, this was generic note on Looks like |
I originally posted this on archtermux git, sdrausty the maintainer said it is related to proot on android 8.0 and as such requested me to repost this here. Bellow is the original submission:
Hey everyone, so I am using a Samsung Galaxy S9+ on Android 8.0 on a SD845 soc. So I noticed that top, htop and any other app requiring /proc or /data do not work. If I run the same htop and top command in Termux it works but within arch it doesn't? This also effects makepkg as well if you wanna note that down as well.
The text was updated successfully, but these errors were encountered: