Új hozzászólás Aktív témák

  • Kami11

    őstag

    válasz vargalex #28630 üzenetére

    /overlay/vnstat itt található a könyvtár

    # default interface
    Interface "eth0"

    # location of the database directory
    DatabaseDir "/var/lib/vnstat"

    # locale (LC_ALL) ("-" = use system locale)
    Locale "-"

    # on which day should months change
    MonthRotate 1

    # date output formats for -d, -m, -t and -w
    # see 'man date' for control codes
    DayFormat "%x"
    MonthFormat "%b '%y"
    TopFormat "%x"

    # characters used for visuals
    RXCharacter "%"
    TXCharacter ":"
    RXHourCharacter "r"
    TXHourCharacter "t"

    # how units are prefixed when traffic is shown
    # 0 = IEC standard prefixes (KiB/MiB/GiB/TiB)
    # 1 = old style binary prefixes (KB/MB/GB/TB)
    UnitMode 1

    # output style
    # 0 = minimal & narrow, 1 = bar column visible
    # 2 = same as 1 except rate in summary and weekly
    # 3 = rate column visible
    OutputStyle 3

    # used rate unit (0 = bytes, 1 = bits)
    RateUnit 1

    - /etc/vnstat.conf 3/129 2%

    # how often (in seconds) interface status changes are checked
    PollInterval 30

    # how often (in minutes) data is saved to file
    SaveInterval 5

    # how often (in minutes) data is saved when all interface are offline
    OfflineSaveInterval 11

    # force data save when interface status changes (1 = enabled, 0 = disabled)
    SaveOnStatusChange 1

    # enable / disable logging (0 = disabled, 1 = logfile, 2 = syslog)
    UseLogging 2

    # file used for logging if UseLogging is set to 1
    LogFile "/var/log/vnstat.log"

    # file used as daemon pid / lock file
    PidFile "/var/run/vnstat.pid"

    # vnstati
    ##

    # title timestamp format
    HeaderFormat "%x %H:%M"

    # show hours with rate (1 = enabled, 0 = disabled)
    HourlyRate 1

    # show rate in summary (1 = enabled, 0 = disabled)
    SummaryRate 1

    # layout of summary (1 = with monthly, 0 = without monthly)
    SummaryLayout 1

    # transparent background (1 = enabled, 0 = disabled)
    TransparentBg 0

    # image colors
    CBackground "FFFFFF"
    CEdge "AEAEAE"
    CHeader "606060"
    CHeaderTitle "FFFFFF"
    CHeaderDate "FFFFFF"
    CText "000000"
    CLine "B0B0B0"
    CLineL "-"
    CRx "ff0000"
    CTx "00CC33"
    CRxD "-"
    CTxD "-"
    -
    I /etc/vnstat.conf [Modified] 223/223 100%

    # how often (in seconds) interface status changes are checked
    PollInterval 30

    # how often (in minutes) data is saved to file
    SaveInterval 5

    # how often (in minutes) data is saved when all interface are offline
    OfflineSaveInterval 11

    # force data save when interface status changes (1 = enabled, 0 = disabled)
    SaveOnStatusChange 1

    # enable / disable logging (0 = disabled, 1 = logfile, 2 = syslog)
    UseLogging 2

    # file used for logging if UseLogging is set to 1
    LogFile "/var/log/vnstat.log"

    # file used as daemon pid / lock file
    PidFile "/var/run/vnstat.pid"

    # vnstati
    ##

    # title timestamp format
    HeaderFormat "%x %H:%M"

    # show hours with rate (1 = enabled, 0 = disabled)
    HourlyRate 1

    # show rate in summary (1 = enabled, 0 = disabled)
    SummaryRate 1

    # layout of summary (1 = with monthly, 0 = without monthly)
    SummaryLayout 1

    # transparent background (1 = enabled, 0 = disabled)
    TransparentBg 0

    # image colors
    CBackground "FFFFFF"
    CEdge "AEAEAE"
    CHeader "606060"
    CHeaderTitle "FFFFFF"
    CHeaderDate "FFFFFF"
    CText "000000"
    CLine "B0B0B0"
    CLineL "-"
    CRx "ff0000"
    CTx "00CC33"
    CRxD "-"
    CTxD "-"

    A cukrász a selejtet habbal takarja be, a kőműves habarccsal, az orvos meg földdel.

Új hozzászólás Aktív témák