Sponsored Content
Full Discussion: DB2 tables backup using UNIX
Top Forums UNIX for Beginners Questions & Answers DB2 tables backup using UNIX Post 303045747 by Neo on Saturday 11th of April 2020 10:21:25 PM
Old 04-11-2020
You need to be very specific about the tech details:
  • Server?
  • Database?
  • Table Schemas?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

connect to Db2 thru Unix

I need to connect to DB2 through Unix and check whether the database is up or not. We are planning to use Neon shadow direct to connect to the same. I would like to know how to pass parameters to neon shadow direct. Any guidance/help in this regard would be helpful. My unix box is AIX 1. ... (3 Replies)
Discussion started by: ranj@tcs
3 Replies

2. UNIX for Dummies Questions & Answers

DB2 Backup Script

Not sure if this should be in AIX forum or not, but I thought I would try here since I am a "Dummy" when it comes to DB2. Does any one have a sample script that I could use to backup a database in DB2? The database is set up with Circular Logging so online backups are not possible. I am hoping... (0 Replies)
Discussion started by: jyoung
0 Replies

3. Shell Programming and Scripting

Converting tables of row data into columns of tables

I am trying to transpose tables listed in the format into format. Any help would be greatly appreciated. Input: test_data_1 1 2 90% 4 3 91% 5 4 90% 6 5 90% 9 6 90% test_data_2 3 5 92% 5 4 92% 7 3 93% 9 2 92% 1 1 92% ... Output:... (7 Replies)
Discussion started by: justthisguy
7 Replies

4. Shell Programming and Scripting

DB2 and Unix Variable .....

Guys Quick help... ---------------------------- #!/usr/bin/ksh db2 -x "select count(*) from ${SCHEMA}.EMP"> $HOME/count.dat COUNT=`cat $HOME/count.dat` echo Table Count: $COUNT if ( $COUNT -eq 0 ); then echo Record Count in Table is 0 exit 1 fi echo Records Exist... (2 Replies)
Discussion started by: freakygs
2 Replies

5. Shell Programming and Scripting

need help with UNIX, awk and DB2

Hi i am working on a script which takes a parameter file as input . this parameter file is having SQL statements. I am fetching column names from the output of SQL file using following code: while read Record1 do SQLQuery=`echo $Record1 | awk '{printf $0 }'` ... (2 Replies)
Discussion started by: manmeet
2 Replies

6. AIX

Extract data from DB2 tables and FTP it to outside company's firewall

Please help me in creating the script in AIX. requirement is; The new component's main function is to extract the data from DB2 tables and company's firewall directly. The component function needs to check the timestamp in the DB2 tables ((CREDAT and CRETIM) with the requested timestamp and... (1 Reply)
Discussion started by: priyanka3006
1 Replies

7. Shell Programming and Scripting

Help is Script inserting in db2 tables

Hi, I am creating a shell script to insert few records in db2 tables. I am facing 2 challenges and would appreciate your help on this. 1) In my insert statement like follows: db2 "connect to dbname user user_name"; db2 "insert into table_name (name, phone, ssn) values... (1 Reply)
Discussion started by: pinnacle
1 Replies

8. UNIX for Dummies Questions & Answers

How to connect to DB2 using UNIX

I am new to Putty, Unix and DB2 and this is what I am working on right now. I installed Putty I got access to username / pwd I got Unix usrname/Pwd.also got the home directory once I login into putty I get the screen and it shows $ sign From here how do I connect to DB2 database? I have... (2 Replies)
Discussion started by: JayDoshi
2 Replies

9. Shell Programming and Scripting

Scripts for exporting backup from selected tables of Oracle DB

dear all please help me ! i need a script for exporting the selected tables of oracle database installed on CentOs. i waiting your response. thanks and regards (6 Replies)
Discussion started by: amirzargaran
6 Replies

10. UNIX for Dummies Questions & Answers

UNIX Routing Tables

I'm trying to learn the basic in's and out's of networking on my own through the use of a book. When it comes to routing tables I'm completely lost. I apologize for the alignment of the table below. The book vaguely explains routing tables, then has the following example: E15.3) Consider the... (8 Replies)
Discussion started by: ksmarine1980
8 Replies
TUNA(8) 						  System Administration Utilities						   TUNA(8)

NAME
tuna - program for tuning running processes SYNOPSIS
tuna [OPTIONS] DESCRIPTION
This manual page explains the tuna program. The program can be used to change the attributes of application and kernel threads. The tuna can operate on IRQs by name or number, and tasks or threads by process ID or command-line. CPUs and sets of CPUs can be specified by CPU or socket number. IRQ names and process command-lines can include wildcards. tuna can change scheduling policy, scheduler priority and processor affinity for processes and process threads. tuna can also change the processor affinity for interrupts. When tuna is invoked without any options it starts up in its graphical interface mode. This manual page explains only the command-line options for tuna OPTIONS
tuna has both action options and modifier options. Modifier options must be specified on the command-line before the actions they are intended to modify. Any modifier option applies to following actions on the same command-line until it is over-ridden. Actions -h, --help Print a list of options. tuna will exit after this action, ignoring the remainder of the command-line. -g, --gui Start the GUI. Actions that follow this on the command-line will be processed without waiting for the GUI to complete. -a, --config_file_apply=profilename Apply changes described in profile -l, --config_file_list List preloaded profiles -i, --isolate Move all threads away from CPU-LIST. Requires -c or -S. -I, --include Allow all threads to run on CPU-LIST. Requires -c or -S. -m, --move Move selected entities to CPU-LIST. Requires -c and either -t or -q. -p, --priority=[POLICY:]RTPRIO Set thread scheduler tunables: POLICY and RTPRIO. POLICY is one of OTHER, FIFO, RR, or BATCH. Requires -t. -P, --show_threads Show thread list. -s, --save=FILENAME Save kthreads sched tunables to FILENAME. -v, --version Show version -W, --what_is Provides help about selected entities. Requires -t. -x, --spread Spread selected entities over CPU-LIST. Requires at least one of -t or -q. The specified threads and IRQs are each assigned to one cpu in CPU-LIST. Modifiers -c, --cpus=CPU-LIST CPU-LIST affected by commands. Requires a CPU number or a comma-separated list of CPU numbers. -C, --affect_children Operation will affect children threads. -f, --filter Disable display of selected CPUs in --gui. Requires -c -G, --cgroup Display the processes with the type of cgroups they are in. Requires -P -K, --no_kthreads Operations will not affect kernel threads. -q, --irqs=IRQ-LIST IRQ-LIST affected by commands. Requires an IRQ number or a comma-separated list of IRQ numbers. -S, --sockets=CPU-SOCKET-LIST CPU-SOCKET-LIST affected by commands. Requires a socket number or a comma-separated list of socket numbers. -t, --threads=THREAD-LIST THREAD-LIST affected by commands. Requires a thread number or thread name, or a comma-separated list of thread numbers and/or names. Thread names may contain wildcards. Be sure to quote or escape any wildcard specifications. -U, --no_uthreads Operations will not affect user threads. USAGE EXAMPLES
If for instance the Ethernet NICs have multiple queues for both receive and transmit, each with its own IRQ, the Ethernet IRQs can be asso- ciated with a CPU socket: tuna -S 2 -i -q 'eth*' -x Move everything off the CPUs in socket 2, then spread the IRQs for the Ethernet devices acrross those same CPUs. tuna February 2010 TUNA(8)
All times are GMT -4. The time now is 02:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy