• 8 Posts
  • 62 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle











  • Way to put the blame on China when all of the Occident delocalized production over there. Every rich country needs to change, and they also need to help emerging countries to develop sustainably too. We spent centuries destroying the environment for growth and now we’re on top, we can’t tell these countries not to do everything we did because it’s not sustainable.

    Agreed on the “not much you can do on an individual level” though. We need to change the way we consume and live but it’s peanuts compared to what needs to change for mega corpos and countries.









  • Just so you know, the load avg is not actually the CPU load. It’s an index of a bunch of metrics crammed together (network load, disk I/o, CPU avg, etc.). A good rule of thumb is to have your load avg value under the number of cores your CPU has. If your load avg is twice the number of your CPU cores it means that your machine is overloaded by 100%, if it’s equal to your number of cores, your machine is using 100% of its capacity to treat whatever you’re throwing at it.

    To answer your question, you can probably run a script that fetches your 5 min load avg and triggers a reboot if it’s higher than a certain value. You can run it on a regular basis with a systemd timer or a cron job.