0
我需要爲我的filbeat/metricbeat進程添加monit檢查器。 我想通過pid文件檢查進程,但是我找不到系統在centos 7中將這些文件存儲在哪裏。在centos中存儲filebeat和metricbeat的pidfiles的位置7
例如,在我本地的ubuntu 14.04下,它存儲在這個路徑下/var/run/filebeat.pid,/var/run/metricbeat.pid。
我試圖在整個系統中找到該文件(find/-name filebeat.pid),但我不能。
如果沒有爲什麼要通過pidfile檢查,我有另一種方法來檢查進程狀態嗎?
任何建議將是有益的,在此先感謝)