Sponsored Content
Top Forums Shell Programming and Scripting Python: Refer a properties file from different location Post 303041130 by Neo on Friday 15th of November 2019 04:52:22 AM
Old 11-15-2019
So, I guess you are sure this is not a permission issue since only dev_user1 user and dev_staff group can read this file?

Seems like a wild shot... just checking in between working on mysql query testing.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Depot file properties

Hi How can we identify the informations like Author, meta data, dependency and other information from a depot file? (1 Reply)
Discussion started by: sethumadhavan
1 Replies

2. UNIX for Dummies Questions & Answers

File properties

Hi , I do have a line in my code as follows: if ] ; then ... else ... fi What does the -z does ? Similarly there is -s in some other part of the code. I guess there are many options like this.. Can anybody please tell what all options are available and what do they mean ? (2 Replies)
Discussion started by: risshanth
2 Replies

3. UNIX for Dummies Questions & Answers

Refer a remote file

I need to refer a remote(present on another unix server) directory from my unix machine as a local file. e.g. I have one directory D1 on 10.10.10.10 and i need to access files in this directory just like they are present on my unix machine 20.20.20.20. Is there any way out... i read a bit... (1 Reply)
Discussion started by: blackeyed
1 Replies

4. Shell Programming and Scripting

Put one string from one location to another location in a file

Hi Everyone, I have 1.txt here a b c' funny"yes"; d e The finally output is: here a b c d e' funny"yes"; (1 Reply)
Discussion started by: jimmy_y
1 Replies

5. Shell Programming and Scripting

reading in properties file

Hi Am new to this scripting stuff so bear with me. I got a script made now that reads in a properties file. The properties file is in the following format: 256= Bos, Sea, FRa 128= HEL I want to be able to read in each line of the file and split out the letter fields by the numbered field. This... (2 Replies)
Discussion started by: vsekvsek
2 Replies

6. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

7. Shell Programming and Scripting

How to copy a file from one location to another location?

I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt. Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies

8. UNIX for Dummies Questions & Answers

Hot to retrieve *.sql file names which we refer in .sh file.

Hi Guys, How to retrieve/get *.sql file names which we refer in all *.sh files. Can any one help me on this. Thanks, Kolipaka (3 Replies)
Discussion started by: lakshmanrk811
3 Replies

9. UNIX for Dummies Questions & Answers

[Solved] How to refer to input file in code?

This may be a dumb question, but googling is not giving me an answer. I'm trying to figure out how to refer to an input file in my code. Lets say i run a script in bash: "sh shellscript.sh inputfile" (Inputfile will be variable...whatever file i run the script on) I wanted to make... (5 Replies)
Discussion started by: legato22
5 Replies

10. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
MYSQL-STRESS-TE(1)					       MySQL Database System						MYSQL-STRESS-TE(1)

NAME
mysql-stress-test.pl - server stress test program SYNOPSIS
mysql-stress-test.pl [options] DESCRIPTION
The mysql-stress-test.pl Perl script performs stress-testing of the MySQL server. (MySQL 5.0 and up only) mysql-stress-test.pl requires a version of Perl that has been built with threads support. Invoke mysql-stress-test.pl like this: shell> mysql-stress-test.pl [options] mysql-stress-test.pl supports the following options: o --help Display a help message and exit. o --abort-on-error=N Causes the program to abort if an error with severity less than or equal to N was encountered. Set to 1 to abort on any error. o --check-tests-file Periodically check the file that lists the tests to be run. If it has been modified, reread the file. This can be useful if you update the list of tests to be run during a stress test. o --cleanup Force cleanup of the working directory. o --log-error-details Log error details in the global error log file. o --loop-count=N In sequential test mode, the number of loops to execute before exiting. o --mysqltest=path The path name to the mysqltest program. o --server-database=db_name The database to use for the tests. The default is test. o --server-host=host_name The host name of the local host to use for making a TCP/IP connection to the local server. By default, the connection is made to localhost using a Unix socket file. o --server-logs-dir=path This option is required. path is the directory where all client session logs will be stored. Usually this is the shared directory that is associated with the server used for testing. o --server-password=password The password to use when connecting to the server. o --server-port=port_num The TCP/IP port number to use for connecting to the server. The default is 3306. o --server-socket=file_name For connections to localhost, the Unix socket file to use, or, on Windows, the name of the named pipe to use. The default if /tmp/mysql.sock. o --server-user=user_name The MySQL user name to use when connecting to the server. The default is root. o --sleep-time=N The delay in seconds between test executions. o --stress-basedir=path This option is required. path is the working directory for the test run. It is used as the temporary location for result tracking during testing. o --stress-datadir=path The directory of data files to be used during testing. The default location is the data directory under the location given by the --stress-suite-basedir option. o --stress-init-file[=path] file_name is the location of the file that contains the list of tests to be run once to initialize the database for the testing. If missing, the default file is stress_init.txt in the test suite directory. o --stress-mode=mode This option indicates the test order in stress-test mode. The mode value is either random to select tests in random order or seq to run tests in each thread in the order specified in the test list file. The default mode is random. o --stress-suite-basedir=path This option is required. path is the directory that has the t and r subdirectories containing the test case and result files. This directory is also the default location of the stress-test.txt file that contains the list of tests. (A different location can be specified with the --stress-tests-file option.) o --stress-tests-file[=file_name] Use this option to run the stress tests. file_name is the location of the file that contains the list of tests. If file_name is omitted, the default file is stress-test.txt in the stress suite directory. (See --stress-suite-basedir.) o --suite=suite_name Run the named test suite. The default name is main (the regular test suite located in the mysql-test directory). o --test-count=N The number of tests to execute before exiting. o --test-duration=N The duration of stress testing in seconds. o --threads=N The number of threads. The default is 1. o --verbose Verbose mode. Print more information about what the program does. COPYRIGHT
Copyright (C) 2006, 2013, Oracle and/or its affiliates. All rights reserved. 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
Oracle Corporation (http://dev.mysql.com/). MySQL 01/23/2014 MYSQL-STRESS-TE(1)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy