赞
踩
gpfdist [-d <directory>] [-p <http_port>] [-l <log_file>] [-t <timeout>]
[-S] [-w <time>] [-v | -V] [-m <max_length>] [--ssl <certificate_path>]
gpfdist [-? | help] | --version
参数含义:
# 在后台使用端口8081(并启动)服务来自指定目录的文件 [gpadmin@mdw ~]$ gpfdist -d /home/gpadmin/master/ -p 8081 & [1] 38389 [gpadmin@mdw ~]$ 2020-02-25 12:11:38 38389 INFO Before opening listening sockets - following listening sockets are available: 2020-02-25 12:11:38 38389 INFO IPV6 socket: [::]:8081 2020-02-25 12:11:38 38389 INFO IPV4 socket: 0.0.0.0:8081 2020-02-25 12:11:38 38389 INFO Trying to open listening socket: 2020-02-25 12:11:38 38389 INFO IPV6 socket: [::]:8081 2020-02-25 12:11:38 38389 INFO Opening listening socket succeeded 2020-02-25 12:11:38 38389 INFO Trying to open listening socket: 2020-02-25 12:11:38 38389 INFO IPV4 socket: 0.0.0.0:8081 Serving HTTP on port 8081, directory /home/gpadmin/master # 查看关于gpfdist的进程 [gpadmin@mdw ~]$ ps ax | grep 'gpfdist' 36451 pts/2 S+ 0:00 gpfdist -p 8888 -d /home/gpadmin/master/ 38389 pts/3 S 0:00 gpfdist -d /home/gpadmin/master/ -p 8081 38445 pts/3 S+ 0:00 grep gpfdist #关闭刚创建的进程 [gpadmin@mdw ~]$ kill 38389 2020-02-25 12:14:47 38389 WARN signal 15 received. gpfdist exits 2020-02-25 12:14:47 38389 INFO --------------------------------------- 2020-02-25 12:14:47 38389 INFO STATUS: total session(s) 0 session: [ ] 2020-02-25 12:14:47 38389 INFO --------------------------------------- [1]+ Exit 1 gpfdist -d /home/gpadmin/master/ -p 8081 # 成功关闭进程 [gpadmin@mdw ~]$ ps ax | grep 'gpfdist' 36451 pts/2 S+ 0:00 gpfdist -p 8888 -d /home/gpadmin/master/ 38479 pts/3 S+ 0:00 grep gpfdist
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。