this post was submitted on 16 Jan 2025
33 points (90.2% liked)

Linux

49012 readers
846 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have been going strong for 34 days and 5 hours.

You can check by running inxi in the command line or checking the CPU in Mission Center

top 50 comments
sorted by: hot top controversial new old
[–] SapienSRC@lemmy.world 1 points 15 minutes ago

I only restart for kernel updates. I put my PC to sleep when I'm not using it.

[–] mvirts@lemmy.world 1 points 38 minutes ago* (last edited 37 minutes ago)

Only a few days, maybe 12 if I had to guess. Im running with memory overcommit disabled and building a rust project with vscode and Firefox open will hang the kernel eventually. I caved to the kernel's expectations and set up a swap partition but it still dies.

I should say it's been on for probably 2 years straight ignoring reboots

[–] Trilobite@lemm.ee 1 points 1 hour ago

I never turn it off it gets an occasional reset when updates need to be installed but that's about it

[–] apotheotic@beehaw.org 6 points 2 hours ago (2 children)

Y'all it takes like 15 seconds to boot from an SSD why are you leaving your computers on?

[–] infinitevalence@discuss.online 2 points 2 hours ago

because I can KVM from one computer to another in under 1 second and I dont feel like adding 14 to that. Plus Folding@Home.

[–] drwho@beehaw.org 1 points 1 hour ago

Because they're processing data all the time? They're doing work?

[–] AmazingAwesomator@lemmy.world 4 points 2 hours ago

i turn my pc off when im not using it to save power; i thought this was normal.

[–] drwho@beehaw.org 1 points 1 hour ago

My work laptop has been up for 26 days, 17:24. My primary server at home has been online for 42 days, 21:27. Personal laptop - 45 days, 20:51. The primary server of my exocortex has been online and crunching away for 278 days, 19:48.

[–] fratermus@lemmy.sdf.org 3 points 2 hours ago

I generally only reboot for stuff like kernel updates.

[–] AceFuzzLord@lemm.ee 2 points 2 hours ago

I think my desktop has been on the past couple days because I've been too lazy to turn it off because I caught the flu and basically slept the past couple days away.

[–] chronicledmonocle@lemmy.world 6 points 5 hours ago (1 children)

Server is rebooted, as needed, for updates. I think it just got a kernel update two weeks ago, so it probably only has ~14 days of uptime.

My desktop and laptop are shut down when not in use. Leaving them on when not in use is pointless.

Never understood obsessions with "uptime". If you have high numbers for uptime, you're a bad sysadmin/maintainer of your hardware unless the appliance is purpose-built to be always up and air gapped.

Exactly. I have services running with staggered automated updates/reboots to keep things stable. Since at least one of them is always available, it's like having no down-time but with actual stability and redundancy.

[–] Frederic@beehaw.org 4 points 6 hours ago

When I had big desktop and all, it was running for days/months. Now, I have a miniPC and I start it up Monday morning and shut if down Friday afternoon.

[–] slazer2au@lemmy.world 32 points 11 hours ago

0 hours.

It is currently off because I don't leave it running overnight when I am not using it.

[–] PureTryOut@lemmy.kde.social 37 points 12 hours ago (1 children)

It's off right now.

Also, inxi? Better use uptime, that command is actually available on all systems and literally exists to check uptime.

[–] gregor@gregtech.eu 3 points 1 hour ago* (last edited 1 hour ago)
uptime -p

for a human-readable format. Here's mine on my Hetzner VPS:

root@snapshot-199288474-ubuntu-16gb-hel1-1:~# uptime -p
up 8 weeks, 6 days, 8 minutes
[–] dino@discuss.tchncs.de 8 points 9 hours ago (2 children)
[–] JamonBear@sh.itjust.works 1 points 9 hours ago (1 children)

Why do you think it's different?

[–] dino@discuss.tchncs.de 8 points 8 hours ago

A server needs to be available, a PC doesn't. As long as your PC is not serving something 24/7.

[–] OmegaLemmy@discuss.online 1 points 9 hours ago (1 children)

Are you telling that to others or me?

I think you should tell that to others

[–] dino@discuss.tchncs.de 10 points 8 hours ago (1 children)

There is no benefit in letting your PC run for days, its just waste of energy and bad behaviour.

[–] dev_null@lemmy.ml 2 points 7 hours ago* (last edited 7 hours ago) (1 children)

When you hibernate, "uptime" counts it even though the computer is off, as it's more of a "time since cold boot".

So I turn off my computer every day, but have an uptime of weeks now.

[–] dino@discuss.tchncs.de 2 points 6 hours ago (1 children)

