Current Path : /usr/opt/mysql57/mysql-test/include/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/include/ib_logfile_size_check.inc |
perl; my $dir = $ENV{'MYSQLD_DATADIR'}; my $size; opendir(DIR, $dir) or die $!; while (my $file = readdir(DIR)) { next unless ($file =~ m/\ib_logfile.$/); $size = -s "$dir/$file"; print "The size of the ib_logfile(0/1): $size \n"; } close(DIR); exit(0) EOF