Home > OS >  Linux process of how to view specific information, such as: domain name, IP, Java file name
Linux process of how to view specific information, such as: domain name, IP, Java file name

Time:10-03

Linux has been high CPU share, memory is also very much,

I just responsible for the company's OA system, from Java development into operations, technology of Linux doesn't attribute, baidu also haven't solve the problem of CPU share online, since the consult everybody by bosses

CodePudding user response:

Also good, 68.6% free

CodePudding user response:

Ps - aux can try

CodePudding user response:

reference 1st floor zhouchao6 response:
is good, 68.6% free

Screenshot is just restart yesterday, CPU utilization high and low, up to 99%, and the night just free memory left 1 g, cached accounted for a lot, I want to check what is taking so much of the cached, I suspect that there might be some bugs is to develop Java code, don't know that I can find out the specific Java file? Or the operator of the IP

CodePudding user response:

reference 3 floor falls, the stars in the summer of response:
Quote: refer to 1st floor zhouchao6 response:

Also good, 68.6% free

Screenshot is just restart yesterday, CPU utilization high and low, up to 99%, and the night just free memory left 1 g, cached accounted for a lot, I want to check what is taking so much of the cached, I suspect that there might be some bugs is to develop Java code, don't know that I can find out the specific Java file? Or the operator of the IP


Some top, P ordered by CPU usage, in the footprint of the M in the sorting, c can see detailed command, and then, after you ordering, can according to the first column of the pid, use the ps command to view the process information,
And top - H - p processes, threads can see the process;
Process of lsof -p process, we can see open what file and so on