初始化提交
This commit is contained in:
18
prometheus/process-exporter/启动.txt
Normal file
18
prometheus/process-exporter/启动.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
解压:
|
||||
tar -zxvf
|
||||
|
||||
创建配置文件:
|
||||
process-exporter.yml
|
||||
|
||||
后台启动:
|
||||
nohup /opt/exporter/process-exporter/process-exporter -config.path=/opt/exporter/process-exporter/process-exporter.yml > /opt/exporter/process-exporter/process-exporter.log 2>&1 &
|
||||
|
||||
查看进程:
|
||||
ps aux | grep process-exporter
|
||||
|
||||
查看日志:
|
||||
tail -f /opt/exporter/process-exporter/process-exporter.log
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user