树莓派

    • Raspbian Stretch (9)
    • Raspbian Jessie (8)

    第一步,将我们的服务器 GPG 密钥添加到您的密钥环中,这样就可以获取我们签名的软件包:

    Raspbian 10 (Buster)

    Raspbian 9 (Stretch)

    Raspbian 8 (Jessie)

    1. deb https://packages.fluentbit.io/raspbian/jessie jessie main

    现在,让您的系统更新 apt 数据库:

    1. $ sudo apt-get install td-agent-bit

    Now the following step is to instruct systemd to enable the service:

    1. sudo service td-agent-bit status
    2. Active: active (running) since mié 2016-07-06 16:58:25 CST; 2h 45min ago
    3. Main PID: 6739 (td-agent-bit)
    4. Tasks: 1
    5. CPU: 1.393s
    6. CGroup: /system.slice/td-agent-bit.service
    7. └─6739 /opt/td-agent-bit/bin/td-agent-bit -c /etc/td-agent-bit/td-agent-bit.conf

    td-agent-bit 的默认配置是收集 CPU 使用率的指标数据并将记录发送到标准输出,您可以在 文件中看到输出的数据。