Needed some idea about transaction volume check on daily basis


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Needed some idea about transaction volume check on daily basis
# 8  
Old 02-22-2020
Hi Saps,

If you read my post carefully, I did not ask for any code samples. My message to you said:

Quote:
Do you mind, then, to provide a fragment (sample input) to the code you need help with, maybe a few dozen or so lines?
Kindly read more carefully.. Thank so much.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Difference between BEGIN TRANSACTION & START TRANSACTION?

What's the difference between BEGIN TRANSACTION vs START TRANSACTION? Also goes for COMMIT TRANSACTION vs COMMIT? (0 Replies)
Discussion started by: dan139
0 Replies

2. Shell Programming and Scripting

Script to count files on daily basis

Hi all I need to count files on a daily basis and send the output via email, what I am currently doing its simply running the following:ls -lrt *.cdr | awk '{if(($6 == "Jul") && ($7 == "13")) print $0}' | wc -l, which in this case it will count all files with extension "cdr" from the month of... (13 Replies)
Discussion started by: fretagi
13 Replies

3. Shell Programming and Scripting

Script to move file on a daily basis

Hi! Please I need help on the a script that would pick one file in a directory, change its name, them change its permissions, them move to a different directory, but has to be done on a daily basis, and the file that is being moved to its final destination has to have the following format:... (7 Replies)
Discussion started by: fretagi
7 Replies

4. UNIX for Dummies Questions & Answers

Tracking the script(.sh) files triggered on daily or monthly basis from source

Hi Gurus, Is there any solution for tracking the script(.sh) files triggered on daily or monthly basis from source - Datastage (Routines) Needs to find out if this scripts are running on daily just want to know that is there anything to track Thanks in Advance (2 Replies)
Discussion started by: SeenuGuddu
2 Replies

5. UNIX for Advanced & Expert Users

AIX idea needed to check the logs updated date and time

Hi with the help of Gabriel canepa, i have just edited filename only in his code. The help which i got and he helped is 1) I have around 22 logs and each log should be updated in the last 24 hours from the current timestamp. 2) It should check for ERROR message (not error,Error) in the log and... (2 Replies)
Discussion started by: Kalaihari
2 Replies

6. Shell Programming and Scripting

Creating directory daily basis...

Need help on this script. the month is not changing to February... #!/bin/bash for X in `seq 1 100` do DATE=`date +%Y-%m-%d "--date=${X} day ago"` Y=`date +%Y` M=`date +%m` D=`date +%d "--date=${X} day ago"` DIR=/home/LogBackup for i in `seq 1 ` do if ;then # ... (1 Reply)
Discussion started by: alelee
1 Replies

7. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

8. Shell Programming and Scripting

Zip all the files within a directory on a daily basis

I need to zip all the files within a directory on a daily basis and store them as a zip file within that directory with the date in its naming convention I have file extentions .log .lst and .out's within that directory How do i do this task zip -mqj mydir/allzip$YYMMDDDD.zip mydir/*.* ... (5 Replies)
Discussion started by: ramky79
5 Replies

9. HP-UX

HPUX printers & plotters disable on a daily basis

HI all, I've been having issues with printers and plotters disabling with no reason at all...It could happen to the same workstation once a day or once a week..There is nothing consistant..I stop and restart the spooler, only then can I re-enable the disabled printer.... If anyone is... (0 Replies)
Discussion started by: Shutdown
0 Replies
Login or Register to Ask a Question
VOS_COPY(1)						       AFS Command Reference						       VOS_COPY(1)

