System : Ubuntu 12.04
Techs : shell(bash)
I have a bash shell script who calls a web service. The web service is wrote in PHP and it will return true if everything is OK.
The method that I execute the calling service is like this :
wget -T 0 http://host/program/myurl > /tmp/mylog
Every time I execute the script shell with root, it will generate a file which is called myurl.x (x will be replaced by numbers) in my /root directory instead of in the /tmp/mylog, and this file contains only a number : 1, which I thought it means true.
Return substring instance count
Complete the solution so that it returns the number of times the search_text is found within the full_text.
According to wikipedia :
The Linux-HA (High-Availability Linux) project provides a high-availability (clustering) solution for Linux, FreeBSD, OpenBSD, Solaris and Mac OS X which promotes reliability, availability, and serviceability (RAS).
The project’s main software product is Heartbeat, a GPL-licensed portable cluster management program for high-availability clustering. Its most important features are:
no fixed maximum number of nodes – Heartbeat can be used to build large clusters as well as very simple ones
resource monitoring: resources can be automatically restarted or moved to another node on failure
fencing mechanism to remove failed nodes from the cluster
sophisticated policy-based resource management, resource inter-dependencies and constraints
time-based rules allow for different policies depending on time
several resource scripts (for Apache, DB2, Oracle, PostgreSQL etc.) included
GUI for configuring, controlling and monitoring resources and nodes
Link : version chinese
Sous vide 真空
ex. un emballage sous vide真空包装
ex. la pata negra sous vide :)
Merci William pour info.