Commit graph

20 commits

Author SHA1 Message Date
Alexandre Aubin
8b3ec8a137 Diagnosis: report low total space for rootfs 2021-01-21 20:34:43 +01:00
Alexandre Aubin
21a0c65ed6 diagnosis: Ignore /dev/loop devices in systemresources 2021-01-21 20:03:59 +01:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
50f68e2886 Properly handle case where no match from grep 2020-09-08 17:25:11 +02:00
Alexandre Aubin
4c75620ee9
Merge branch 'dev' into code-cleanup 2020-09-06 22:16:06 +02:00
Alexandre Aubin
9640b22a23 Do not miserably fail if no oom_reaper line found... 2020-09-05 19:15:34 +02:00
Alexandre Aubin
ecbd63636b autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/ 2020-09-03 17:36:59 +02:00
Alexandre Aubin
f5acbffb5c Add a diagnosis of processes rencently killed by oom_reaper 2020-08-28 17:12:07 +02:00
Alexandre Aubin
429df8c43f Ugh smaller treshold because people have exactly 500MB ... 2020-05-11 00:44:37 +02:00
Alexandre Aubin
23147161d6 Change warning/errors about swap as info instead ... add a tip about the fact that having swap on SD or SSD is dangerous 2020-05-08 23:56:23 +02:00
Alexandre Aubin
25a1e56921 Misc tweak for disk usage diagnosis, some values were inconsistent / bad UX / ... 2020-05-03 00:17:01 +02:00
Alexandre Aubin
aaccb54775 Hmf, comparison return a warning if swap is exactly 512.. 2020-04-30 02:40:22 +02:00
Alexandre Aubin
3cb47a226f More flexible warning about swap size... Move it to 512 MiB 'cause 256 MiB really aint much I think 2020-04-19 01:43:27 +02:00
Alexandre Aubin
749ca54a34 More sensible cache_duration for diagnosis categories 2020-04-18 02:53:15 +02:00
Alexandre Aubin
a85c15dd0b Update data/hooks/diagnosis/50-systemresources.py
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-17 03:20:40 +02:00
Alexandre Aubin
4787f0ce04 Rework diagnosis of system resources 2020-04-17 03:20:40 +02:00
Alexandre Aubin
3cff370c62 Add some bits of magic to simplify the way we yield test items 2020-04-17 03:20:40 +02:00
Alexandre Aubin
51e7a56522 Improve metadata for diskusage tests 2019-10-13 18:42:45 +02:00
Alexandre Aubin
3d7f37176c Remove debug prints 2019-10-10 16:23:38 +02:00
Alexandre Aubin
47c7c72455 Add RAM and swap diagnosis + improve message for disk usage 2019-10-10 16:14:20 +02:00