Nice, so you are turning off your computer and pad your "uptime". clap

[–] dev_null@lemmy.ml 4 points 6 hours ago

I'm just explaining how people end up with high uptimes despite not keeping their computer on all the time. There is no purpose to "padding your uptime".

[–] smeg 8 points 9 hours ago

I don't run any servers and leccy is expensive, they go off when I'm done using them!

[–] Guenther_Amanita@slrpnk.net 8 points 10 hours ago

Usually only as long as I play games. After that, I shut it off. Why?

  • I run Bazzite, which updates itself in the background, but needs a restart to complete
  • It boots in seconds, because modern hard drives are crazy fast
  • The standby-LED is annoying when I sleep

My laptop is usually on for a week, but I restart it from time to time, for the same reasons, and because devices need some sleep too! 😴

[–] gazby@lemmy.dbzer0.com 4 points 8 hours ago (2 children)

I cold-boot daily because fucking nvidia 👺

[–] kylian0087@lemmy.dbzer0.com 2 points 7 hours ago

I can go weeks without rebooting if I want to Using a gtx 1080Ti with it. No idea why so many folks still have these big issues. Some minor issues sure.

[–] OmegaLemmy@discuss.online 3 points 8 hours ago (2 children)

seriously how do you guys all have Nvidia issues this is a gtx 1660 super

[–] drwho@beehaw.org 1 points 1 hour ago

I was wondering that, too. I've got a pair of GTX 1660 Supers in Leandra running a simulation, and they've been crunching away for nine days now.

[–] gazby@lemmy.dbzer0.com 1 points 7 hours ago

Doesn't seem to matter what I do, the card simply refuses to go to sleep. And there's no option to switch it off in the bios 😭

[–] Mwa@lemm.ee 3 points 9 hours ago

23m,Short ik.

[–] ProtonBadger@lemmy.ca 6 points 11 hours ago

My laptop gets shut down every night, booted every morning. If I suspend it sometimes spontaneously wakes later, but boot is so fast anyway so it’s fine.

My server gets updated and rebooted weekly. I don’t bother checking CVE bulletins, I just upgrade weekly.

[–] Max_P@lemmy.max-p.me 3 points 9 hours ago

7 days currently, 30 days on the previous boot. I had to open it up to install extra drives.

[–] ExtremeDullard@lemmy.sdf.org 20 points 14 hours ago (2 children)

That was my family's email server 5 months ago:

So roughly 2500 days today 🙂

[–] drwho@beehaw.org 2 points 1 hour ago

At last, a fellow sysadmin! Nice work.

[–] Steamymoomilk@sh.itjust.works 7 points 13 hours ago

As AOL guy once said

"You got mail"

Damnn what an uptime! Cheer to that!

[–] adarza@lemmy.ca 10 points 14 hours ago

i've been shutting down linux desktops most every day lately, and turning them on only when i want to use one.

[–] theshatterstone54 2 points 9 hours ago

There was a period where I was testing my laptop's hibernation so I got uptime to around 30 days.

But now, The highest uptime I can reach is around 2-3 days if I forget to turn it off and leave it either plugged in or on a high battery so it lasts until the next day.

[–] hanrahan@slrpnk.net 7 points 13 hours ago (2 children)

About 90 mins. I shut it down when i finish every and turn it off at the wall (fuskibg standby LEDs). I can go days without booting it back up. I use #LMDE

load more comments (2 replies)
[–] Hominy_Hank@lemmy.world 10 points 14 hours ago (2 children)

I'm convinced the reason all my drives used to fail is because I would leave the PC on, and only reboot for updates. Otherwise I would just put them to sleep. Three years later, I turn off the PC every night and haven't had a failed drive since.

[–] Shdwdrgn@mander.xyz 3 points 12 hours ago

22:57:20 up 70 days, 16:04, 21 users, load average: 1.10, 1.14, 1.02

Honestly if you were expecting a drive failure in three years, you probably have some other problem. The SSD in my desktop is clocking 7.3 years and I never shut down my machines except to reboot. On my servers, I have run used HDDs from ebay for up to ten years (only retired for upgrades). My NAS is currently running a mixture of used drives from Ebay and some refurbs from Amazon, and I don't anticipate seeing any issues for at least a few more years.

load more comments (1 replies)
[–] furzegulo@lemmy.dbzer0.com 3 points 11 hours ago
[–] vk6flab@lemmy.radio 8 points 14 hours ago

On any command line you can likely just run a single letter command: w

[–] CsXGF8uzUAOh6fqV@lemmy.world 6 points 14 hours ago

I always shut it down every night, so usually not much more than 12 hours at best.

load more comments
view more: next ›