Spyke

It's off right now.

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

53
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
8

0 hours.

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

52
Taasz/Woofreply
lemmy.blahaj.zone

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.

7

SSDs make hibernate even more powerful

That's why things like suspend-then-hibernate are popular now

2

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)

4
lemmy.ml

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 :)

7
lemmy.sdf.org

security updates are for cowards, amirite? 😂

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

3

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

7

tbf, inxi is surprisingly powerful (dunno if that's the word... Insightful maybe?).

1

like 8 hours

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

14

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

12

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

14

At the lower end, it's a pretty rocky line. It's easy to image a person who games during the day and torrents at night on the same machine. Or runs a plex server but only when they want to watch something while they sleep.

2
Omegareply
discuss.online

Are you telling that to others or me?

I think you should tell that to others

0
dinoreply
discuss.tchncs.de

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

9
dev_nullreply
lemmy.ml

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.

3
dinoreply
discuss.tchncs.de

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

0

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".

6
ttrpg.network

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.

11

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

3

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.

9

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.

3
lemmy.world

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.

9

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.

3

even when your pc is on, the drives should power off when they haven't been utilized for a while. i used to keep my machines running 24/7, and i mean not even letting them sleep, and i have never had a drive fail. since electricity prices started going up i let them autosuspend to save money. if you have mechanical hard drives, make sure they are mounted in a proper orientation. with SSDs, there are lots of manufacturers out there, so choose a reputable one.

2

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! 😴

9
slrpnk.net

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

8
sh.itjust.works

Flashing standby light on my monitor drives me nuts let alone the bajillion standby LEDs that would be on in our lounge if we didn't turn everything off at the wall every night.

2

You can get power strips that will sense the load on one outlet and shut all the others off if the load is below a certain amount. They are handy for shutting off those annoying standby LEDs automatically.

2

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

7
Omegareply
discuss.online

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

2

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 😭

2

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.

2

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.

5
lemmy.world

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

5
Sturgistreply
lemmy.ca

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

4
taazreply
biglemmowski.win

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

4
Sturgistreply
lemmy.ca

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

3
prolereply
lemmy.blahaj.zone

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

3

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.

4
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

4

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.

3

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

3
lemmy.ca

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

3

Kstuff but on the desktop. Am I right? Either that or SSI the desktop so I can shunt processes over for the patch run and not have to close sessions.

2

People leave their PC on constantly? I understand leaving servers running but i always turn my PC on in the morning, then off at night once im finished.

3

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.

3

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

2

My Arch system stays on until a firmware package needs an update. Then i cry and scream bc it's only been a month since the last one. Also I just updated a bunch of those, so my system has not been on long.

2

I have an Nvidia GPU and suspend/resume works about 20% of the time so my PC is shutdown every time I won't use it for a few hours. Don't use my personal computer that much so it doesn't really bother me a lot. My laptop is however long the battery lasts with the lid closed, I don't use it much so most times I pick it up it's dead.

2
utopiahreply
lemmy.ml

Recent 535.216.01 seems to improve that.

1
sh.itjust.works

I'm on 565 haha, I think it's got to do with the kernel, I've seen people say it's solved with 6.13

1

It depends. Sometimes I shut it down every night. Occasionally, I'll leave it in sleep mode for a few days.

I think the longest uptime I've had on anything I've owned is probably a month or so on a Raspberry Pi 4 server I used to have running with a personal Mediawiki instance (I still have the Pi, but if I ran a server in my dorm, I have the feeling someone might come to bite off my hand).

2

I turn mine off to save power when I'm not actively using it. I have a small 65 watt server that stays on all the time. Currently it has been up for 3 months or so.

1

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

1

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.

1

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

1

I have a well-fenced server that I inherited 20 years ago and, but for power outages, has been in operation throughout. It survived a p2v but will not survive the coming v2v. #rhel4 #vmscare

1

I have a drive that's roughly 13 years old, and has around 11 years 80 days of power on time if that says how much my computer is on.

I only restart it when windows updates start fucking with my networking or my audio drives entirely shit the bed.

1

As of today about 10 years not counting the odd driver restart

1

I had about 300 days of uptime on my server but I did some hardware maintenance recently. I'm back up to like 20 but I need to do more stuff.

I did find a fun "bug" the other day with windows and how it tracks uptime. Since shutting down hibernates the kernel it doesn't treat it as time off. So when I fired up this surface I hadn't used in a long time it had 180 days of uptime.

1

My main PC only stays on for a couple days at a time (on sleep/hibernate when not in use) only because I'm generally too lazy to shut all programs down. I reboot on updates though, which is every couple days.

1

I have all my devices set to reboot once weekly a few hours after daily scheduled updates. I probably don't need to do this, but I do. It's a habit I got in with scheduling router reboots, and then started extending it to other devices. It's nice to have some solid uptime, but I have three unbound DNS servers in sequence so they update and reboot on a staggered schedule so it's like they never go down.

You never know when the odd cosmic ray is gonna hit and flip yer bits.

1

I turn it off every night or if I'm away for many hours, so about 10 minutes right now.

I do have a Raspberry Pi that's been up 12 weeks, 5 days, 19 hours, 59 minutes. I believe there was a planned power outage when it was lasted turned off.

1

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.

1

I'm surprised how many people turn their computers off. My desktop uptime is 4 day, but, I do put it to sleep at night (which I think counts towards its uptime).

I will look into hibernating. The reason I don't shut down is because I usually end up with carefully placed windows and lots of ongoing projects all over. Restarting would mean I'd have to start all that up again - assuming I remember what I was doing.

1

Today I learned the inxi command does so much more than I thought. I've only used it to check on my RAM once

1

One or two of my computers have been on for about five years. The laptop I use mostly has been on for several months. But I'm a very teched-up person. I've got computers in various forms all over the place. Actually less nowadays compared to many years ago. I don't shut anything down because I've got various services in operation 24/7.

1