common tools for Linux system monitoring I. System core Toolkit (COREUTILS)1./BIN/DF report The disk space usage of the system df-h display the disk partition fdisk-l2./bin/uname Display System Information UNAME-SRVMOTwo. System Process Toolkit (PROCPS)1./bin/ps Display system process ps-ef PS aux2./USR/BIN/PGREP Filtering Display System process3./usr/bin/free display of system memory usage4./usr/bin/vmstat
1. QuestionsOutOfMemoryError: Insufficient memory;Memory leaksThread deadlockLock Competition (lock contention)Java consumes too much CPU2. Java Common Health ToolsJPS (Java Virtual Machine Process Status tool) monitors JVM process state informationUse format:JPS [Options] [HostID]-M: output parameters that pass in the Main method-L: Displays the fully qualified name of the main class or Jar-V: Displays the parameters specified for the JVM virtual machineJstack : View the thread stack informatio
[O M engineer _ 02] 20 built-in Linux system monitoring tools: vmstat and netstat. This article is the second article and the first article of O M engineer on the road. See: [O M tips _ 01] 20 built-in monitoring tools for Linux systems: top gossip, reading and writing O ~ (2) If vmstat is written in front, here Roc
There are a lot of performance tools on the Linux platform, a dazzling, long-term groping and experience finding the best thing to use is the proven, simple gadgets. Brendan D. Gregg, a system performance expert, updated his famous talk (Linux performance Tools) and slides on Linux in the recent LinuxCon NA 2014 conference.Compared with Brendan last year's talk, this year added testing and optimization to t
Linux performance monitoring, testing, and optimization tools
There are a lot of performance tools on the Linux platform, dazzled, long-term exploration and experience found that the best to use is those long-tested, simple gadgets. System Performance Expert Brendan D. Gregg updated his famous Linux Performance Tools
There are a lot of performance tools on the Linux platform, a dazzling, long-term groping and experience finding the best thing to use is the proven, simple gadgets. Brendan D. Gregg, a system performance expert, updated his famous talk (Linux performance Tools) and slides on Linux in the recent LinuxCon NA 2014 conference.Compared with Brendan last year's talk, this year added testing and optimization to t
Deny from all
Allow from 172.16.16.25
Directory>
After you have made changes to the above configuration, don't forget to restart Apache.
# Service Apache2 Reload
Four, Monitorix screen:Here are some screens, see.Monitorix Web InterfaceSystem load average value, active process, and memory allocation.Global kernel UsageKernel usage per processordisk drive temperature and health statusFile system usage and input/output activityEth0 Interface TrafficSystem service Re
Nethogs IntroductionNethogs is an open-source, free, terminal network traffic monitoring tool that monitors the network traffic of Linux processes or applications. Nethogs can only monitor the network bandwidth consumption of the process in real time. Nethogs supports IPV4 and IPV6 protocols, supports local network cards, and PPP links.The official introduction is as follows:Nethogs is a small ' net top ' tool. Instead of breaking the traffic down per
I. Installation IPTRAF: (Traf is a shorthand for traffic, meaning traffic, transportation)Run command: sudo apt-get install Iptraf
Two. Iptraf use:Run command: IptrafThen press any key to continue650) this.width=650; "src=" http://img1.51cto.com/attachment/201203/134124722.jpg "border=" 0 "/>First item: IP traffic MonitoringSecond item: General view network card traffic status. View only the total traffic for each NICThe third item: Check the network card traffic status in detail. s
Tools for monitoring user operation Records under Linux:Apt-get Install Bsdutilsmkdir/opt/operation_logchmod 777-r/opt/operation_logvi/etc/profileEXEC script-t 2>/opt/operation_log/$USER-$UID- date +%F-%T . Data-a-q-f/opt/operation_log/$USER-$UID- date +%F-%T . Log: WqSource/etc/profileOperation Record Playback:Scriptreplay/opt/operation_log/root-0-2018-01-30-20\:11\:29.data/opt/operation_log/root-0-2018-01
)) 999 printf ("%d", i); 168}}Procedure trial Teaching Performance monitoring instructions, SQRT takes up the most time. P3 move the SQRT function outside the For loop,#include int i,bound; Bound =root (n); for (i =2;i 999 { if (n%i==0) 5288 return 0; 831 return 1; 168 }} Main () { int i, n; n=1000; 1 for (i=2;iP4By a special
JSTAT:JVM Statistics Monitoring Tool The Jstat command monitors various runtime state information for the JVM virtual machine, including memory status, garbage collection, loading of classes, and so on. Jstat command format: jstat [option Vmid [interval] [count]] Jstat command Examples Command: JSTAT-GC 1203 500 3 Command explanation: Check the status of garbage collection with process ID 1203 every 500 milliseconds, query 3 times Command options
|one-line-both|one-line-sent|one-line-received)
Controls the appearance of each item in the display.
Show-totals: (Yes|no)
Shows cumulative total for each item.
Log-scale: (Yes|no)
Use a logarithmic scale for bar graphs.
Max-bandwidth:bw
Fixes the maximum for the bar graph scale to bw, e.g. "10M". Note that the value have to always is in bits, regardless if the option to display in bytes have been chosen.
Net-filter:net/mask
Defines an IP network boundary for determining packet
setting
> Db.getprofilinglevel ()
2
View Profile Log
Copy Code code as follows:
> Db.system.profile.find (). Sort ({$natural:-1})
{"TS": "Thu 2009 15:19:32 GMT-0500 (EST)", "info":
"Query test. $cmd ntoreturn:1 reslen:66 nscanned:0 query: {profile:2} nreturned:1 bytes:50",
"Millis": 0}
3 The meaning of a field
1.ts: Time stamp2.info: Specific operation3.millis: The time taken by the operation, MSNot much, there are official documents here. Note that t
Installation:sudo add-apt-repository ppa: Ferramroberto/linuxfreedomlucidsudo apt-get update sudo apt-get install NetspeedThen in this way you can not find the launcher, so after research, this is only suitable for GNOME desktop use, if unity needs to install the following version:Unloadingsudo apt-get remove netspeedInstalling a unity-enabled versionsudo apt-add-repository ppa: Fixnix/netspeedsudo apt-get updatesudo apt-get Install Indicator-netspeed-unityStartIndicator-netspeed-unity It will t
Today introduced a Linux under the monitoring of real-time broadband use of software iftop,iftop can view the flow of dynamic, to help you solve, find the network slow problem.Of course, check the network card traffic tools and Iptraf, nethogs and so on, the main recommended today iftop!Software Installation:
cd/byrd/tools/wget http://www.ex-parrot.com/~pdw/ifto
Linux performance monitoring and analysis tool background recently, a pre-developed system performance test is required. The system is deployed on the Linux server cluster. In high concurrency and high load scenarios, you can collect all the information (including CPU, memory, I/O, disk, and network traffic) occupied by each device... linux performance monitoring
Six Linux Performance monitoring command-line tools1.htop-http://htop.sourceforge.net/A process viewer that allows the user to interact with it. A text-mode application that is used primarily in console or X terminals. Currently has a tree-like view of the process, support color themes, can be customized and other features.2.dstat-http://dag.wieers.com/home-made/dstat/A tool to replace Vmstat, Iostat, Netstat, nfsstat and Ifstat commands, is an all-in
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.