Help, I need to get the port number of a Oracle database using the tnsping command. I need to parse it's output.
=====================
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(Host=chamar)(Port=1541))
Sometimes may be like this:
Attempting to contact... (8 Replies)
hi,:)
onsider the followinf two lines
J="$(scriptbc -p 8 $I / \(12 \* 100 \) )"
N="$(( $L * 12 ))"
In the first line I put \ before * like \* and its working fine.
But in the second line if put \ before * i am getting parse error.
What might be the reason?Any idea pls.
cheers
RRK (1 Reply)
Hi
I'm writing simple perl script to parse the ftp log as below:
Local directory now /home/user/testing
227 Entering Passive Mode (192,254,19,34,8,228).
125 Data connection already open; Transfer starting.
09-25-09 02:33PM 25333629 abc.tar
09-14-09 12:50PM 18015752... (1 Reply)
On the command, when I type in certain commands, they will display a prompt waiting for some input. When I type in the requested input, it will display the info I requested.
For example, if I enter the telnet command, it will display a telnet prompt and wait for me to enter something.
I... (1 Reply)
Hi,
I have a really simple question...I think. I want to be able to parse two or more files into one by reading the first record from each file into new file then go back to the first file and start reading the second record in from each file into new file and so on. I am new to using awk and am... (5 Replies)
Attached file is parsed so that only the three columns result.
DACH1 occurs 34 times with an average of 0.881541
NEB occurs 159 times with an average of 0.837628
LTBP1 occurs 46 times with an average of 0.748722
parse result: output.txt (the text is removed and the xxx is seperated in a... (6 Replies)
I downloaded source code using:
wget -qO- http://fulgentdiagnostics.com/test/clinical-exome/ | cat > flugentsource.txt
Now I am trying to use sed to parse it to confirm a gene count. Basically, output (flugent.txt) all the gene names with a total count after them
I'm not all that... (5 Replies)
I am trying to parse a string using SQL but am too new and still learning. I have text in a control or field 685 that is variable, but always the same format.
field 685 input
arr 2q33.3q34(200,900,700-209,000,000)x2 xxx
Desired output
2:200900700-209000000
Basically, the # after the... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT CENTOS
mysql_convert_table_format
MYSQL_CONVERT_TAB(1) MySQL Database System MYSQL_CONVERT_TAB(1)NAME
mysql_convert_table_format - convert tables to use a given storage engine
SYNOPSIS
mysql_convert_table_format [options] db_name
DESCRIPTION
mysql_convert_table_format converts the tables in a database to use a particular storage engine (MyISAM by default).
mysql_convert_table_format is written in Perl and requires that the DBI and DBD::mysql Perl modules be installed (see Section 2.15, "Perl
Installation Notes").
Invoke mysql_convert_table_format like this:
shell> mysql_convert_table_format [options]db_name
The db_name argument indicates the database containing the tables to be converted.
mysql_convert_table_format supports the options described in the following list.
o --help
Display a help message and exit.
o --force
Continue even if errors occur.
o --host=host_name
Connect to the MySQL server on the given host.
o --password=password
The password to use when connecting to the server. Note that the password value is not optional for this option, unlike for other MySQL
programs.
Specifying a password on the command line should be considered insecure. See Section 5.3.2.2, "End-User Guidelines for Password
Security". You can use an option file to avoid giving the password on the command line.
o --port=port_num
The TCP/IP port number to use for the connection.
o --socket=path
For connections to localhost, the Unix socket file to use.
o --type=engine_name
Specify the storage engine that the tables should be converted to use. The default is MyISAM if this option is not given.
o --user=user_name
The MySQL user name to use when connecting to the server.
o --verbose
Verbose mode. Print more information about what the program does.
o --version
Display version information and exit.
COPYRIGHT
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the License.
This documentation 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online
at http://dev.mysql.com/doc/.
AUTHOR
Sun Microsystems, Inc. (http://www.mysql.com/).
MySQL 5.1 04/06/2010 MYSQL_CONVERT_TAB(1)