このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
rinri
/
slstatus
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
swap: OS split
master
Quentin Rameau
6年前
committed by
Aaron Marcher
親
259e106b4f
コミット
72f5a0d69a
3個のファイルの変更
、
2行の追加
、
4行の削除
分割表示
差分オプション
統計情報を表示
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
ファイルの表示
書き込み
プレビュー
読み込み中…
キャンセル
保存