Linux related uses--The great god flitted

Source: Internet
Author: User


2015/1/8

View Tomat Process Ps-ef|grep Tomcat

View Java related JPS

Find Tomcat directory Find/-name tomcat This seems to be no problem, but novice will feel very helpless, if you installed Tomcat, it is estimated that in Linux can not find Tomcat reason is simple: Linux is sensitive to case, So you're looking for the Tomcat directory to play this way: Find/-name "*[tt]omcat*" in the list will have the results of the request

LS lists the current file and folder

Understanding "Ls-l"

The first field-rwxr-xr-x a symbolic representation of the permission that contains the special file. The first character in the field (-) specifies the type of the file, in this case it is a regular file. Other possible first characters are:
"D" Directory
"L" symbolic link
"C" character specialized device file
"B" block specialized equipment files
"P" Advanced first Out
"S" sockets
Three ternary groups
rw-r--r--1 root root 19103658 5 link? 4 Src.zip
The remainder of the field consists of three ternary characters. The first ternary character group represents the permissions of the file owner, the second represents the permissions of the group for the file, and the third represents the permissions of all other users:
"Rw-"
"r--"
"r--"

Netstat-net lists active Internet connections (w/o servers) to list the number of active Internet connections, and you can see the processes that Tomcat occupies

View current Java Memory Situation jstat-gcutil 1942 view Java process 1942 memory condition

S0 S1 E O P ygc ygct FGC fgct GCT
0.05 0.00 2.04 1.28 9.91 170 0.187 338 1.314 1.501

E Elden Use spatial proportions, O old area uses spatial proportions YGC YGC collection times, YGCT YGC collect time spent FGC FGC

Linux related uses--The great god flitted

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.