Alibabacloud.com offers a wide variety of articles about status monitor application, easily find your status monitor application information here online.
define the way the function is and monitor the site's survival status#!/bin/bash./etc/init.d/Functionsretval=0Scripts_path="/tmp/test"Mail_group="[email protected]"Log_file=/tmp/test/web.logfunction Geturlstatus () {Failcount=0 forIinch' Seq3`; Dowget-T2--tries=1--spider http://${1} >/dev/null 2>1[$?-ne0] let failcount+=1; Doneif[$FAILCOUNT-GT1];then RETVAL=1Nowtime=$ (date"+%y-%m-%d%h:%m:%s") echo
Cacti in the English meaning is the meaning of cactus, Cacti is a set of PHP,MYSQL,SNMP and rrdtool development of network Traffic Monitoring Graphics analysis tool, using PHP development, it is composed of a number of PHP page software, mainly for the enterprise's large number of network equipment, server host Can monitor the service, can provide the CPU load, memory consumption, running process number, disk space, network card traffic and other data
Android Monitor network status When we use an Android phone, some apps need a network environment to run, so the phone needsavailableNetwork, whether it is 2G, 3G or WiFi, even some of the more consumption of the app can only operate in the WiFi environment, or provide users to choose whether only in the WiFi environment, as the user seems the latter experience better, then as a developer, we just need a f
Use iostat in Linux to monitor the I/O status.
We can use sar (1), pidstat (1), mpstat (1), vmstat (8) for monitoring.I. Installation
yum install sysstatIi. Parameter explanation
FILES
/proc/stat contains system statistics./proc/uptime contains system uptime./proc/partitions contains disk statistics (for pre 2.5 kernels that have been patched)./proc/diskstats contains disks statistics (for post 2.5 kernels)
The status of the listening screen needs to be broadcast, and we must also dynamically register the broadcast to enable the monitor screen to be dimmed (invalid static registration). I am here in the service to do the processing, no technical difficulty, directly on the code. PackageCom.kale.camerademo;ImportAndroid.app.Service;ImportAndroid.content.BroadcastReceiver;ImportAndroid.content.Context;Importandr
Do you want a top-like command to show the status of Memcache so that the memcache can be visually analyzed, and that MEMCAHCE top will satisfy your requirements?The project address for Memcache-top is as follows: http://code.google.com/p/memcache-top/After downloading only a file, you can open it and memcached cluster configuration, multiple nodes separated by commas, so that you can see all the memcache state of the cluster at once.# List of Servers
busy. The number of concurrent connections to a website is how many clients are attached at the same time.
Linux under Grab Bag
Grab Bag Tool tcpdump
There is no need to install this command: Yum install-y tcpdump
Specify the NIC name Tcpdump-nn-i ENS33
After running the above command, there will be a dense string of strings, before pressing CTRL + C, these strings have been brushing the screen, the faster the brush screen indicates more p
: Dynamicstarttime:16/nov/2014:13:29:11 +0800startsince:77844accepted conn:202788listenqueue: 0maxlistenqueue:1listenqueuelen: 128idleprocesses:6active processes:1totalprocesses:7max activeprocesses:4maxchildrenreached:0slowrequests: 0Pool Pool NameProcess Manager static or dynamicStart timeHow long the start since started, in secondsAccepted conn Pool number of requests receivedIdle processes free Process numberListen Queue The number of the request in the queue of pending connections. If This
Monitor the online status of users based on the connection pool monitoring component druid.
Original article: Monitoring users' online status based on druid, a connection pool monitoring component
Source code: http://www.zuidaima.com/share/1550463574248448.htm
Let me share some code. Recently, I have been monitoring the online
of the process (directory)--"for the benefit of other virus intrusion view illegal process." Stat Description:D a process that cannot be interruptedThe process of R run stateS Process in sleep stateT pause, Stop the processZ Zombie Process+ Foreground ProcessN Low-priority processesMemory paging is locked in memoryS master ProcessL Multithreading ProcessView network StatusNetstat (view TCP/IP communication status)Listening port: For other machines to
machine.===swap virtual memory Exchange = = =si: The size of virtual memory read from disk per secondSo: the size of virtual memory written to disk per second* Analysis(1) Si: If this value is greater than 0, it means that the physical memory is not enough or the memory leaks, to find out the memory-consuming process(2) So: If this value is greater than 0, ibid.===io read-Write condition = =bi: The number of blocks received per second by the block device, where the block device refers to all th
In vs2005, we can use the new my function and the timer component to monitor the local network connection status in real time,
Code As follows:
If my. Computer. Network. isavailable = false then
Me. label1.text = "connection to network server: disconnected"
Me. textbox1.text = ("the computer is not connected to the network. Check whether the network is plugged in or contact the system administrator." "the
CentOS SystemInstallation:Yum-y Install RedisBring your own Redisbench test tool1, Redis-benchmarkRedis benchmark information, Redis server performance detectionredis-benchmark-h localhost-p 6379-c 100-n 100000100 concurrent connections, 100,000 requests, detects Redis server performance with host localhost port 6379Benchmark Tool Test Information:Test command:Redis-benchmark-n 100000-C 60Send 100,000 requests to the Redis server with 60 concurrent clients per requestResults (partial):====== SET
We have long lacked a way to judge whether a user is browsing a specified tab. Does the user go to another website? Did they switch back?Now, the HTML5 page visibility interface gives programmers a way to use Visibilitychange page events to determine the state of the current page visibility and to perform certain tasks in a targeted manner. There are also new Document.hidden properties that can be used.Document.hiddenThis new Document.hidden property, which shows whether the page is the page tha
You can use bootchart to conveniently monitor linux Startup and RuntimeStatus, And the status information is Graphically displayed and output as an image.However, because of the special implementation of bootchart, it is not suitable for embedded systems.In an embedded system, you can use the simplified bootchart-lite to replace bootchart.1. Download bootchart-lite source codeHttp://code.google.com/p/bootch
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.