Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.213
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
pcp /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
discover
[ DIR ]
drwxr-xr-x
chkhelp
16.28
KB
-rwxr-xr-x
find-filter
11.86
KB
-rwxr-xr-x
install-sh
9.06
KB
-rwxr-xr-x
mkaf
2.82
KB
-rwxr-xr-x
newhelp
20.84
KB
-rwxr-xr-x
pcp-atop
300.56
KB
-rwxr-xr-x
pcp-atopsar
300.56
KB
-rwxr-xr-x
pcp-dmcache
7.13
KB
-rwxr-xr-x
pcp-dstat
70.37
KB
-rwxr-xr-x
pcp-free
9.78
KB
-rwxr-xr-x
pcp-htop
257.34
KB
-rwxr-xr-x
pcp-iostat
20.78
KB
-rwxr-xr-x
pcp-ipcs
6.82
KB
-rwxr-xr-x
pcp-lvmcache
7.13
KB
-rwxr-xr-x
pcp-mpstat
29.08
KB
-rwxr-xr-x
pcp-numastat
6.33
KB
-rwxr-xr-x
pcp-pidstat
49.64
KB
-rwxr-xr-x
pcp-python
925
B
-rwxr-xr-x
pcp-shping
3.47
KB
-rwxr-xr-x
pcp-ss
17.38
KB
-rwxr-xr-x
pcp-summary
11.21
KB
-rwxr-xr-x
pcp-tapestat
18.38
KB
-rwxr-xr-x
pcp-uptime
4.89
KB
-rwxr-xr-x
pcp-verify
7.72
KB
-rwxr-xr-x
pcp-vmstat
1.54
KB
-rwxr-xr-x
pmcd
119.19
KB
-rwxr-xr-x
pmcd_wait
12.77
KB
-rwxr-xr-x
pmconfig
12.91
KB
-rwxr-xr-x
pmcpp
24.88
KB
-rwxr-xr-x
pmfind_check
4.7
KB
-rwxr-xr-x
pmgetopt
21.68
KB
-rwxr-xr-x
pmhostname
12.23
KB
-rwxr-xr-x
pmie_check
21.05
KB
-rwxr-xr-x
pmie_daily
13.92
KB
-rwxr-xr-x
pmie_dump_stats
11.87
KB
-rwxr-xr-x
pmie_email
1.76
KB
-rwxr-xr-x
pmie_farm
896
B
-rwxr-xr-x
pmiestatus
11.83
KB
-rwxr-xr-x
pmlock
11.83
KB
-rwxr-xr-x
pmlogconf
54.48
KB
-rwxr-xr-x
pmlogextract
70.02
KB
-rwxr-xr-x
pmlogger
143.2
KB
-rwxr-xr-x
pmlogger_check
28.14
KB
-rwxr-xr-x
pmlogger_daily
43.11
KB
-rwxr-xr-x
pmlogger_farm
919
B
-rwxr-xr-x
pmlogger_merge
6.66
KB
-rwxr-xr-x
pmlogger_rewrite
8
KB
-rwxr-xr-x
pmlogreduce
33.19
KB
-rwxr-xr-x
pmlogrewrite
146.09
KB
-rwxr-xr-x
pmnewlog
810
B
-rwxr-xr-x
pmnsadd
2.89
KB
-rwxr-xr-x
pmnsdel
16.83
KB
-rwxr-xr-x
pmnsmerge
17.02
KB
-rwxr-xr-x
pmpause
12.37
KB
-rwxr-xr-x
pmpost
16.33
KB
-rwxr-xr-x
pmproxy
140.98
KB
-rwxr-xr-x
pmsignal
2.72
KB
-rwxr-xr-x
pmsleep
12.37
KB
-rwxr-xr-x
pmwtf
7.63
KB
-rwxr-xr-x
telnet-probe
11.84
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pmfind_check
#! /bin/sh # # Copyright (c) 2020 Red Hat. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # Administrative script to discover remote PCP services and configure # pmie and pmlogger control files for each as required. # # get standard environment . $PCP_DIR/etc/pcp.env . $PCP_SHARE_DIR/lib/rc-proc.sh . $PCP_SHARE_DIR/lib/utilproc.sh PMFIND=${PMFIND:-"$PCP_BIN_DIR/pmfind"} PMFIND_ARGS=${PMFIND_ARGS:-'-s pmcd -r -S -q'} CTL_ARGS='' # error messages should go to stderr, not the GUI notifiers unset PCP_STDERR tmp=`mktemp -d "$PCP_TMPFILE_DIR/pmfind_check.XXXXXXXXX"` || exit 1 status=0 prog=`basename $0` PROGLOG=$PCP_LOG_DIR/pmfind/$prog.log USE_SYSLOG=true _cleanup() { $USE_SYSLOG && [ $status -ne 0 ] && \ $PCP_SYSLOG_PROG -p daemon.error "$prog failed - see $PROGLOG" if $SHOWME then : else [ -s "$PROGLOG" ] || rm -f "$PROGLOG" fi rm -rf $tmp } trap "_cleanup; exit \$status" 0 1 2 3 15 # option parsing CONTAINERS=false SHOWME=false VERBOSE=false VERY_VERBOSE=false echo > $tmp/usage cat >> $tmp/usage << EOF Options: -C,--containers probe each discovered host for pmcd containers -l=FILE,--logfile=FILE send important diagnostic messages to FILE -N,--showme perform a dry run, showing what would be done -V,--verbose increase diagnostic verbosity --help EOF ARGS=`pmgetopt --progname=$prog --config=$tmp/usage -- "$@"` [ $? != 0 ] && exit 1 eval set -- "$ARGS" while [ $# -gt 0 ] do case "$1" in -C) CONTAINERS=true ;; -l) PROGLOG="$2" USE_SYSLOG=false shift ;; -N) SHOWME=true USE_SYSLOG=false CP="echo + cp" CTL_ARGS="$CTL_ARGS -N" ;; -V) if $VERBOSE then VERY_VERBOSE=true else VERBOSE=true fi CTL_ARGS="$CTL_ARGS -V" ;; --) shift break ;; -\?) pmgetopt --usage --progname=$prog --config=$tmp/usage status=1 exit ;; esac shift done if [ $# -ne 0 ] then pmgetopt --usage --progname=$prog --config=$tmp/usage status=1 exit fi # after argument checking, everything must be logged to ensure no mail is # accidentally sent from cron. Close stdout and stderr, then open stdout # as our logfile and redirect stderr there too. # PROGLOGDIR=`dirname "$PROGLOG"` [ -d "$PROGLOGDIR" ] || mkdir_and_chown "$PROGLOGDIR" 755 $PCP_USER:$PCP_GROUP 2>/dev/null if $SHOWME then : else # Salt away previous log, if any ... _save_prev_file "$PROGLOG" # After argument checking, everything must be logged to ensure no mail is # accidentally sent from cron. Close stdout and stderr, then open stdout # as our logfile and redirect stderr there too. Create the log file with # correct ownership first. # # Exception ($SHOWME, above) is for -N where we want to see the output. # touch "$PROGLOG" chown $PCP_USER:$PCP_GROUP "$PROGLOG" >/dev/null 2>&1 exec 1>"$PROGLOG" 2>&1 fi _error() { echo "$prog: [$SHA1]" echo "Error: $@" echo "... automated service discovery for host \"$host\" unchanged" touch $tmp/err } _debug() { if $VERY_VERBOSE then echo "$prog [$SHA1]" echo "Debug: $@" fi } $CONTAINERS && PMFIND_ARGS="$PMFIND_ARGS -C" $PMFIND $PMFIND_ARGS > "$tmp/out" 2> "$tmp/err" # exit status from pmfind(1) is not a good indicator of success, # no output => nothing to do, status == 0 => work to be done # [ -s "$tmp/out" ] || exit [ $? -eq 0 ] && rm -f "$tmp/err" pmiectl -V status >$tmp/pmie.status pmlogctl -V status >$tmp/pmlogger.status cat "$tmp/out" | while read SHA1 host do $VERBOSE && echo "Discovered host $host [$SHA1]" if grep " $SHA1\$" $tmp/pmie.status >/dev/null then _debug "pmie already setup for host \"$host\"" else # no pmie has instance id $SHA1, set it up # if pmiectl $CTL_ARGS -i "$SHA1" cond-create $host then _debug "pmie setup for host \"$host\"" else _debug "pmie setup failed for host \"$host\"" touch $tmp/err fi fi if grep " $SHA1\$" $tmp/pmlogger.status >/dev/null then _debug "pmlogger already setup for host \"$host\"" else # no pmlogger has instance id $SHA1, set it up # if pmlogctl $CTL_ARGS -i "$SHA1" cond-create $host then _debug "pmlogger setup for host \"$host\"" else _debug "pmlogger setup failed for host \"$host\"" touch $tmp/err fi fi done [ -f $tmp/err ] && status=1 exit
Close