강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

데몬 스크립트 파일 : /etc/rc.d/init.d/gpm

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/gpm

 

 GPM Midnight Commander와 같은 텍스트기반의 리눅스 어플리케이션에서 마우스의 복사 및 붙이기 기능과 콘솔상에서의 마우스 팝업기능을 제공하기 위한 데몬입니다. 

 

 

 

 

사용옵션 : start|stop|restart|condrestart|status

 

프로세스명      :  gpm

PID파일        :  /var/run/gpm.pid

설정파일        :  /etc/sysconfig/mouse

데몬파일        : /usr/sbin/gpm

마우스설정파일  : MOUSECFG=/etc/sysconfig/mouse

 

스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/gpm stop

Shutting down console mouse services: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/gpm start

Starting console mouse services: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/gpm restart

Shutting down console mouse services: [  OK  ]

Starting console mouse services: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/gpm status

gpm (pid 4470) is running...

[root@command init.d]#

[root@command init.d]#

[root@command init.d]# ps -ef | grep gpm

root      4470     1  0 12:26 ?        00:00:00 gpm -t ps/2 -m /dev/psaux

root      4485  2007  0 12:26 pts/0    00:00:00 grep gpm

[root@command init.d]#

 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,035 명
  • 현재 강좌수 :  35,798 개
  • 현재 접속자 :  142 명