\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82 www.csarite.com
KUJUNTI.ID MINISH3LL
Path : /usr/share/landscape/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : //usr/share/landscape/landscape-sysinfo.wrapper


#!/bin/sh

# don't try refresh this more than once per minute
# Due to cpu consumption and login delays (LP: #1893716)
stamp="/var/lib/landscape/landscape-sysinfo.cache"
NEED_UPDATE="FALSE"
[ -z "$(find "$stamp" -newermt 'now-1 minutes' 2> /dev/null)" ] && NEED_UPDATE="TRUE"

if [ "$NEED_UPDATE" = "TRUE" ]; then
    # pam_motd does not carry the environment
    [ -f /etc/default/locale ] && . /etc/default/locale
    export LANG
    cores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null)
    [ "$cores" -eq "0" ] && cores=1
    threshold="${cores:-1}.0"
    if [ $(echo "`cut -f1 -d ' ' /proc/loadavg` < $threshold" | bc) -eq 1 ]; then
        printf "\n  System information as of %s\n\n%s\n" \
            "$(/bin/date)" \
            "$(/usr/bin/landscape-sysinfo)" \
            > "$stamp"
    else
        # do not replace a formerly good result due to load
        if ! grep -q "System information as of" $stamp 2> /dev/null; then
            printf "\n System information disabled due to load higher than %s\n" "$threshold" > "$stamp"
        fi
    fi
fi

[ ! -r "$stamp" ] || cat "$stamp"

© KUJUNTI.ID