Linux system how to quickly view the process pid

  
A very simple command, pgrep, you can quickly locate the pid of a process containing a keyword; use this command, no longer use ps aux to go to which process pid usage: pgrep -l XXX description: -l parameter, can display pid and process name; do not add -l only show pid, who knows what process pid example: # pgrep httpd2092209420962098210621082109211114705# pgrep -l httpd2092 httpd2094 httpd2096 httpd2098 httpd2106 httpd2108 httpd2109 httpd2111 httpd14705 httpd of course The use of pgrep is not only the case, but interested students can study it; but as far as I am concerned, the scope of application is limited. Based on the principle of application, I have not done much research on pgrep.
Copyright © Windows knowledge All Rights Reserved