Well, it's not really "pretty" yet (as a dashboard) but MQTTool for IOS works, "not bad"... and it's totally free.
I changed the PHP script around a bit to publish all the "Load Averages" (in one message) and all the "Wuhan Coronavirus Stats" (in one message) and subscribed to both of them. In the "Load Average" app, there is the one, five and fifteen minute server load averages (very handy if managing a server, obviously) and in the "Wuhan" app, there are the C (confirmed cases), the S (suspected cases), the D (deaths) and R (recovered cases). You can easily start to image the myriad way to use MQTT for you own private "things" network from this short tutorial, I think.
BTW, I am still searching for a good "dashboard" app for MQTT (for either IOS or macOS), but no joy yet.
When you think about it. MQTT is "the only way to go" if you are developing these kinds of private "IoT" app, every devices can be both a publisher and a subscribe, and if you run your own private MQTT server, you do not have to worry about a third parties mining your data.
Hello,
I'm facing a big problem with my hosting server (Dual Xeon 2.4GHz), I'm having a load in the CPU usage and the memory (maybe it's related) ALSO mySQL:
Server Load 5.34 (2 cpus) (to 22 sometime)
Memory Used 68.4 % (to 70% sometime)
When I go to 'CPU/Memory/MySQL Usage' I found:
... (3 Replies)
Hi all
what are the ways by which we can know and generate a report of the space remaining, memory(ram) used and the load on the server over a period of time. (1 Reply)
we have an unix system which has
load average normally about 20.
but while i am running a particular unix batch which performs heavy
operations on filesystem and database average load
reduces to 15.
how can we explain this situation?
while running that batch idle cpu time is about %60-65... (0 Replies)
Hello all, I have a question about load averages.
I've read the man pages for the uptime and w command for two or three different flavors of Unix (Red Hat, Tru64, Solaris). All of them agree that in the output of the 2 aforementioned commands, you are given the load average for the box, but... (3 Replies)
Hi
anyone know how to setup a setup a virtual IP to control 2 server load for linux? i only have 2 server, i don want to buy another just for the load balance... is there a way to do it?
Sumemr (0 Replies)
Hello AlL,..
I want from experts to help me as my load average is increased and i dont know where is the problem !!
this is my top result :
root@a4s # top
top - 11:30:38 up 40 min, 1 user, load average: 3.06, 2.49, 4.66
Mem: 8168788k total, 2889596k used, 5279192k free, 47792k... (3 Replies)
Hello I am running a liferay application in tomcat on one of my hosted linux machine having 4GB of ram and 1 CPU.
I get the tomcat response really slow and with much digging I found that the cpu might be loaded and can be tracked with top command.
The following is the output of top command:... (0 Replies)
Currently have two ESP8266 modules testing some Blynk apps, whereI'm not so happy with the Blynk business model for developers, but that's another story.
So, with two of my ESP8266s currently "busy", I decided to work on the ESP32, and in particular the ESPWROOM32.
I installed the... (0 Replies)
I have been wrangling with a small problem on a Ubuntu server which runs a LAMP application.
Linux ubuntu 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
This server runs fine, basically:
ubuntu:/var/www# uptime
20:17:13 up 105 days,... (45 Replies)
Discussion started by: Neo
45 Replies
LEARN ABOUT DEBIAN
jifty::script::fastcgi
Jifty::Script::FastCGI(3pm) User Contributed Perl Documentation Jifty::Script::FastCGI(3pm)NAME
Jifty::Script::FastCGI - A FastCGI server for your Jifty application
SYNOPSIS
AddHandler fastcgi-script fcgi
FastCgiServer /path/to/your/jifty/app/bin/jifty -initial-env JIFTY_COMMAND=fastcgi
Options:
--maxrequests maximum number of requests per process
--help brief help message
--man full documentation
DESCRIPTION
FastCGI entry point for your Jifty application
options
--maxrequests
Set maximum number of requests per process. Read also --man.
--help Print a brief help message and exits.
--man Prints the manual page and exits.
DESCRIPTION
When you're ready to move up to something that can handle the increasing load your new world-changing application is generating, you'll
need something a bit heavier-duty than the pure-perl Jifty standalone server. "FastCGI" is what you're looking for.
If you have MaxRequests options under FastCGI in your config.yml, or command-line option "--maxrequests=N" assigned, the FastCGI process
will exit after serving N requests.
SERVER CONFIGURATIONS
Apache + mod_fastcgi
# These two lines are FastCGI-specific; skip them to run in vanilla CGI mode
AddHandler fastcgi-script fcgi
FastCgiServer /path/to/your/jifty/app/bin/jifty -initial-env JIFTY_COMMAND=fastcgi
DocumentRoot /path/to/your/jifty/app/share/web/templates
ScriptAlias / /path/to/your/jifty/app/bin/jifty/
Apache + mod_fcgid + mod_rewrite
An alternative to Apache mod_fastcgi is to use mod_fcgid with mod_rewrite. If you use mod_fcgid and mod_rewrite, you can use this in your
Apache configuration instead:
DocumentRoot /path/to/your/jifty/app/share/web/templates
ScriptAlias /cgi-bin /path/to/your/jifty/app/bin
DefaultInitEnv JIFTY_COMMAND fastcgi
<Directory /path/to/your/jifty/app/bin>
Options ExecCGI
SetHandler fcgid-script
</Directory>
<Directory /path/to/your/jifty/app/share/web/templates>
RewriteEngine on
RewriteRule ^$ index.html [QSA]
RewriteRule ^(.*)$ /cgi-bin/jifty/$1 [QSA,L]
</Directory>
It may be possible to do this without using mod_rewrite.
Lighttpd (<http://www.lighttpd.net/>)
Version 1.4.23 or newer is recommended, and you may adapt this config:
server.modules = ( "mod_fastcgi" )
server.document-root = "/path/to/your/jifty/app/share/web/templates"
fastcgi.server = (
"/" => (
"your_jifty_app" => (
"socket" => "/tmp/your_jifty_app.socket",
"check-local" => "disable",
"fix-root-scriptname" => "enable",
"bin-path" => "/path/to/your/jifty/app/bin/jifty",
"bin-environment" => ( "JIFTY_COMMAND" => "fastcgi" ),
"min-procs" => 1,
"max-procs" => 5,
"max-load-per-proc" => 1,
"idle-timeout" => 20,
)
)
)
Versions before 1.4.23 will work, but you should read Plack::Handler::FCGI's lighttpd documentation
<http://search.cpan.org/dist/Plack/lib/Plack/Handler/FCGI.pm#lighttpd> for how to configure your server.
More information
Since this uses Plack::Handler::FCGI, you might also want to read its documentation on webserver configurations
<http://search.cpan.org/dist/Plack/lib/Plack/Handler/FCGI.pm#WEB_SERVER_CONFIGURATIONS>.
METHODS
run
Creates a new FastCGI process.
perl v5.14.2 2011-01-25 Jifty::Script::FastCGI(3pm)