battery usage monitor

Want to know battery usage monitor? we have a huge selection of battery usage monitor information on alibabacloud.com

Shell script to monitor disk usage (local + remote)

Any partition used to 90% send a message to the specified recipient, to 95% on the subject of the message Warning (warning), instructions to send mail program email#!/bin/bash#Updated: 2008-03-03 PM by:leif ([email protected])Email=/usr/local/bin/email/bin/df-h >/tmp/df.txtUse= ' Df-h | Grep-o [0-9]*% | Grep-o ' [0-9]\+ 'For I in $USEDoif (($i > 95))Then$EAMIL-S "WARNING low disk space for $i" [e-mail protected] BreakFiif (($i > 90))Then$EMAIL-S "Low disk space for $i" [EMAIL protected] fiDone/b

Zabbix Monitor nginx,php-fpm and MySQL memory usage and number of processes with custom scripts

Zabbix Monitor nginx,php-fpm and MySQL memory usage and number of processes with custom scriptsFirst, add a script under the Zabbix script directory and write the following code#!/bin/bash#license: GPL#mail: [Email protected]#date: 2015.04.16Top-bn1>/usr/local/zabbix-2.4.4/scripts/process.logLog=/usr/local/zabbix-2.4.4/scripts/process.logPHP_FPM () {grep "PHP-FPM" $LOG |awk ' {sum+=$6}; End{print sum} '}Php

Shell scripts monitor system load, CPU, and memory usage

$} '#设置交换分区的告警值为20%swap_warn=0.20if (($swap _used! = 0)); Then#如果交换分区已被使用, calculates the percentage of the total of the current remaining swap partition free, in decimal notation, to complement an integer digit before the decimal point 0Swap_per= ' echo ' scale=2;b= $swap _free/$swap _total;if (length (b) ==scale (b)) print 0;print B "|BC"#当前剩余交换分区百分比与告警值进行比较 (1 is returned when the value is less than 20%, and 0 is returned if it is less than)swap_now= ' expr $swap _per \ #如果当前交换分区使用即剩余小于20% (

Using NC commands under Linux to monitor port usage of the detection server (reproduced)

Recently encountered a project, front end with Apache HTTTPD for publishing (80 port), through the dual-machine load balancer forwarding to the back end of two tomcat processing (8081 and 8082 ports), now need to monitor the situation of these three ports, once down the need to be able to immediately alarm processing. Batch system monitoring is a good use of nagios software to achieve, such a small project to install a Nagios software, a bit cumbersom

How to monitor Windows memory usage for Java applications

One of the best known advantages of Java technology is that, unlike other languages such as C programmers, Java programmers do not have to be responsible for daunting memory allocations and releases. The Java runtime can manage these tasks for you. Each instantiated object automatically allocates memory in the heap, and the garbage collector periodically reclaims the memory occupied by objects that are no longer in use. But you're not completely out of it. You still need to

Using Shell to monitor memory usage scripts in Linux

In order to more easily know the memory usage on the server, and according to the memory use size to restart the service, I only the whole fault alarm, if you want to automatically restart the service, we will have to modify their own. Script content: It's written, it's not very good-looking, and it's not very good with awk, it's not going to be output in awk, so use a long string of characters to improve The code is as follows Copy

Total Pages: 4 1 2 3 4 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.