second by default). Accepts non-integer valuessuch as 1.1 seconds.
-P PID, -- pid = PID
A list of processes/threads tomonitor (all by default ).
-U USER, -- user = USER
A list of users to monitor (all bydefault)
-P, -- processes
Only show processes. Normally iotopshows all threads.
-A, -- accumulated
Show accumulated I/O instead ofbandwidth. In this mode, iotop shows the amount of I/O processeshave done since iotop started.
-K, -- kilobytes
Use
list all running processes, sorted by CPU usage (top of the list with high usage ). Press
C. Exit.
PID = user ID
USER = USER who starts or owns the process.
PRI = Priority of a process (the higher the value, the lower the priority level. Generally, the process is 0, the highest level is-20, and the lowest level is 20.
NI = optimization level (for example, a process tries to run with a given priority value ). The higher the value, the higher the process optimization level (the low
The Iostat command under Linux#iostat-D-k-t 2650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/A9/wKiom1aXZoLx6kxcAAAngDb8OQQ543.png "title=" D4R) 1q5fj_y{12bo9s5_gvo.png "alt=" Wkiom1axzolx6kxcaaangdb8oqq543.png "/>-D: Display devices in the system-K: Indicates the display in kilobytes per second-T: Print out time information2: Count once every 2 secondsThe time information is printed each time the output is displayed, followed by a list
process, in kilobytes. Virt=swap+resThe swap process uses the amount of virtual memory that is swapped out, in kilobytes.The size, in kilobytes, of the physical memory used by the RES process and not swapped out. Res=code+dataThe amount of physical memory the code executable consumes, in kilobytes per kbThe amount of physical memory that is used outside the d
memory used as cache
swap:0k Total
Swap area Memory Total
0k used
Swap area to use
0k Free
Free Swap Area
4187652k
The total amount of buffer swap area. The in-memory content is swapped out to the swap area and then swapped in to memory, but the used swap area has not been overwritten, which is the size of the swap area where the content already exists in memory . When the corresponding memory is swapped out again,
: ISAKMP :( 1002): processing SA payload. message ID = 1093559
871
* Aug 8 20:20:40. 523: ISAKMP :( 1002): Checking IPSec proposal 1
* Aug 8 20:20:40. 523: ISAKMP: transform 1, ESP_DES
* Aug 8 20:20:40. 527: ISAKMP: attributes in transform:
* Aug 8 20:20:40. 527: ISAKMP: encaps is 1 (Tunnel)
* Aug 8 20:20:40. 531: ISAKMP: SA life type in seconds
* Aug 8 20:20:40. 531: ISAKMP: SA life duration (basic) of 3600
* Aug 8 20:20:40. 531: ISAKMP: SA life type in kil
output of an external program into the page. The input of a CGI program or a conventional application can be inserted, depending on whether the parameter is cmd or CGI.Syntax:Parameters:CMD common applicationCGI script programExample:Note: As shown in the preceding example, this command is quite convenient, but there are also security problems.Method prohibited:1. Apache: Delete the "options exist des execcgi" line of code in access. conf;2. to disable the # EXEC command in IIS, modify the ssie
Package com.funs.compressImg.utils;Import Java.io.ByteArrayInputStream;Import Java.io.ByteArrayOutputStream;Import Android.graphics.Bitmap;Import Android.graphics.BitmapFactory;/** Picture Compression Helper class, there are three different ways to compress pictures:* 1, Quality compression method* 2, according to the path by proportional size compression* 3, according to bitmap proportional size compression*/public class Imagecompressutil {/*** Mass compression method* @param image Compressed r
memory available (in kilobytes); Free: idle memory in KB; Buff: The amount of memory to buffer (in kilobytes); Cache: The amount of memory that is used as a cache (in kilobytes). 3.swap (disk-to-memory interaction): Si memory reads from disk, si If you want to be inputsteam so much, so memory writes to disk, so if you want to be outputsteam it's much
192.168.1.200, please use disconnect first. ftp> disconnect 221 Goodbye. Ftp> Open 192.168.1.200 connected to 192.168.1.200. VsFTPd 2.0.5 User (192.168.1.200: (None)): Oracle 331 Please specify the password. Password: Login successful. Ftp> Loc Invalid command. ftp> lcd current local directory G:\testftp. Ftp> 2, download file download file use Get and mget these two commands A. Use the Get command to/home/on the remote server Oracle/product/10.2.0/db_1/network/admin/
/Persistent532 ./.mozilla/firefox/ reo52zta.default/Storage13220 ./.mozilla/firefox/reo52zta.default/adblockplus 38788 . /.mozilla/firefox/reo52zta.default38812 ./.mozilla/Firefox4 ./.mozilla/extensions38820 ./. Mozilla2080040 .
du -HThis command gives you a better output than the default one. The option '-H ' stands for human readable format. So the sizes of the files/directories is this time suffixed with a ' k ' if it kilobytes
last updated to current CPU time consumption percent ltime Total CPU time used by the process, total CPU time per second mtime+ process, Unit 1/100 sec n %memThe percentage of physical memory used by the nbsp; process ovirt the total amount of virtual memory used by the process, in kilobytes. The virt=swap+respswap process uses the amount of virtual memory that is swapped out, in kilobytes. The size, in
process. Size the number of the process's code, plus the size of the data, plus the total amount of stack space, in kb.tsize the process's code size. This is a very strange value for kernel processes. Dsize the size of the data and stack. TRS text resident size. D is marked as "dirty" page item. The size of the library page that LIB uses. does not work for elf processes. RES the total amount of physical memory that the process occupies, in kilobytes.
The IO performance of a disk is an important indicator of the overall performance of the computer. Linux provides the IOSTAT command to obtain disk input/output (i.e. IO) statistics, and Windows provides a WMI interface that allows you to write a simple script to get the functionality that is equivalent to Iostat.
1, Linux under the Iostat command
Iostat-d-k-t 2
The disk IO information is counted every 2 seconds until you press CTRL + C to terminate the program, the-D option indicates the sta
is set to 8. The following example shows to set theEden/survivor spaces ratio to 4:
-xx:survivorratio=4 -xmssize
Sets The initial size (in bytes) of the heap. This value must is a multiple of 1024 and greater than 1 MB. Append the letter K or K to indicate kilobytes, m or m to indicate megabytes, g or G to indicate gigabytes.
The following examples show how to set the size of allocated memory to 6 MB using various units:
-xms6291456
-xms6144k
-xms6m
applications will set-XMS and-xmx to the same value, avoiding the need to continuously request memory during the runtime.
For Java applications, memory consumption is mainly divided into JVM memory consumption and JVM heap memory consumption.
Excessive JVM memory consumption can result in frequent GC execution, increased CPU consumption, slow execution of application threads, and even outofmemoryerror, which eventually results in the Java process exiting.
JVM heap memory consumption, the most n
will only continue to write to the already-determined disk block. DF Command checks the use of disk blocks, however the du command checks the file system and then counts the blocks used by each directory. Because of this feature of the Du command, when a process occupies a file that does not exist, it does not count the disk blocks that the files occupy. However, the DF command keeps track of the disk blocks used and then reports the use of the disk blocks. If you are interested, take a look at
: Linux Displays the CPU occupancy rate as the first few processes using the command. This command sorts tasks by CPU usage, memory usage, and execution time, and many of the commands can be set in interactive commands or in personal custom files. The top primary field has the following meanings:
Table 1. Top field meaning
Column Name
Meaning
Pid
Process ID
USER
User name of the process owner
PR
Task priority
NI
Ni
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.