Linux looks in the process, killing processes (rookie hand)

zhaozj2021-02-16  89

PS View Process (PS - HELP Watch Help)

-e SELECT All Processes-F Does Full Listing

After entering PS-EF, display the following

Uid PID PPID C Stime Tty Time Cmdroot 1 0 0 Jan10? 00:04:32 Init [3] ....... root 2160 1 0 Jan10 TTY1 00:00:00 / sbin / mingetty TTY1ROOT 2161 1 0 JAN10 TTY2 00:00:00 / sbin / mingetty TTY2ROOT 2162 1 0 JAN10 TTY3 00:00:00 / sbin / mingetty TTY3

Then pass the Kill PID number

Kill 2160;

Find Java processes:

PS-EF | GREP JAVA

GREP is looking for, Grep Java is to find all Java

Kill -9 forced

转载请注明原文地址:https://www.9cbs.com/read-12862.html

New Post(0)