NAME
vos_copy - Make a copy of a volume SYNOPSIS
vos copy [-id] <volume name or ID of source> [-fromserver] <machine name for source> [-frompartition] <partition name for source> [-toname] <volume name for new copy> [-toserver] <machine name for destination> [-topartition] <partition name for destination> [-offline] [-readonly] [-live] [-cell <cell name>] [-noauth] [-localauth] [-verbose] [-encrypt] [-noresolve] [-help] vos cop [-i] <volume name or ID of source> [-froms] <machine name for source> [-fromp] <partition name for source> [-ton] <volume name for new copy> [-tos] <machine name for destination> [-top] <partition name for destination> [-o] [-r] [-li] [-c <cell name>] [-noa] [-lo] [-v] [-e] [-nor] [-h] DESCRIPTION
The vos copy command makes a copy of a volume with a new name. It is equivalent to vos dump followed by vos restore, but doesn't require the volume be stored locally by the client. CAUTIONS
Currently, the maximum size of a volume is 2 terabytes (2^31 bytes). OPTIONS
[-id] <volume name or ID> Specifies either the complete name or volume ID number of a read/write volume. [-fromserver] <machine name for source> Identifies the file server machine where the source volume resides. Provide the machine's IP address or its host name (either fully qualified or using an unambiguous abbreviation). For details, see vos(1). [-frompartition] <partition name for source> Names the partition where the source volume resides. Provide the full partition name (for, example, /vicepa) or one of the abbreviated forms described in vos(1). [-toname] <volume name for new copy> The complete name of the new volume to create. [-toserver] <machine name for destination> Identifies the file server machine to which to copy the volume. Provide the machine's IP address or its host name (either fully qualified or using an unambiguous abbreviation). For details, see vos(1). [-topartition] <partition name for destination> Names the partition to which to copy the volume. Provide the full partition name (for, example, /vicepa) or one of the abbreviated forms described in vos(1). -offline Leaves the new volume flagged as off-line in the volume database. -readonly Flags the new volume as read-only in the volume database. -live Copies the live volume without cloning. This is normally not necessary and causes the volume to be kept locked for longer than the normal copy mechanism. -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos(1). -noauth Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see vos(1). -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The vos command interpreter presents it to the Volume Server and Volume Location Server during mutual authentication. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos(1). -verbose Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear. -encrypt Encrypts the command so that the operation's results are not transmitted across the network in clear text. This option is available in OpenAFS versions 1.4.11 or later and 1.5.60 or later. -noresolve Shows all servers as IP addresses instead of the DNS name. This is very useful when the server address is registered as 127.0.0.1 or when dealing with multi-homed servers. This option is available in OpenAFS versions 1.4.8 or later and 1.5.35 or later. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
This command has no output unless "-verbose" is specified or there is an error. EXAMPLES
The following example makes a verbose copy of the "test" volume named "test2" in the cell "localcell". The volume and copy both reside on "/vicepa" of "server1". % vos copy test server1 a test2 server1 a -cell localcell -verbose Starting transaction on source volume 536870921 ... done Allocating new volume id for clone of volume 536870921 ... done Allocating new volume id for copy of volume 536870921 ... done Cloning source volume 536870921 ... done Ending the transaction on the source volume 536870921 ... done Starting transaction on the cloned volume 536870926 ... done Setting flags on cloned volume 536870926 ... done Getting status of cloned volume 536870926 ... done Creating the destination volume 536870927 ... done Setting volume flags on destination volume 536870927 ... done Dumping from clone 536870926 on source to volume 536870927 on destination ... done Ending transaction on cloned volume 536870926 ... done Starting transaction on source volume 536870921 ... done Doing the incremental dump from source to destination for volume 536870921 ... done Setting volume flags on destination volume 536870927 ... done Ending transaction on destination volume 536870927 ... done Ending transaction on source volume 536870921 ... done Starting transaction on the cloned volume 536870926 ... done Deleting the cloned volume 536870926 ... done Ending transaction on cloned volume 536870926 ... done Created the VLDB entry for the volume test2 536870927 Volume 536870921 copied from server1 /vicepa to test2 on server1 /vicepa PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine specified with the -server argument and on each database server machine. If the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser "root". SEE ALSO
vos(1), vos_clone(1), vos_move(1) COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2014-04-08 VOS_COPY(1)