Userstat.cfg

From Fritz!Box
Jump to: navigation, search

AVM Wiki >> Konfiguration >> userstat.cfg @ whmf   -   IRC-Chat   -   hu nl it English
Community Modelle Zubehör Environment Konfiguration Shell-Befehle Software Freetz Lexikon Tipps+Tricks Bilder

TFFS-Konfig Fest-Konfig Binär Tempfiles Logs Sockets Devices ProcFS Interfaces Daten UI-Module Webinterface Todo

Namens-Kollision
Dieser Artikel behandelt die Konfiguration im TFFS namens userstat.cfg.

Für die gleichnamige Datei im RAM siehe userstat.cfg (ram).
Für die gleichnamige Default-Konfiguration im SquashFS siehe userstat.cfg (etc).


Contents

Konfiguration

Diese Datei wird zur Schonung des Flash-EEPROM zyklich mit dem Inhalt der gleichnamigen von usermand / usermand2 gepflegten Echtzeitstatistik userstat.cfg (ram) aktualisiert.

Aufgerufen von

Struktur

struct

/*
 * /var/flash/userstat.cfg
 * Thu Apr 28 21:00:00 2011
 */

userstatcfg

ts=timestamp, to=today, ye=yesterday, tw=this week, lw=last week, tm=this month, lm=last month, tt=total

userstatcfg {
        users {
                type = internet_user_ip;
                ip = 192.168.1.8;
                statistic {
                        ts = 362227h;
                        to {
                                s = 0;
                        }
                        ye {
                                s = 0;
                        }
                        tw {
                                s = 0;
                        }
                        lw {
                                s = 0;
                        }
                        tm {
                                s = 0;
                        }
                        lm {
                                s = 0;
                        }
                        tt {
                                s = 0;
                        }
                        ot = 0w;
                }
        } {
                type = internet_user_ip;
                ip = 192.168.1.2;
                statistic {
                        ts = 1304016147s;
                        to {
                                s = 1200;
                        }
                        ye {
                                s = 0;
                        }
                        tw {
                                s = 1200;
                        }
                        lw {
                                s = 0;
                        }
                        tm {
                                s = 1200;
                        }
                        lm {
                                s = 0;
                        }
                        tt {
                                s = 1200;
                        }
                        ot = 362227h;
                }
        } {
                type = internet_user_ip;
                ip = 192.168.1.103;
                statistic {
                        ts = 1304016137s;
                        to {
                                s = 480;
                        }
                        ye {
                                s = 0;
                        }
                        tw {
                                s = 480;
                        }
                        lw {
                                s = 0;
                        }
                        tm {
                                s = 480;
                        }
                        lm {
                                s = 0;
                        }
                        tt {
                                s = 480;
                        }
                        ot = 1304017022s;
                }
        } {
                type = internet_user_default;
                ip = 0.0.0.0;
                statistic {
                        ts = 362206h;
                        to {
                                s = 49440;
                        }
                        ye {
                                s = 79560;
                        }
                        tw {
                                s = 278400;
                        }
                        lw {
                                s = 569400;
                        }
                        tm {
                                s = 2105880;
                        }
                        lm {
                                s = 2674680;
                        }
                        tt {
                                s = 42295800;
                        }
                        ot = 1304017142s;
                }
        }
}


// EOF

Siehe auch

User Manager: (43)

Personal tools