I like how htop has a little warning about uptime

3 years ago by muhyb to c/linuxmasterrace

I’m moving my posts from Reddit to Lemmy before delete them.

This post is from 2022-04-16.

KeyLowMike85 3 points 3 years ago

Your system has been up for a full year, I don't know to be amazed or shocked.

path: 0 2195681, hotness: undefined, score: 3, children: 1
muhyb 1 point 3 years ago

It's a pi-hole server so maybe neither? :)

path: 0 2195681 2195800, hotness: undefined, score: 1, children: 0
cy_narrator 1 point 3 years ago
path: 0 3214950, hotness: undefined, score: 1, children: 5
muhyb 1 point 3 years ago

By ghost file do you mean something in /tmp? Also that seems fun, where can I find that file?

path: 0 3214950 3218148, hotness: undefined, score: 1, children: 4
fedops 2 points 3 years ago

@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.
@cy_narrator

path: 0 3214950 3218148 3224558, hotness: undefined, score: 2, children: 2
cy_narrator 1 point 3 years ago

Ooh

path: 0 3214950 3218148 3224558 3225818, hotness: undefined, score: 1, children: 0
muhyb 1 point 3 years ago

Oh, I guess they implied I edited that file. Also I checked /proc/uptime and indeed it is read-only. Thanks for the info.

path: 0 3214950 3218148 3224558 3224621, hotness: undefined, score: 1, children: 0
cy_narrator 1 point 3 years ago
path: 0 3214950 3218148 3225835, hotness: undefined, score: 1, children: 0
linuxmasterrace
linuxmasterrace

@feddit.de

login for more options
518
52
3

A community for Linux enthusiasts.

May your htop stats be low and your beard grow long

Welcome to !linuxmasterrace@feddit.de former r/linuxmasterrace members and existing Lemmyverse citizens: Feel free to join the newly created !linuxmasterrace@feddit.de community.

Let’s make the full transition to the decentralized Fediverse!

go to feed...