information area statistics area. Let's start by understanding the meaning of the columns.Ordinal column name meaningA PID process IDb PPID parent Process IDC ruser Real user nameD UID process owner's user IDE username of user process Owner Group Name of the F group Process owner The terminal name of the G TTY boot process. Processes that are not started from the terminal are displayed as?H PR -PriorityI NI nice value. Negative values indica
that are not started from the terminal are displayed as?H PR-PriorityI NI nice value. Negative values indicate high priority, positive values indicate low priorityThe last CPU used by J P is meaningful only in a multi-CPU environmentK%cpu CPU time consumption percentage last updated to currentThe total CPU time, in seconds, used by the timing processThe total CPU time used by the M time+ process, in units 1/100 secondsn the percentage of physical memory used by the%MEM processo The total amount
1 Kill all related processesPs-ef | Grep-i Process Name | Grep-v "grep" | awk ' {print $} ' |xargs Kill2 querying the number of threads occupied by the current userlsof | grep haieradmin | Wc3 positioning of file size and locationDu-h--max-depth=14 Nginx Port occupancyLsof-c Nginx | Wc-lSee how many connections the Nginx of the current server hasNETSTAT-ANP | grep "Nginx" | Wc–lThread resource situation under 5 processTop-h-P PIDJstack pid > Jstack.log6 Viewing JVM GC status(by capacity) JSTAT-G
efficiency is better. Swap Si the number of memory-swapping areas that are entered by memory. The so is entered into memory by the memory swap area. IO Bi reads the total amount of data (read disk) (in kilobytes per second) from the block device. The total amount of data written by the Bo Block device (KB per second) Here we set the Bi+bo reference value of 1000, if more than 1000, and the large WA value should consider balancing the disk load
, and should be investigated further. The amount of memory (k) that the memory SWPD switches to the swap area. If the value of SWPD is not 0, or larger, such as more than 100m, as long as the value of Si, so long 0, the system performance is normal Free page List of memory (k) Buff as the amount of memory buffer cache, Generally read and write to block devices requires buffering. Cache: As the number of memory page cache, generally as the file system cache, if the cache is large, indicating
for this server's available memory: 530668+79236+4231276 = 4.7GB.For memory monitoring, in the top we have to monitor the fifth line swap partition used, if this value is constantly changing, indicating that the kernel is constantly in memory and swap data exchange, which is really not enough memory.Line six is the empty line below line seventh: status monitoring of each process (Task)PID Process IDUSER Process OwnerPR Process PriorityNI nice value. Negative values indicate high priority, posit
environmentK%cpu CPU time consumption percentage last updated to currentThe total CPU time, in seconds, used by the timing processThe total CPU time used by the M time+ process, in units 1/100 secondsn the percentage of physical memory used by the%MEM processo The total amount of virtual memory used by the VIRT process, in kilobytes. Virt=swap+resThe P swap process uses the size of the virtual memory, which is swapped out, in kilobytes.The size of th
, unused and mount points and other information. See the rest of the spaceSyntax: DF [-hkam] [Mount Point]-H (human-readable) displays KB,MB,GB in an easy-to-read manner based on disk space and usage-K displays information for each partition in kilobytes, by default-m displays information in megabytes-a show all partitions including partitions of size 0duFunction: Used to view the size of a file or directory (disk usage space)Syntax: du [-ABHS] [file
The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.1. Command format:du [Options] [file]2. Command function:Displays the disk usage space for each file and directory.3. Command parameters:-A or-all displays the size of individual files in the directory.-B or-bytes displays the directory or file size, in bytes.-C or--total displays the sum of all dire
cached, press this formula for this server's available memory: 530668+79236+4231276 = 4.7GB. For memory monitoring, in the top we have to monitor the fifth line swap partition used, if this value is constantly changing, indicating that the kernel is constantly in memory and swap data exchange, which is really not enough memory. Line Six is a blank line Line seventh below: status monitoring of each process (Task)PID Process IDUSER Process OwnerPR Process PriorityNI nice value. Negative values in
virt-process, in kilobytes. Virt=swap+resThe size, in kilobytes, of the physical memory used by the res-process and not swapped out. Res=code+datashr-shared memory size, in kilobytesS-process state. d= non-disruptive sleep status r= run s= sleep t= track/stop z= zombie Process%cpu-percentage of CPU time that was last updated to currentPercentage of physical memory used by the%mem-processTotal CPU time used
1, DUMPE2FS (used to view the Super block information)DUMPE2FS [option] Device name-H: List only the Super block information650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/7E/9A/wKiom1cFCcfzd3KuAAHiW4CR97U436.jpg "title=" 9.JPG " Width= "599" height= "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:599px;height:150px; "alt=" Wkiom1cfccfzd3kuaahiw4cr97u436.jpg "/>2, DF (used to show the overall amount of disk space usage)DF [option] [FILE] ...-A: List all file systems-K: Listed in
that are not started from the terminal are displayed as?H PR-PriorityI NI nice value. Negative values indicate high priority, positive values indicate low priorityThe last CPU used by J P is meaningful only in a multi-CPU environmentK%cpu CPU time consumption percentage last updated to currentThe total CPU time, in seconds, used by the timing processThe total CPU time used by the M time+ process, in units 1/100 secondsn the percentage of physical memory used by the%MEM processo The total amount
name of the G TTY boot process. Processes that are not started from the terminal are displayed as?H PR-PriorityI NI nice value. Negative values indicate high priority, positive values indicate low priorityThe last CPU used by J P is meaningful only in a multi-CPU environmentK%cpu CPU time consumption percentage last updated to currentThe total CPU time, in seconds, used by the timing processThe total CPU time used by the M time+ process, in units 1/100 secondsn the percentage of physical memory
The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.1. Command format:du [Options] [file]2. Command function:Displays the disk usage space for each file and directory.3. Command parameters:-A or-all displays the size of individual files in the directory.-B or-bytes displays the directory or file size, in bytes.-C or--total displays the sum of all dire
understanding the meaning of the columns.Ordinal column name meaningA PID process IDb PPID parent Process IDC ruser Real user nameD UID process owner's user IDE username of user process Owner Group Name of the F group Process owner The terminal name of the G TTY boot process. Processes that are not started from the terminal are displayed as?H PR -PriorityI NI nice value. Negative values indicate high priority, positive values indicate low pr
memory and swap data exchange, which is really not enough memory.Line six, blank line.Line seventh below: status monitoring of each process (task), the project column information is described as follows:pid-Process IDuser-Process Ownerpr-Process PriorityThe Ni-nice value. Negative values indicate high priority, positive values indicate low priorityThe total amount of virtual memory used by the virt-process, in kilobytes. Virt=swap+resThe size, in
started from the terminal are displayed as?H PR-PriorityI NI nice value. Negative values indicate high priority, positive values indicate low priorityThe last CPU used by J P is meaningful only in a multi-CPU environmentK%cpu CPU time consumption percentage last updated to currentThe total CPU time, in seconds, used by the timing processThe total CPU time used by the M time+ process, in units 1/100 secondsn the percentage of physical memory used by the%MEM processo The total amount of virtual m
adequate.Syntax: free [-bkmotv][-s Additional Note: The free instruction shows memory usage, including physical memory, virtual swap file memory, shared memory segments, and buffers used by the system core.Parameters-B Displays memory usage in bytes.-K displays memory usage in kilobytes.-m displays memory usage in megabytes.-O does not display buffer throttling columns.-s-T displays the memory sum column.-V Displays version information.Common operati
exists in the memory of the swap area, the corresponding memory will be swapped out when the swap area can no longer write.The details of each process are shown below the process information area statistics area. Let's start by understanding the meaning of the columns.Ordinal column name meaningA PID process IDb PPID Parent Process IDC ruser Real User nameD UID Process Owner's user IDe username of user process OwnerGroup name of the F group Process ownerThe terminal name of the G TTY boot proce
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.