I like how htop has a little warning about uptime
I like how htop has a little warning about uptime
![](https://programming.dev/pictrs/image/14b74d6a-74b6-45a4-ace0-d7672e5dcebb.jpeg?format=webp&thumbnail=128)
![](https://programming.dev/pictrs/image/14b74d6a-74b6-45a4-ace0-d7672e5dcebb.jpeg?format=webp)
I’m moving my posts from Reddit to Lemmy before delete them.
This post is from 2022-04-16.
I like how htop has a little warning about uptime
I’m moving my posts from Reddit to Lemmy before delete them.
This post is from 2022-04-16.
Your system has been up for a full year, I don't know to be amazed or shocked.
It's a pi-hole server so maybe neither? :)
Its Linux, everything is a file, this means your uptime is also stored in some (possibly ghost file) that you can access through the filesystem and change it
By ghost file do you mean something in /tmp? Also that seems fun, where can I find that file?
@muhyb I don't know what a ghost file would be but you're probably looking for /proc/uptime. Which you can read but obviously not write to.
@cynarrator
By ghost files I meant files inside /proc /sys /dev that does not exist when OS is not booted
Update your kernels, kids.