정수님 고맙습니다.
파이프 (|) 였군요.
$ ps aux (|) grep httpd
난 영어의( L)의 소문자 인줄알고....^.^**
ps -aux(l)grep http
암튼 고맙습니다. 다시 해 보죠.
>> 정수님께서 쓰시길 <<
> 리눅스 쓰시는 거 맞죠?
>
> 그럼 철자를 틀렸을 것입니다.....
>
> $ ps aux | grep httpd
>
> 이렇게 정확히 입력하셨나요?
>
> 안 되는게 이상한건데..
>
> 흠..
>
> >>이중기 님께서 쓰시길<<
>
> :: 안녕하세요?
> :: 넷스케이프 브라우저에서 php 소스가 뜨는 문제로 책을 보다가
> :: 다음과 같은 에러가 있어 고수님들께 도움을 청합니다.
> :: [root@localhost bin]# ./httpd -t ../conf/httpd.conf하면
> :: Syntax ok (책 내용대로 정상)
> :: [root@localhost bin]# ./httpd -f /usr/local/apache/conf/httpd.conf start 하면
> :: [root@localhost bin]# (책 내용대로 정상)
> :: [root@localhost bin]# ps -auxlgrep http했을 때 책대로라면
> :: root 32452 0.0 1.7 3668 1656 ? s 12:12 0:00 ./httpd -f /usr/1
> :: nobody 32453 0.0 1.8 3668 1724 ? s 12:12 0:00 ./httpd -f /usr/1
> :: nobody 32454 0.0 1.8 3668 1724 ? s 12:12 0:00 ./httpd -f /usr/1
> :: nobody 32455 0.0 1.8 3668 1724 ? s 12:12 0:00 ./httpd -f /usr/1
> :: nobody 32456 0.0 1.8 3668 1724 ? s 12:12 0:00 ./httpd -f /usr/1
> :: nobody 32457 0.0 1.8 3668 1724 ? s 12:12 0:00 ./httpd -f /usr/1
> :: 위와 같이 되어야 하는데
> :: 제 컴퓨는.....
> :: ERROR: User name does not exist.
> :: ******* simple selection *******( 1번 )
> :: -A all processes
> :: -N negate selection
> :: -a all w/ tty except session leaders
> :: -d all except session leaders
> :: -e all processes
> :: T all processes on this terminal
> :: a all w/ tty, including other users
> :: g all, even group leaders!
> :: r only running processes
> :: x processes w/o controlling ttys
> :: *********selection by list ********( 2번 : 책엔 1번 옆에 )
> :: -c by command name
> :: -G by real group ID (supports names)
> :: -U by real user ID (supports names)
> :: -g by session leader OR by guoup name
> :: -p by processes ID
> :: -s processes in the sessions given
> :: -t by tty
> :: -u by effective user ID (supports names)
> :: U processes for specified users
> :: t by tty
> :: ********** output format **********( 1번 아래 )
> :: -o,o user-defind -f full
> :: -j,j job control s signal
> :: -O,O preloaded -o v virtual memory
> :: -l,l long u user-oriented
> :: xregisters
> :: *********** long options **********( 2번 아래 )
> :: --Group --User --pid --cols
> :: --Group --User --sid --rows
> :: --cumulative --format --deselect
> :: --sort --tty --forest --version
> :: --heading --no-heading
> :: *******misc options **********( 전 체의 아래 )
> :: -v,v show version L list format codes f ASCII art forest
> :: -m,m show threads S children in sum -y change -l format
> :: -n,N set namelist file c true command n numeric WCHAN,UID
> :: -w,w wide output e show environment -H process heirarchy
> :: 와 같은 에러가 뜨는 군요.
> :: 뭐가 문제 인지 고수님들의 명쾌한 답변 부탁 합니다.
> :: 그럼...
> ::
> ::
> ::
> ::
|