Tags: Linux grab tcpdump netstat view network status PS System State free memory usage Iostat disk performanceMonitoring IO Disk Performance命令如下:iostat -x 磁盘使用iotop 磁盘使用
%util look at the health of a hard drive,
Installing Iotop[[emailprotected] ~]# yum install -y iotop
Iotop command, mainly to see the io> column, see the performance of the disk
Free to view memory usage概念:free命令可以查看当前系统的总内存大小以及使用内存的情况。字面意思:tota
: http://jmeter-plugins.org/downloads/all/PerfMon:Used to monitor server CPU, I/O, memory, etc.Serveragent-2.2.1.zipUsage: Perfmon is decompressed and placed on the server under test and shipped./startagent.sh, which works on port 4444 by default1. Check if Linux port is started: Netstat-apnt|grep 44442. Check the JMeter machine to the
Linux commands for viewing CPU informationMore/proc/cpuinfoResultsProcessor:0vendor_id:genuineintelcpu Family:6model:94model Name:intel (R) Core (TM) i5-6500 CPU @ 3.20ghzstepping:3mic Rocode:116cpu mhz:800.000cache size:6144 kbphysical id:0siblings:4core id:0cpu cores:4apicid:0initial APICID:0FPU : Yesfpu_exception:yescpuid level:22wp:yesflags:fpu vme de PSE TSC
This script is to monitor all aspects of the system resources, need to change a little, if the network card is not correct, slightly modified, the mailbox to write their own 163 mailbox, the default is an hour to send an email to the mailbox, the contents of the monitoring can add their own changes, here is the CPU, memory, process, connection number, network card traffic, disk Script, the system is CentOS6
When we manage servers, the ipvsw system is more intuitive, including cpu usage, memory usage, and so on, as long as the task manager in the Remote Desktop is clear at a glance. However, in a linux environment, it is not that easy. In particular, large websites run on servers or vps. If server performance consumption cannot be detected in a timely manner, the website may be accessed during peak hours, I don
In Linux, if you want to monitor the operation of a process, such as viewing its CPU usage and memory usage, you need to read some system information from the system's/proc directory. Then the analysis results, especially in the embedded application This function is very important. The code in this article is obtained from the source analysis of the top command a
Solution for high memory or CPU usage of linux c ++ applications _ 20161213, linux_20161213
For the vast majority of real-time programs, the balance between the loss of machines and the processing speed caused by the Loop Problems in real-time processing related programs, interaction with other programs and the impact on other functions will inevitably become the biggest obstacle in programming and the bigg
application.
You can also prevent your system files from being modified, which you don't yet know.
For example: Login back door, process hidden ...
You also need to be able to notify your phone in a timely manner. And you don't have to stare at the monitor all the time.
Use Description:
This system is used to monitor and manage your Linux server on the wind
kilobytesIo:BI: The number of blocks received from a block device, in units of blocksBo: The number of blocks sent to a block device, in units of blocksSystemIn: Number of interrupts per second, including clock interruptsCS: The number of environment (context) switches per secondCpu:Display as a percentage of total CPU timeUS: User CPU time, including nice times (non-kernel code executed)SY: System
# Licensed under the GNU GPL Version 2.# * Version 0.2 *****# TODO--Create CSV parsing rules for the netstat.# * * * * Configuration *****# set LOG to the dire Ctory want to write the performance data to.# set sleep to the number of seconds you want to SLEEP between samples# SE T HDD to the number of had disks in your machine. log=/home/mark/perfmon/livesleep=10hdd=2htype=$ (uname-s) Genstat () {now=$ (date +%s) while ["$now"-ne "+"] do sleep 1 n ow=$ (date +%s) done while:; Do dat=$ (date +%y%
Conky is a System Monitor written in the ' C ' language and released under the GNU GPL and the BSD license agreement, which is available in both Linux and BSD operating systems. This application is based on the X-Windows system, which originally came from the Torsmo branch.
Characteristics
A concise user interface;
Highly configurable;
It can use a built-in part (more than 300) or use an external script
has been using Jconsole to monitor the JVM, the graphical interface is easy to use, recently because the need to operate under the pure Linux, so summed up the Linux monitoring JVM under the example, this time the main use of the Jstat tool,The meaning of each parameter:Jstat-class PID: Displays the number of loaded classes, and the amount of space that is occupi
One, Linux under View CPU cache series, each level sizegrep CacheThe example results are as follows:Second, see how the cache is associatedView the appropriate folder in the/sys/devices/system/cpu/If you see how many groups are in the first-level cache of cpu0,Cat /sys/devices/system/cpu/cpu0/cache/index0/number_of_set
one. Download Nmon. Depending on the type of CPU you choose to download the appropriate version:Http://nmon.sourceforge.net/pmwiki.php?n=Site.Downloadwget http://sourceforge.net/projects/nmon/files/download/nmon_x86_12a.zip/download two. Initialize the Nmon tool. #unzip nmon_x86_12a.zip archive: nmon_x86_12a.zip Span style= " font-size:16px;"> inflating:nmon_x86_rhel45 inflating:nmon_x86_rhel52 inflating:nmon_x86_sles9 inflating:nmon_x86_
One. Download Nmon.Depending on the type of CPU you choose to download the appropriate version:Http://nmon.sourceforge.net/pmwiki.php?n=Site.Downloadwget http://sourceforge.net/projects/nmon/files/download/nmon_x86_12a.zip/downloadTwo. Initialize the Nmon tool.#unzip Nmon_x86_12a.zipArchive:nmon_x86_12a.zipInflating:nmon_x86_rhel45Inflating:nmon_x86_rhel52Inflating:nmon_x86_sles9Inflating:nmon_x86_sles10inflating:nmon_x86_ubuntu810Inflating:nmon_x86_f
We can get the information we need in/proc/cpuinfo.
1. The current CPU model
[root@ localhost ~]# cat/proc/cpuinfo |grep ' model name ' |uniq
Model NAME:AMD Opteron (tm) Processor 6140
2. Current CPU operating mode
[Root@localhost tmp]# getconf Long_bit
32
Indicates that the current CPU is running in 32-bit environments
3. Whether the current
Tags: monitoring io performance FREE Command PS command View network status Linux under Grab BagMonitoring IO PerformanceIntroductionThe Iostat is primarily used to monitor the IO load on the system device, iostat the statistics from the start of the system startup when the first run, and then running Iostat displays statistics from the last time the command was run. Users can obtain the required statistics
daily summary of process accounting at 23:5353 * * * ROOT/USR /lib/sa/sa2-a >/dev/null Ten, again with the top command to view the process only more than 100, monitoring the alarm disappears, the problem is done![[Email protected] cron.d]# service SendMail restartsendmail:unrecognized service[[email protected] cron.d]# toptop-10: 43:12 up 184 days, 20:37, 2 users, load average:1.03, 1.54, 14.15tasks:105 Total, 1 running, 104 sleeping,
0 stopped, 0 zombiecpu (s): 43.4%us, 1.3%sy, 0.0
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.