How long has your PC been on for?
from OmegaLemmy@discuss.online to linux@lemmy.ml on 16 Jan 03:45
https://discuss.online/post/15311154
from OmegaLemmy@discuss.online to linux@lemmy.ml on 16 Jan 03:45
https://discuss.online/post/15311154
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
threaded - newest
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.
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).
55 days, 34 mins
Edit: my Mac mini (the torrent client) is 199 days.
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.
Recent 535.216.01 seems to improve that.
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
FWIW did you try download.nvidia.com/…/powermanagement.html ? Namely enabling nvidia-suspend.service/nvidia-hibernate.service nvidia-resume.service services?
On any command line you can likely just run a single letter command:
w
That was my family’s email server 5 months ago:
<img alt="" src="https://lemmy.sdf.org/pictrs/image/decd8b30-9d48-4d9d-99f6-98fda2ebed89.png">
So roughly 2500 days today 🙂
As AOL guy once said
“You got mail”
Damnn what an uptime! Cheer to that!
At last, a fellow sysadmin! Nice work.
Default username: “dr” ?
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 :)
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
I always shut it down every night, so usually not much more than 12 hours at best.
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.
As of today about 10 years not counting the odd driver restart
The TV/server has been up for 38 days, I think it got turned off by mistake last month
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.
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.
Thanks to Mint's updates... about 10 minutes.
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.
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.
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.
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.
i’ve been shutting down linux desktops most every day lately, and turning them on only when i want to use one.
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
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.
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.
It’s off right now.
Also, inxi? Better use
uptime
, that command is actually available on all systems and literally exists to check uptime.for a human-readable format. Here’s mine on my Hetzner VPS:
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.
34 days without booting? Are you using a Debian system and don’t update often? You should, for security patches at least. I’m on an Arch based system and update every day. Sometimes there are updates that require a reboot, so all services are up to date. My system is often up for a few days, sometimes even for a week.
Small tip, logging out and in will have a semi clean environment without a full boot. That means the uptime won’t reset.
I have 4000 packages to update
That’s a lot. But that also means your system is not very secure, as you are missing ton of security patches for the packages.
07:38:25 up 15 days, 15:54, 2 users, load average: 2,93, 2,24, 1,65
12 days and 17 hours. As another commenter pointed out, checked with
uptime
53 min
Mine turned off yesterday for an update.
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.
0 hours.
It is currently off because I don’t leave it running overnight when I am not using it.
Usually only as long as I play games. After that, I shut it off. Why?
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! 😴
I don’t run any servers and leccy is expensive, they go off when I’m done using them!
PC != server.
Are you telling that to others or me?
I think you should tell that to others
There is no benefit in letting your PC run for days, its just waste of energy and bad behaviour.
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.
Nice, so you are turning off your computer and pad your “uptime”. clap
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”.
Why do you think it’s different?
A server needs to be available, a PC doesn’t. As long as your PC is not serving something 24/7.
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.
that’s not a server machine
Well my “Server” just a repurposed desktop with a headless debian install.
now that’s a server. mine is like that too. its not the hardware but the purpose that makes a machine a server
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.
7 days currently, 30 days on the previous boot. I had to open it up to install extra drives.
23m,Short ik.
I cold-boot daily because fucking nvidia 👺
seriously how do you guys all have Nvidia issues this is a gtx 1660 super
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 😭
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.
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.
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.
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.
This is the way
I generally only reboot for stuff like kernel updates.
.
Y’all it takes like 15 seconds to boot from an SSD why are you leaving your computers on?
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.
Those proteins and RNAs are now the domain of deep learning, thankyouverymuch! Pull the plug!
Eh, like that’s fair its personal preference but the energy waste of just having your PC idle is just weird to me. (Folding@home is totally reasonable)
Because they’re processing data all the time? They’re doing work?
Mm, fair if you are running some task while you’re not “actively” using the PC. Although given the general sentiment of people in the replies, the leading reason is “I’m lazy” or “its convenient”.
With several comments now showing surprise about this, is sleep mode or hibernation not common knowledge?? Windows and every Linux distro I’ve tried has sleep mode enabled by default.
I wouldn’t, and I don’t think most people would, consider being in hibernation mode or sleep mode as “on”. Sure, it will add to your uptime, but like its a demonstrably different power state.
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.
i turn my pc off when im not using it to save power; i thought this was normal.
Yeah same here, my current uptime is 3.5 hours lol
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)
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.
Even with the power of ssds?
SSDs make hibernate even more powerful
That’s why things like suspend-then-hibernate are popular now
Hibernate is even better with a fast SSD.
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.
I never turn it off it gets an occasional reset when updates need to be installed but that’s about it
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
I only restart for kernel updates. I put my PC to sleep when I’m not using it.
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
You might be able to turn off sleep indication (blinking power led) in bios btw:)
…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…
Yeah but then you’d be lying to your wife in order to save 1 minute of boot time… Doesn’t seem worth it.
…damn you…this is also true.
My graphic driver’s get corrupted when my computer goes to sleep
Last time it was off was during the summer holidays.
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.
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
Uptime: 26d 17h 44m
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.
like 8 hours
I shut it down every day, start up times are fast enough that it doesn’t bother me
It’s like a daedra, it’s been on, has always been on, and will be on forever
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.
I made Windows XP run for 40 days using a custom shell. Things got a bit weird, I ran defrag and memory optimization often.
Inxi? Mission center? What are those things?
Just run uptime like a normal person.
tbf, inxi is surprisingly powerful (dunno if that’s the word… Insightful maybe?).
Uptime: 9 days, 13 hours, 36 mins
Mine is off at the moment.
mines off as we speak. I always turn it off at night.
I reboot mine when I’m bored
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.
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.
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
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.
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.
Today I learned the inxi command does so much more than I thought. I’ve only used it to check on my RAM once
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.
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.