this post was submitted on 16 Jan 2025
64 points (94.4% liked)

Linux

49366 readers
970 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
[–] [email protected] 53 points 1 week 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.

[–] [email protected] 8 points 1 week ago* (last edited 1 week 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
[–] slazer2au 52 points 1 week ago

0 hours.

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

[–] AmazingAwesomator 35 points 1 week ago (3 children)

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

[–] [email protected] 7 points 1 week ago (3 children)

Most people use sleep or hibernate, still uses very little power (none in hibernate) but you don't have to open all your stuff every time.

load more comments (3 replies)
[–] [email protected] 5 points 1 week ago

Yeah same here, my current uptime is 3.5 hours lol

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago)

Mine boots in 35s, according to systemd-analyze critical-chain with 4 of those seconds attributed to me typing in my password.

I'm astounded anyone would leave their machine on overnight.

(At the same time, I'm quite happy to leave my phone in light sleep mode overnight with airplane mode on, so I clearly have some double-standards here)

[–] [email protected] 28 points 1 week ago (3 children)

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

So roughly 2500 days today 🙂

[–] [email protected] 8 points 1 week ago

As AOL guy once said

"You got mail"

Damnn what an uptime! Cheer to that!

[–] [email protected] 7 points 1 week ago (1 children)

security updates are for cowards, amirite? 😂

seriously though, Debian 7 stopped receiving security updates a couple of years prior to the last time you rebooted, and there have been a lot of exploitable vulnerabilities fixed between then and now. do your family a favor and replace that mailserver!

From the 2006 modification times, i wonder: did you actually start off with a 3.1 (sarge) install and upgrade it to 7 (wheezy) and then stopped upgrading at some point? if so, personally i would be tempted to try continuing to upgrade it all the way to bookworm, just to marvel at debian stable's stability.... but only after moving its services to a fresh system :)

[–] [email protected] 3 points 1 week ago (1 children)

security updates are for cowards, amirite? 😂

The server isn't exposed to the internet. It's a local IMAP server.

[–] [email protected] 7 points 1 week ago

The server isn’t exposed to the internet. It’s a local IMAP server.

if it is processing emails that originate from the internet, it is exposed to the internet

load more comments (1 replies)
[–] AnUnusualRelic 25 points 1 week ago (1 children)

Inxi? Mission center? What are those things?

Just run uptime like a normal person.

load more comments (1 replies)
[–] [email protected] 14 points 1 week ago

like 8 hours

I shut it down every day, start up times are fast enough that it doesn't bother me

[–] [email protected] 12 points 1 week ago (8 children)
load more comments (8 replies)
[–] [email protected] 12 points 1 week ago

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

[–] [email protected] 12 points 1 week ago

mines off as we speak. I always turn it off at night.

[–] [email protected] 11 points 1 week ago (1 children)

I turn it off every night when I'm done. It boots quickly and I mostly just use it for the web browser and steam.

My work computer (Mac) I put to sleep because I don't always want to open all the terminals and IDE and such every time.

[–] [email protected] 3 points 1 week ago

I know right I do the same but for my home pc it's easier to get into the groove when it's all in front of you in 3 seconds

[–] [email protected] 9 points 1 week 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! 😴

[–] Hominy_Hank 9 points 1 week 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.

[–] [email protected] 3 points 1 week 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)
[–] chronicledmonocle 9 points 1 week 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.

[–] [email protected] 3 points 1 week ago (1 children)

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.

load more comments (1 replies)
[–] [email protected] 8 points 1 week 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)
[–] [email protected] 8 points 1 week ago

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

[–] [email protected] 7 points 1 week ago

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

[–] [email protected] 7 points 1 week ago

Mine is off at the moment.

[–] [email protected] 6 points 1 week ago (3 children)

I cold-boot daily because fucking nvidia 👺

load more comments (3 replies)
[–] CsXGF8uzUAOh6fqV 6 points 1 week ago

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

[–] SapienSRC 5 points 1 week ago (2 children)

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

[–] [email protected] 4 points 1 week ago (1 children)

This would be me, except the wife says it's "wasting energy." And rather than argue with her I've decided that in an effort for the dream of "happy wife, happy life" I'll just deal with sub 1min boot time

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (1 children)

You might be able to turn off sleep indication (blinking power led) in bios btw:)

[–] [email protected] 3 points 1 week ago (1 children)

.......sunovabetch......I literally just facepalmed. Feel dumb for not having even considered looking into if I could do that. Well....guess papa has a weekend project....

[–] [email protected] 3 points 1 week ago* (last edited 1 week ago) (1 children)

Yeah but then you'd be lying to your wife in order to save 1 minute of boot time... Doesn't seem worth it.

load more comments (1 replies)
[–] SmilingSolaris 4 points 1 week ago

My graphic driver's get corrupted when my computer goes to sleep

[–] [email protected] 5 points 1 week 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.

[–] [email protected] 5 points 1 week ago

I generally only reboot for stuff like kernel updates.

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago)
BlueEther@BlueEthers-MacBook-Air ~ % uptime
17:18  up 47 days,  6:26, 2 users, load averages: 2.19 2.61 2.56
blueaether@lemmy:~$ uptime
 04:25:37 up 204 days, 19:45,  1 user,  load average: 0.09, 0.15, 0.16

The TV/server has been up for 38 days, I think it got turned off by mistake last month

[–] [email protected] 4 points 1 week ago

It's off at the moment. I turn it off whenever I'm not using it for security reasons, and also just noise reasons so the fan doesn't bother me. It boots relatively quickly so I'm unbothered.

[–] [email protected] 3 points 1 week ago

23m,Short ik.

[–] [email protected] 3 points 1 week ago
[–] [email protected] 3 points 1 week ago (1 children)

It's like a daedra, it's been on, has always been on, and will be on forever

load more comments (1 replies)
[–] [email protected] 3 points 1 week ago

I made Windows XP run for 40 days using a custom shell. Things got a bit weird, I ran defrag and memory optimization often.

[–] [email protected] 3 points 1 week ago

I've never had a Windows machine that can stay on longer than ~3 days before developing weird behaviour so it's off right now until I get home.

[–] [email protected] 3 points 1 week ago

My laptop has been up for 123 days. It gets put in standby when it's not in use. I should probably reboot into a new kernel soon.
My desktop gets shut down at night because it's power hungry.
My server gets shut down about once a year for cleaning and hardware upgrades.

load more comments
view more: next ›