def example_security():

    return render_template("example/security.html", 
        common          = sysLib.getCommonInfo({"username": session["username"]}, "security"),
        uptime          = sysLib.getUptime(),
        currUser        = {"username": session['username']},
        page            = "security",
    )
def dashboard():

    return render_template("dashboard.html",
        common          = sysLib.getCommonInfo({"username": session["username"]}, "dashboard"),
        uptime          = sysLib.getUptime(),
        currUser        = {"username": session['username']},
        page            = "dashboard",
        systems         = sysLib.getDashboardInfo()
    )
def example_dashboard():

    return render_template("example/dashboard.html",
        common          = sysLib.getCommonInfo({"username": session["username"]}, "dashboard"),
        uptime          = sysLib.getUptime(),
        currUser        = {"username": session['username']},
        page            = "dashboard",
        load_avg        = getLoadAvg(),
        cpu             = getCpuStats(),
        num_cpus        = getNumOfCores(),
        memory          = getMemoryStats(),
        net_interfaces  = getInterfaceStats(),
        disks           = getDiskStats(),
        swap            = getSwapStats(),
        theUsers        = sysLib.getUserStats()
    )