summaryrefslogtreecommitdiffstats
path: root/pathnames.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-27 16:09:03 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commita8805c5ca391deaae4c58b697b2415db4b7401dc (patch)
tree05d65f7c4c930b8d1d246524b60436fe0908a97b /pathnames.h
parent29b76dcd83a9e1068f4835a8540b2e22314a0abb (diff)
rsmemsiz: Move /proc filename defines to pathnames.h.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'pathnames.h')
-rw-r--r--pathnames.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pathnames.h b/pathnames.h
index 3584ae8..270a810 100644
--- a/pathnames.h
+++ b/pathnames.h
@@ -15,6 +15,10 @@
#define LOCK_AXSPAWN_FILE "/var/lock/axspawn"
#define LOCK_SERIAL_DIR "/var/lock"
+#define PROC_LOADAVG_FILE "/proc/loadavg"
+#define PROC_MEMINFO_FILE "/proc/meminfo"
+#define PROC_UPTIME_FILE "/proc/uptime"
+
#define PROC_AX25_FILE "/proc/net/ax25"
#define PROC_AX25_ROUTE_FILE "/proc/net/ax25_route"
#define PROC_IP_ROUTE_FILE "/proc/net/route"