PATH: //proc/self/root/usr/bin
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 GET
↓
X
📄 Mail
↓
X
📄 [
↓
X
📄 aclocal
↓
X
📄 aclocal-1.16
↓
X
📄 addr2line
↓
X
📄 agentxtrap
↓
X
📄 animate
↓
X
📄 ar
↓
X
📄 arch
↓
X
📄 arpaname
↓
X
📄 as
↓
X
📄 aspell
↓
X
📄 at
↓
X
📄 atq
↓
X
📄 atrm
↓
X
📄 autoconf
↓
X
📄 autoheader
↓
X
📄 autom4te
↓
X
📄 automake
↓
X
📄 automake-1.16
↓
X
📄 autoreconf
↓
X
📄 autoscan
↓
X
📄 autoupdate
↓
X
📄 awk
↓
X
📄 b2sum
↓
X
📄 base32
↓
X
📄 base64
↓
X
📄 basename
↓
X
📄 basenc
↓
X
📄 bash
↓
X
📄 bashbug-64
↓
X
📄 batch
↓
X
📄 bison
↓
X
📄 bunzip2
↓
X
📄 bzcat
↓
X
📄 bzcmp
↓
X
📄 bzdiff
↓
X
📄 bzgrep
↓
X
📄 bzip2
↓
X
📄 bzip2recover
↓
X
📄 bzless
↓
X
📄 bzmore
↓
X
📄 c++
↓
X
📄 c++filt
↓
X
📄 c89
↓
X
📄 c99
↓
X
📄 cagefs_enter.proxied
↓
X
📄 cal
↓
X
📄 captoinfo
↓
X
📄 cat
↓
X
📄 catchsegv
↓
X
📄 cc
↓
X
📄 chcon
↓
X
📄 chgrp
↓
X
📄 chmod
↓
X
📄 chown
↓
X
📄 chrt
↓
X
📄 cksum
↓
X
📄 cldetect
↓
X
📄 clear
↓
X
📄 cloudlinux-awp-user
↓
X
📄 clusterdb
↓
X
📄 clwpos-user
↓
X
📄 cmp
↓
X
📄 col
↓
X
📄 colcrt
↓
X
📄 colrm
↓
X
📄 column
↓
X
📄 comm
↓
X
📄 compare
↓
X
📄 composite
↓
X
📄 conjure
↓
X
📄 convert
↓
X
📄 cp
↓
X
📄 cpan
↓
X
📄 cpp
↓
X
📄 createdb
↓
X
📄 createuser
↓
X
📄 crontab
↓
X
📄 crontab.cagefs
↓
X
📄 csplit
↓
X
📄 curl
↓
X
📄 cut
↓
X
📄 cyrusbdb2current
↓
X
📄 date
↓
X
📄 dbiprof
↓
X
📄 dd
↓
X
📄 delv
↓
X
📄 df
↓
X
📄 diff
↓
X
📄 diff3
↓
X
📄 dig
↓
X
📄 dir
↓
X
📄 dircolors
↓
X
📄 dirname
↓
X
📄 display
↓
X
📄 dnstap-read
↓
X
📄 dropdb
↓
X
📄 dropuser
↓
X
📄 du
↓
X
📄 echo
↓
X
📄 ed
↓
X
📄 egrep
↓
X
📄 enc2xs
↓
X
📄 enchant
↓
X
📄 enchant-lsmod
↓
X
📄 env
↓
X
📄 eps2eps
↓
X
📄 eqn
↓
X
📄 ex
↓
X
📄 expand
↓
X
📄 expr
↓
X
📄 factor
↓
X
📄 false
↓
X
📄 fc-cache
↓
X
📄 fc-cache-64
↓
X
📄 fc-cat
↓
X
📄 fc-conflist
↓
X
📄 fc-list
↓
X
📄 fc-match
↓
X
📄 fc-pattern
↓
X
📄 fc-query
↓
X
📄 fc-scan
↓
X
📄 fc-validate
↓
X
📄 fgrep
↓
X
📄 file
↓
X
📄 find
↓
X
📄 flex
↓
X
📄 flex++
↓
X
📄 flock
↓
X
📄 fmt
↓
X
📄 fold
↓
X
📄 free
↓
X
📄 freetype-config
↓
X
📄 funzip
↓
X
📄 g++
↓
X
📄 gawk
↓
X
📄 gcc
↓
X
📄 gcc-ar
↓
X
📄 gcc-nm
↓
X
📄 gcc-ranlib
↓
X
📄 gcov
↓
X
📄 gcov-dump
↓
X
📄 gcov-tool
↓
X
📄 gem
↓
X
📄 gencat
↓
X
📄 geoiplookup
↓
X
📄 geoiplookup6
↓
X
📄 geqn
↓
X
📄 getconf
↓
X
📄 getent
↓
X
📄 getopt
↓
X
📄 ghostscript
↓
X
📄 git
↓
X
📄 git-receive-pack
↓
X
📄 git-shell
↓
X
📄 git-upload-archive
↓
X
📄 git-upload-pack
↓
X
📄 gm
↓
X
📄 gmake
↓
X
📄 gneqn
↓
X
📄 gnroff
↓
X
📄 gpg
↓
X
📄 gpg-agent
↓
X
📄 gpg-error
↓
X
📄 gpgsplit
↓
X
📄 gpgv
↓
X
📄 gpic
↓
X
📄 gprof
↓
X
📄 grep
↓
X
📄 groff
↓
X
📄 grops
↓
X
📄 grotty
↓
X
📄 groups
↓
X
📄 gs
↓
X
📄 gsnd
↓
X
📄 gsoelim
↓
X
📄 gtar
↓
X
📄 gtbl
↓
X
📄 gtroff
↓
X
📄 gunzip
↓
X
📄 gzexe
↓
X
📄 gzip
↓
X
📄 h2ph
↓
X
📄 h2xs
↓
X
📄 head
↓
X
📄 hexdump
↓
X
📄 host
↓
X
📄 hostid
↓
X
📄 hostname
↓
X
📄 hunspell
↓
X
📄 iconv
↓
X
📄 icu-config
↓
X
📄 icu-config-64
↓
X
📄 icuinfo
↓
X
📄 id
↓
X
📄 identify
↓
X
📄 idn
↓
X
📄 ifnames
↓
X
📄 import
↓
X
📄 infocmp
↓
X
📄 infotocap
↓
X
📄 install
↓
X
📄 instmodsh
↓
X
📄 ionice
↓
X
📄 ipcrm
↓
X
📄 ipcs
↓
X
📄 isosize
↓
X
📄 ispell
↓
X
📄 join
↓
X
📄 kill
↓
X
📄 ld
↓
X
📄 ld.bfd
↓
X
📄 ldd
↓
X
📄 less
↓
X
📄 lessecho
↓
X
📄 lesskey
↓
X
📄 lesspipe.sh
↓
X
📄 lex
↓
X
📄 libnetcfg
↓
X
📄 libtool
↓
X
📄 libtoolize
↓
X
📄 link
↓
X
📄 ln
↓
X
📄 locale
↓
X
📄 localedef
↓
X
📄 logger
↓
X
📄 login
↓
X
📄 logname
↓
X
📄 look
↓
X
📄 ls
↓
X
📄 lto-dump
↓
X
📄 m4
↓
X
📄 mail
↓
X
📄 mailx
↓
X
📄 make
↓
X
📄 make-dummy-cert
↓
X
📄 mariadb
↓
X
📄 mariadb-access
↓
X
📄 mariadb-admin
↓
X
📄 mariadb-binlog
↓
X
📄 mariadb-check
↓
X
📄 mariadb-conv
↓
X
📄 mariadb-convert-table-format
↓
X
📄 mariadb-dump
↓
X
📄 mariadb-dumpslow
↓
X
📄 mariadb-embedded
↓
X
📄 mariadb-find-rows
↓
X
📄 mariadb-hotcopy
↓
X
📄 mariadb-import
↓
X
📄 mariadb-plugin
↓
X
📄 mariadb-secure-installation
↓
X
📄 mariadb-setpermission
↓
X
📄 mariadb-show
↓
X
📄 mariadb-slap
↓
X
📄 mariadb-tzinfo-to-sql
↓
X
📄 mariadb-waitpid
↓
X
📄 mcookie
↓
X
📄 md5sum
↓
X
📄 mesg
↓
X
📄 mkdir
↓
X
📄 mkfifo
↓
X
📄 mknod
↓
X
📄 mktemp
↓
X
📄 mogrify
↓
X
📄 montage
↓
X
📄 more
↓
X
📄 msql2mysql
↓
X
📄 mv
↓
X
📄 my_print_defaults
↓
X
📄 mysql
↓
X
📄 mysql_config
↓
X
📄 mysql_find_rows
↓
X
📄 mysql_waitpid
↓
X
📄 mysqlaccess
↓
X
📄 mysqladmin
↓
X
📄 mysqlbinlog
↓
X
📄 mysqlcheck
↓
X
📄 mysqldump
↓
X
📄 mysqlimport
↓
X
📄 mysqlshow
↓
X
📄 mytop
↓
X
📄 namei
↓
X
📄 nano
↓
X
📄 neqn
↓
X
📄 net-snmp-create-v3-user
↓
X
📄 nice
↓
X
📄 nl
↓
X
📄 nm
↓
X
📄 nohup
↓
X
📄 nproc
↓
X
📄 nroff
↓
X
📄 nslookup
↓
X
📄 nsupdate
↓
X
📄 numfmt
↓
X
📄 objcopy
↓
X
📄 objdump
↓
X
📄 od
↓
X
📄 openssl
↓
X
📄 pango-list
↓
X
📄 pango-segmentation
↓
X
📄 pango-view
↓
X
📄 passenger
↓
X
📄 passwd
↓
X
📄 paste
↓
X
📄 patch
↓
X
📄 pathchk
↓
X
📄 pdf2dsc
↓
X
📄 pdf2ps
↓
X
📄 perl
↓
X
📄 perl5.32.1
↓
X
📄 perlbug
↓
X
📄 perldoc
↓
X
📄 perlivp
↓
X
📄 perlml
↓
X
📄 perlthanks
↓
X
📄 pg_dump
↓
X
📄 pg_dumpall
↓
X
📄 pg_restore
↓
X
📄 pgrep
↓
X
📄 php
↓
X
📄 pic
↓
X
📄 piconv
↓
X
📄 ping
↓
X
📄 pinky
↓
X
📄 pkg-config
↓
X
📄 pkill
↓
X
📄 pl2pm
↓
X
📄 pmap
↓
X
📄 pod2html
↓
X
📄 pod2man
↓
X
📄 pod2text
↓
X
📄 pod2usage
↓
X
📄 podchecker
↓
X
📄 post-grohtml
↓
X
📄 pr
↓
X
📄 pre-grohtml
↓
X
📄 precat
↓
X
📄 preunzip
↓
X
📄 prezip
↓
X
📄 prezip-bin
↓
X
📄 printenv
↓
X
📄 printf
↓
X
📄 prove
↓
X
📄 ps
↓
X
📄 ps2ascii
↓
X
📄 ps2epsi
↓
X
📄 ps2pdf
↓
X
📄 ps2pdf12
↓
X
📄 ps2pdf13
↓
X
📄 ps2pdf14
↓
X
📄 ps2pdfwr
↓
X
📄 ps2ps
↓
X
📄 ps2ps2
↓
X
📄 psql
↓
X
📄 ptx
↓
X
📄 pwd
↓
X
📄 pwdx
↓
X
📄 pydoc
↓
X
📄 pydoc3
↓
X
📄 pydoc3.9
↓
X
📄 ranlib
↓
X
📄 readelf
↓
X
📄 readlink
↓
X
📄 realpath
↓
X
📄 recode
↓
X
📄 red
↓
X
📄 reindexdb
↓
X
📄 rename
↓
X
📄 renew-dummy-cert
↓
X
📄 renice
↓
X
📄 replace
↓
X
📄 reset
↓
X
📄 rev
↓
X
📄 rm
↓
X
📄 rmdir
↓
X
📄 rnano
↓
X
📄 ruby
↓
X
📄 run-with-aspell
↓
X
📄 runcon
↓
X
📄 rvi
↓
X
📄 rview
↓
X
📄 scalar
↓
X
📄 scl
↓
X
📄 scl_enabled
↓
X
📄 scl_source
↓
X
📄 scp
↓
X
📄 script
↓
X
📄 sdiff
↓
X
📄 sed
↓
X
📄 selectorctl
↓
X
📄 seq
↓
X
📄 setsid
↓
X
📄 setterm
↓
X
📄 sftp
↓
X
📄 sh
↓
X
📄 sha1sum
↓
X
📄 sha224sum
↓
X
📄 sha256sum
↓
X
📄 sha384sum
↓
X
📄 sha512sum
↓
X
📄 shred
↓
X
📄 shuf
↓
X
📄 size
↓
X
📄 skill
↓
X
📄 slabtop
↓
X
📄 sleep
↓
X
📄 snice
↓
X
📄 snmpconf
↓
X
📄 soelim
↓
X
📄 sort
↓
X
📄 spell
↓
X
📄 splain
↓
X
📄 split
↓
X
📄 sprof
↓
X
📄 sqlite3
↓
X
📄 ssh
↓
X
📄 ssh-add
↓
X
📄 ssh-agent
↓
X
📄 ssh-copy-id
↓
X
📄 ssh-keygen
↓
X
📄 ssh-keyscan
↓
X
📄 stat
↓
X
📄 stdbuf
↓
X
📄 strace
↓
X
📄 stream
↓
X
📄 strings
↓
X
📄 strip
↓
X
📄 stty
↓
X
📄 sum
↓
X
📄 sync
↓
X
📄 tabs
↓
X
📄 tac
↓
X
📄 tail
↓
X
📄 tar
↓
X
📄 taskset
↓
X
📄 tbl
↓
X
📄 tclsh
↓
X
📄 tclsh8.6
↓
X
📄 tee
↓
X
📄 test
↓
X
📄 tic
↓
X
📄 timeout
↓
X
📄 tload
↓
X
📄 tmpwatch
↓
X
📄 toe
↓
X
📄 top
↓
X
📄 touch
↓
X
📄 tput
↓
X
📄 tr
↓
X
📄 troff
↓
X
📄 true
↓
X
📄 truncate
↓
X
📄 tset
↓
X
📄 tsort
↓
X
📄 tty
↓
X
📄 tzselect
↓
X
📄 uapi
↓
X
📄 ul
↓
X
📄 uname
↓
X
📄 unexpand
↓
X
📄 uniq
↓
X
📄 unlink
↓
X
📄 unzip
↓
X
📄 unzipsfx
↓
X
📄 uptime
↓
X
📄 users
↓
X
📄 utmpdump
↓
X
📄 vacuumdb
↓
X
📄 vdir
↓
X
📄 vi
↓
X
📄 view
↓
X
📄 vmstat
↓
X
📄 watch
↓
X
📄 wc
↓
X
📄 wget
↓
X
📄 whereis
↓
X
📄 which
↓
X
📄 who
↓
X
📄 whoami
↓
X
📄 word-list-compress
↓
X
📄 x86_64-redhat-linux-c++
↓
X
📄 x86_64-redhat-linux-g++
↓
X
📄 x86_64-redhat-linux-gcc
↓
X
📄 x86_64-redhat-linux-gcc-11
↓
X
📄 xargs
↓
X
📄 xmlcatalog
↓
X
📄 xmllint
↓
X
📄 xmlwf
↓
X
📄 xsltproc
↓
X
📄 xsubpp
↓
X
📄 yes
↓
X
📄 zcat
↓
X
📄 zcmp
↓
X
📄 zdiff
↓
X
📄 zegrep
↓
X
📄 zfgrep
↓
X
📄 zforce
↓
X
📄 zgrep
↓
X
📄 zip
↓
X
📄 zipcloak
↓
X
📄 zipgrep
↓
X
📄 zipinfo
↓
X
📄 zipnote
↓
X
📄 zipsplit
↓
X
📄 zless
↓
X
📄 zmore
↓
X
📄 znew
↓
X
📄 zsoelim
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: mariadb-dumpslow
#!/usr/bin/perl # Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; version 2 # of the License. # # 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 # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1335 USA # mysqldumpslow - parse and summarize the MySQL slow query log # Original version by Tim Bunce, sometime in 2000. # Further changes by Tim Bunce, 8th March 2001. # Handling of strings with \ and double '' by Monty 11 Aug 2001. use strict; use Getopt::Long; # t=time, l=lock time, r=rows, a=rows affected # at, al, ar and aa are the corresponding averages my %opt = ( s => 'at', h => '*', ); GetOptions(\%opt, 'v|verbose+',# verbose 'help+', # write usage info 'd|debug+', # debug 's=s', # what to sort by (aa, ae, al, ar, at, a, c, e, l, r, t) 'r!', # reverse the sort order (largest last instead of first) 't=i', # just show the top n queries 'a!', # don't abstract all numbers to N and strings to 'S' 'n=i', # abstract numbers with at least n digits within names 'g=s', # grep: only consider stmts that include this string 'h=s', # hostname/basename of db server for *-slow.log filename (can be wildcard) 'i=s', # name of server instance (if using mysql.server startup script) 'l!', # don't subtract lock time from total time ) or usage("bad option"); $opt{'help'} and usage(); unless (@ARGV) { my $defaults = `my_print_defaults --mysqld`; my $datadir = ($defaults =~ m/--datadir=(.*)/g)[-1]; if (!$datadir or $opt{i}) { # determine the datadir from the instances section of /etc/my.cnf, if any my $instances = `my_print_defaults instances`; die "Can't determine datadir from 'my_print_defaults instances' output: $defaults" unless $instances; my @instances = ($instances =~ m/^--(\w+)-/mg); die "No -i 'instance_name' specified to select among known instances: @instances.\n" unless $opt{i}; die "Instance '$opt{i}' is unknown (known instances: @instances)\n" unless grep { $_ eq $opt{i} } @instances; $datadir = ($instances =~ m/--$opt{i}-datadir=(.*)/g)[-1] or die "Can't determine --$opt{i}-datadir from 'my_print_defaults instances' output: $instances"; warn "datadir=$datadir\n" if $opt{v}; } my $slowlog = ($defaults =~ m/--log[-_]slow[-_]queries=(.*)/g)[-1]; if (!$slowlog) { $slowlog = ($defaults =~ m/--slow[-_]query[-_]log[-_]file=(.*)/g)[-1]; } if ( $slowlog ) { @ARGV = ($slowlog); die "Can't find '$slowlog'\n" unless @ARGV; } else { if (!$opt{h}) { $opt{h}= ($defaults =~ m/--log[-_]basename=(.*)/g)[-1]; } @ARGV = <$datadir/$opt{h}-slow.log>; die "Can't find '$datadir/$opt{h}-slow.log'\n" unless @ARGV; } } warn "\nReading mysql slow query log from @ARGV\n"; my @pending; my %stmt; $/ = ";\n#"; # read entire statements using paragraph mode while ( defined($_ = shift @pending) or defined($_ = <>) ) { warn "[[$_]]\n" if $opt{d}; # show raw paragraph being read my @chunks = split /^\/.*Version.*started with[\000-\377]*?Time.*Id.*Command.*Argument.*\n/m; if (@chunks > 1) { unshift @pending, map { length($_) ? $_ : () } @chunks; warn "<<".join(">>\n<<",@chunks).">>" if $opt{d}; next; } s/^#? Time: \d{6}\s+\d+:\d+:\d+.*\n//; my ($user,$host) = s/^#? User\@Host:\s+(\S+)\s+\@\s+(\S+).*\n// ? ($1,$2) : ('',''); s/^# Thread_id: [0-9]+\s+Schema: .*\s+QC_hit:.*[^\n]+\n//; s/^# Query_time: ([0-9.]+)\s+Lock_time: ([0-9.]+)\s+Rows_sent: ([0-9.]+)\s+Rows_examined: ([0-9.]+).*\n//; my ($t, $l, $r, $e) = ($1, $2, $3, $4); s/^# Rows_affected: ([0-9.]+).*\n//; my ($a) = ($1); $t -= $l unless $opt{l}; # remove fluff that mysqld writes to log when it (re)starts: s!^/.*Version.*started with:.*\n!!mg; s!^Tcp port: \d+ Unix socket: \S+\n!!mg; s!^Time.*Id.*Command.*Argument.*\n!!mg; # Remove optimizer info s!^# QC_Hit: \S+\s+Full_scan: \S+\s+Full_join: \S+\s+Tmp_table: \S+\s+Tmp_table_on_disk: \S+[^\n]+\n!!mg; s!^# Filesort: \S+\s+Filesort_on_disk: \S+[^\n]+\n!!mg; s!^# Full_scan: \S+\s+Full_join: \S+[^\n]+\n!!mg; s/^use \w+;\n//; # not consistently added s/^SET timestamp=\d+;\n//; s/^[ ]*\n//mg; # delete blank lines s/^[ ]*/ /mg; # normalize leading whitespace s/\s*;\s*(#\s*)?$//; # remove trailing semicolon(+newline-hash) next if $opt{g} and !m/$opt{g}/io; unless ($opt{a}) { s/\b\d+\b/N/g; s/\b0x[0-9A-Fa-f]+\b/N/g; s/''/'S'/g; s/""/"S"/g; s/(\\')//g; s/(\\")//g; s/'[^']+'/'S'/g; s/"[^"]+"/"S"/g; # -n=8: turn log_20001231 into log_NNNNNNNN s/([a-z_]+)(\d{$opt{n},})/$1.('N' x length($2))/ieg if $opt{n}; # abbreviate massive "in (...)" statements and similar s!(([NS],){100,})!sprintf("$2,{repeated %d times}",length($1)/2)!eg; } my $s = $stmt{$_} ||= { users=>{}, hosts=>{} }; $s->{c} += 1; $s->{t} += $t; $s->{l} += $l; $s->{r} += $r; $s->{e} += $e; $s->{a} += $a; $s->{users}->{$user}++ if $user; $s->{hosts}->{$host}++ if $host; warn "{{$_}}\n\n" if $opt{d}; # show processed statement string } foreach (keys %stmt) { my $v = $stmt{$_} || die; my ($c, $t, $l, $r, $e, $a) = @{ $v }{qw(c t l r e a)}; $v->{at} = $t / $c; $v->{al} = $l / $c; $v->{ar} = $r / $c; $v->{ae} = $e / $c; $v->{aa} = $a / $c; } my @sorted = sort { $stmt{$b}->{$opt{s}} <=> $stmt{$a}->{$opt{s}} } keys %stmt; @sorted = @sorted[0 .. $opt{t}-1] if $opt{t}; @sorted = reverse @sorted if $opt{r}; foreach (@sorted) { my $v = $stmt{$_} || die; my ($c, $t, $at, $l, $al, $r, $ar, $e, $ae, $a, $aa) = @{ $v }{qw(c t at l al r ar e ae a aa)}; my @users = keys %{$v->{users}}; my $user = (@users==1) ? $users[0] : sprintf "%dusers",scalar @users; my @hosts = keys %{$v->{hosts}}; my $host = (@hosts==1) ? $hosts[0] : sprintf "%dhosts",scalar @hosts; printf "Count: %d Time=%.2fs (%ds) Lock=%.2fs (%ds) Rows_sent=%.1f (%d), Rows_examined=%.1f (%d), Rows_affected=%.1f (%d), $user\@$host\n%s\n\n", $c, $at,$t, $al,$l, $ar,$r, $ae, $e, $aa, $a, $_; } sub usage { my $str= shift; my $text= <<HERE; Usage: mysqldumpslow [ OPTS... ] [ LOGS... ] Parse and summarize the MySQL slow query log. Options are --verbose verbose --debug debug --help write this text to standard output -v verbose -d debug -s ORDER what to sort by (aa, ae, al, ar, at, a, c, e, l, r, t), 'at' is default aa: average rows affected ae: aggregated rows examined al: average lock time ar: average rows sent at: average query time a: rows affected c: count e: rows examined l: lock time r: rows sent t: query time -r reverse the sort order (largest last instead of first) -t NUM just show the top n queries -a don't abstract all numbers to N and strings to 'S' -n NUM abstract numbers with at least n digits within names -g PATTERN grep: only consider stmts that include this string -h HOSTNAME hostname of db server for *-slow.log filename (can be wildcard), default is '*', i.e. match all -i NAME name of server instance (if using mysql.server startup script) -l don't subtract lock time from total time HERE if ($str) { print STDERR "ERROR: $str\n\n"; print STDERR $text; exit 1; } else { print $text; exit 0; } }
SIMPAN PERUBAHAN