Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
rinri
/
slstatus
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Değişiklik İstekleri
0
Sürümler
0
Wiki
Aktivite
Kaynağa Gözat
swap: OS split
master
Quentin Rameau
6 yıl önce
committed by
Aaron Marcher
ebeveyn
259e106b4f
işleme
72f5a0d69a
3 değiştirilmiş dosya
ile
2 ekleme
ve
4 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+1
-1
Makefile
+1
-3
components/Linux/swap.c
+0
-0
components/OpenBSD/swap.c
+ 1
- 1
Makefile
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet