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 /
db4-devel-4.7.25 /
ref /
transapp /
[ HOME SHELL ]
Name
Size
Permission
Action
admin.html
3.28
KB
-rw-r--r--
app.html
16.29
KB
-rw-r--r--
archival.html
9.52
KB
-rw-r--r--
atomicity.html
4.19
KB
-rw-r--r--
checkpoint.html
4.7
KB
-rw-r--r--
cursor.html
4.99
KB
-rw-r--r--
data_open.html
5.89
KB
-rw-r--r--
deadlock.html
5.78
KB
-rw-r--r--
env_open.html
6.53
KB
-rw-r--r--
fail.html
4.98
KB
-rw-r--r--
faq.html
7.8
KB
-rw-r--r--
filesys.html
4.22
KB
-rw-r--r--
hotfail.html
5.51
KB
-rw-r--r--
inc.html
6.1
KB
-rw-r--r--
intro.html
2.72
KB
-rw-r--r--
logfile.html
3.57
KB
-rw-r--r--
nested.html
4.19
KB
-rw-r--r--
put.html
10.51
KB
-rw-r--r--
read.html
7.93
KB
-rw-r--r--
reclimit.html
9.7
KB
-rw-r--r--
recovery.html
6.42
KB
-rw-r--r--
term.html
4.09
KB
-rw-r--r--
throughput.html
7.14
KB
-rw-r--r--
transapp.cs
10.34
KB
-rw-r--r--
tune.html
10.76
KB
-rw-r--r--
why.html
2.49
KB
-rw-r--r--
writetest.cs
2.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : writetest.cs
/* * writetest -- * * $Id: writetest.cs,v 10.8 2005/09/13 18:15:36 bostic Exp $ */ #include <sys/types.h> #include <sys/time.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> void usage(void); int main(argc, argv) int argc; char *argv[]; { struct timeval start_time, end_time; double usecs; long val; int bytes, ch, cnt, fd, ops; char *fname, buf[100 * 1024]; bytes = 256; fname = "testfile"; ops = 1000; while ((ch = getopt(argc, argv, "b:f:o:")) != EOF) switch (ch) { case 'b': if ((bytes = atoi(optarg)) > sizeof(buf)) { fprintf(stderr, "max -b option %d\n", sizeof(buf)); exit (1); } break; case 'f': fname = optarg; break; case 'o': if ((ops = atoi(optarg)) <= 0) { fprintf(stderr, "illegal -o option value\n"); exit (1); } break; case '?': default: usage(); } argc -= optind; argv += optind; (void)unlink(fname); if ((fd = open(fname, O_RDWR | O_CREAT, 0666)) == -1) { perror(fname); exit (1); } memset(buf, 0, bytes); printf("Running: %d ops\n", ops); (void)gettimeofday(&start_time, NULL); for (cnt = 0; cnt < ops; ++cnt) { if (write(fd, buf, bytes) != bytes) { fprintf(stderr, "write: %s\n", strerror(errno)); exit (1); } if (lseek(fd, (off_t)0, SEEK_SET) == -1) { fprintf(stderr, "lseek: %s\n", strerror(errno)); exit (1); } if (fsync(fd) != 0) { fprintf(stderr, "fsync: %s\n", strerror(errno)); exit (1); } } (void)gettimeofday(&end_time, NULL); /* * Guarantee end_time fields are greater than or equal to start_time * fields. */ if (end_time.tv_sec > start_time.tv_sec) { --end_time.tv_sec; end_time.tv_usec += 1000000; } /* Display elapsed time. */ val = end_time.tv_sec - start_time.tv_sec; printf("Elapsed time: %ld:", val / (60 * 60)); val %= 60 * 60; printf("%ld:", val / 60); val %= 60; printf("%ld.%ld\n", val, end_time.tv_usec - start_time.tv_usec); /* Display operations per second. */ usecs = (end_time.tv_sec - start_time.tv_sec) * 1000000 + (end_time.tv_usec - start_time.tv_usec); printf("%d operations: %7.2f operations per second\n", ops, (ops / usecs) * 1000000); (void)unlink(fname); exit (0); } void usage() { (void)fprintf(stderr, "usage: testfile [-b bytes] [-f file] [-o ops]\n"); exit(1); }
Close