From edd52d0de45253993007712ff3854bb32a683333 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 22 Feb 2017 11:09:08 +0100 Subject: [PATCH] Show FTL version on Settings page --- settings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings.php b/settings.php index c911ba34..75ff671b 100644 --- a/settings.php +++ b/settings.php @@ -760,6 +760,7 @@ if($FTL) { $parts = preg_split('/\s+/',trim(exec("ps -p `cat /var/run/pihole-FTL.pid` -o pid,start,vsz,rss,euser,egroup,cputime,%cpu,%mem"))); + $FTLversion = exec("/usr/bin/pihole-FTL version"); // pid // time the command started. If the process was started less than 24 hours ago, the output format is "HH:MM:SS", else it is " Mmm dd" (where Mmm is a three-letter month name). // virtual memory size of the process in KiB @@ -777,7 +778,8 @@ if($FTL)
- Process identifier (PID):
+ FTL version:
+ Process identifier (PID):
Time FTL started:
User / Group: /
(WARNING: You should not use root as user for running FTL!)