Feature request - iSH uptime
Issues is probably not the right place for Feature requests, but Wiki is empty and Discussions seems pretty dead on this git, and on Discord we are asked to create issues :)
It would be nice to get access to app uptime, GPT gave a suggestion https://chatgpt.com/share/a46125e3-3154-41ef-af12-cd2c5430ad7c
I am not an iOS dev, so I have no clue if this is a good approach and I unfortunately can't contribute with a Pull request, but it did look pretty simple. Way back emkey1 made app uptime available in his fork, but I don't know how he implemented it.
if this uptime would be accessible via /proc/ish/defaults or /proc/ish/.defaults or by all means some other way, it would be trivial to make a replacement uptime, that shows iSH uptime in standard Unix notation
I think there is a difference between app uptime and VM uptime. The alpine Linux vom has the command uptime so a display for this in the app should be possible.
I found a workaround for the time being. inittab logs startup time, then my modified uptime compares the current time with this and can display both iSH and iOS uptime. https://raw.githubusercontent.com/jaclu/AOK-Filesystem-Tools/main/common_AOK/usr_local_bin/uptime