root 737 0.0 0.0 1280 400 tty1 S Jul07 0:00 /sbin/mingetty tty1 root 738 0.0 0.0 1280 400 tty2 S Jul07 0:00 /sbin/mingetty tty2 root 739 0.0 0.0 1280 400 tty3 S Jul07 0:00 /sbin/mingetty tty3 root 740 0.0 0.0 1280 400 tty4 S Jul07 0:00 /sbin/mingetty tty4 root 742 0.0 0.0 1280 400 tty5 S Jul07 0:00 /sbin/mingetty tty5 root 743 0.0 0.0 1280 400 tty6 S Jul07 0:00 /sbin/mingetty tty6 nobody 1026 0.0 0.9 7032 4848 ? S Jul07 0:01 /usr/local/apache/bin/httpd nobody 1074 0.0 0.9 6992 4804 ? S Jul07 0:01 /usr/local/apache/bin/httpd nobody 1076 0.0 0.9 6996 4812 ? S Jul07 0:01 /usr/local/apache/bin/httpd nobody 1685 0.0 0.9 6880 4644 ? S Jul07 0:00 /usr/local/apache/bin/httpd
|
À§¿Í °°ÀÌ ps -aux¸¦ ÇÏ¿© ÇÁ·Î¼¼½º°¡ ¸®½ºÆ®°¡ ³ª¿Ã¶§ httpd ¸¸À»º¸·Á°í ps -aux | grep httpd ¶ó°í ÀÔ·ÂÀ» ÇßÀ»¶§, ¾Æ¹«·± Ãâ·Â°ªµµ ¾òÁö¸øÇÒ °æ¿ì°¡ ÀÖ½À´Ï´Ù.
ºÐ¸íÈ÷ httpd¶õ ÇÁ·Î¼¼½º°¡ Á¸ÀçÇÏ°í, grep À̶õ ¸í·ÉÀ» »ç¿ëÇϸé httpd¶õ ÇÁ·Î¼¼¼ ¶óÀÎÀÌ Ãâ·ÂÀÌ µÇ¾î¾ß Çϴµ¥ ½ÇÁ¦·Î Çغ¸¸é°á°ú°ªÀ» º¼¼ö°¡ ¾ø½À´Ï´Ù.
±× ÀÌÀ¯´Â ´ÙÀ½°ú °°½À´Ï´Ù.
ps -aux | grep À̶õ ¸í·ÉÀ» ÀÌ¿ëÇÏ¿© ÇÁ·Î¼¼½º¸¦ È®ÀÎÇÒ¶§ ps -aux°¡ ÀνÄÇÏ´Â ºÎºÐÀº /¸¦ ±âÁØÀ¸·Î 3´Ü°è ±îÁö¸¸ ÀνÄÀ» ÇÒ¼ö ÀÖ½À´Ï´Ù. Áï /usr/local/apache ¿©±â±îÁö¸¸ ÀνÄÀ» ÇÏ´Â °ÍÀÔ´Ï´Ù. ±×·¯´Ï ps -aux | grep httpd ¶ó°í ÇßÀ»¶§¿¡´Â ´ç¿¬È÷ httpd¶ó´Â °ÍÀº ¾ø´Â°ÍÀ̹ǷΠÃâ·ÂÀÌ µÇÁö ¾Ê´Â°ÍÀÔ´Ï´Ù.
±×·²¶§¿¡´Â ps -aux | grep apache ¶ó°í Çϸé Ãâ·Â °ªÀ» ¾òÀ»¼ö ÀÖ½À´Ï´Ù. ¶Ç´Â ps -auxw | grep httpd ¶ó°í ÇÏ½Ã¸é ¿øÇÏ´Â Ãâ·Â°ªÀ» ¾òÀ»½Ç¼ö ÀÖ½À´Ï´Ù. (w ¿É¼ÇÀº È®ÀåÀ» Ç϶ó´Â ¿É¼ÇÀÔ´Ï´Ù.) ¶Ç´Â ps -aef | grep httpd ¶ó°í Çϼŵµ µ¿ÀÏÇÑ °á°ú°ªÀ» ¾òÀ»¼ö ÀÖ½À´Ï´Ù.
|
|
|