Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
rinri
/
slstatus
Следить
1
В избранное
0
Форкнуть
0
Код
Задачи
0
Pull Request'ы
0
Релизы
0
Вики
Активность
Просмотр исходного кода
swap: OS split
master
Quentin Rameau
6 лет назад
committed by
Aaron Marcher
Родитель
259e106b4f
Сommit
72f5a0d69a
3 измененных файлов
:
2 добавлений
и
4 удалений
Разделённый вид
Опции Diff
Показать статистику
Скачать Patch файл
Скачать Diff файл
+1
-1
Makefile
+1
-3
components/Linux/swap.c
+0
-0
components/OpenBSD/swap.c
+ 1
- 1
Makefile
Просмотреть файл
@@ -20,7 +20,7 @@ COM =\
components/num_files\
components/$(OS)/ram \
components/run_command\
components/swap\
components/
$(OS)/
swap
\
components/temperature\
components/uptime\
components/user\
components/swap.c → components/Linux/swap.c
Просмотреть файл
@@ -1,10 +1,9 @@
/* See LICENSE file for copyright and license details. */
#if defined(__linux__)
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "../util.h"
#include "../
../
util.h"
const char *
swap_free(void)
@@ -135,4 +134,3 @@ swap_used(void)
return bprintf("%f", (float)(total - free - cached) / 1024 / 1024);
}
#endif
+ 0
- 0
components/OpenBSD/swap.c
Просмотреть файл
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить