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
uptime/htop don't actually work #819
Comments
@ttrash Since access to files However there is an exception for And just for note: all programs in
Where you got this information ? Which library ?
Unfortunately, you have to blame SELinux...
We cannot fix SELinux since this is a system feature. |
nice, I don't want to ask you about busybox, both apps from store require root, or do absolutely nothing help me with this workaround: |
@ttrash termux provides busybox, you don't need to get another app from play store. $ which busybox
/data/data/com.termux/files/usr/bin/busybox |
@ttrash This linking error is Samsung-specific (same on my Samsung Galaxy S7, but not on other devices), so you have to do this:
For me, just
|
LIBRARY_PATH= /system/bin/uptime |
@ttrash Sorry, my mistake =). Just copied/pasted only part of text. It should be |
@ttrash Thanks for reporting!
|
The uptime program from procps does not work on later android versions where reading /proc/uptime is not allowed. See termux/termux-app#819
thank you, now both are working: I don't really like workarounds, but is better than nothing, again Thank You ! :) LE wow, you move fast, I see after update that now uptime is a link to busybox, therefore it is working too, good job ! |
uptime 09:31:48 up 0 min, 0 users, load average: 0.00, 0.00, 0.00
hour is right, uptime is not, load is not, this one was in termux
in terminal emulator, same command (which is executed from /system/bin/uptime) I get all the relevant information (how much uptime, and the 3 numbers of system load)
also, this is a library problem, not this command explicitly problem be cause, htop behave the same, I have 0.00 all 3 load numbers and no processor load to show in left top corner (graphic show)
my phone is S8+ ... NOT ROOTED WHATSOEVER ...
and again, just to be sure
in terminal emulator this is working, with no problems, in the very same time with termux, therefore is not my system/phone to blame
please fix, thank you !
The text was updated successfully, but these errors were encountered: