11-21-2001
yes
I have writen and sql script to go through the dba_objects view and extract all the users with objects and spool the export command to a file which I then execute - not only must it write directly to tape but it must spool the username or schema names to a file and list it in tape marker order.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello!
How I can increase or decrease predefined pipe buffer size?
System FreeBSD 4.9 and RedHat Linux 9.0
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
2. Shell Programming and Scripting
Hi...Can anyone please guide me on FIFO Pipes in UNIX.I have lerant things like creating fifo pipes,using them for reads and writes etc.I want to know what is the maximum amount of memory that such a pipe may have? Also can anyone guide me on where to get info on this topic from? (1 Reply)
Discussion started by: tej.buch
1 Replies
3. UNIX for Advanced & Expert Users
The following code does not work (zsh, Solaris), but works without the first line (files instead of pipes) :confused:
mkfifo p1 p2
echo "Hello" | tee p1 > p2 &
paste p1 p2
I would high appreciate any help to fix it. (9 Replies)
Discussion started by: zzol
9 Replies
4. Shell Programming and Scripting
How to have a conversation between 2 processes using named pipes? (5 Replies)
Discussion started by: kanchan_agr
5 Replies
5. HP-UX
Hi,
Please help me on this.
I am creating a named pipe in a kshell script.
I am using mkfifo pipe_name command to create the pipe.
I want to remove the named pipe after my work is completed.
How can i do that. (8 Replies)
Discussion started by: chintapalli001
8 Replies
6. UNIX for Dummies Questions & Answers
hi,
i am working on a script for oracle export, m using a parameter file...
i want to compress the dump file that is generated..
in my script following is the code i have written.
i am not able to generata .gz file
mknod /tmp/exp_tesd1_pipe p
gzip -cNf... (4 Replies)
Discussion started by: saharookiedba
4 Replies
7. Shell Programming and Scripting
Tried the following on Hpux 11.11, using both ksh, and dtksh
$diff <(sort file1) <(sort file2)
$ ksh: syntax error: `(' unexpected
Strange thing is I tried the same command under RHEL5 using ksh 93 and it works fine. Does anyone know if this is possible on HPUX without the use of... (0 Replies)
Discussion started by: fire!
0 Replies
8. UNIX for Advanced & Expert Users
I'm not sure whether or not this question really belongs in this forum and will accept rebuke should I have mistakenly put it in the wrong place (hopefully the rebuke will be accompanied by an answer, though)
I wish to implement named pipe communication between two process using MKS Toolkit. I... (2 Replies)
Discussion started by: ArndW
2 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program to search the current directory for all pipes.
1. It will print the pipe... (2 Replies)
Discussion started by: natwickley
2 Replies
10. Shell Programming and Scripting
Dear community,
I communicate with an external program (maxima) using named pipes. If I use a text file to capture the output (maxima > out.txt) i can see the programs answer directly after the input written into the file. But if bypass the output into a named pipe (maxima > pipe) and capture it... (1 Reply)
Discussion started by: Pustekuchen
1 Replies
LEARN ABOUT REDHAT
amtape
AMTAPE(8) System Manager's Manual AMTAPE(8)
NAME
amtape - user interface to Amanda tape changer controls
SYNOPSIS
amtape config command [ command options ]
DESCRIPTION
Amtape performs tape changer control operations. It uses the underlying tape changer script defined by the tpchanger option for a particu-
lar Amanda configuration as specified by the config argument.
Tape changers maintain a notion of the current and next slot for each configuration. These may or may not correspond to an actual physical
state of the device, but do tend to minimize searching through the tape storage slots. If the desired tape is in the current slot, it is
likely the next tape needed is in the next slot rather than at some random position in the storage slots.
See the amanda(8) man page for more details about Amanda.
COMMANDS
reset Reset the tape changer to a known state. The current slot is set to the first slot. Other device-specific side effects may occur.
Some gravity stackers need to be reset to the top position by hand. This command notifies Amanda the stacker is back in that posi-
tion.
eject If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded.
clean If a cleaning tape is defined for the changer, it is used to clean the drive.
show Show the contents of all slots. This can be slow.
label label
Search for and load the Amanda tape with label label.
taper Perform the taper scan algorithm. Load the next tape in the configuration's tape sequence, or a fresh tape with a suitable label.
device Display the name of the current tape device on stdout.
current
Display the current slot.
update Update the changer label database, if it has one, to match the tapes now available.
slot slot
Eject any tape in the drive and put it away, then load the tape from slot slot and reset current.
slot current
Eject any tape in the drive and put it away, then load the tape from the current slot.
slot prev
Eject any tape in the drive and put it away, then load the tape from the previous slot and reset current.
slot next
Eject any tape in the drive and put it away, then load the tape from the next slot and reset current.
slot first
Eject any tape in the drive and put it away, then load the tape from the first slot and reset current.
slot last
Eject any tape in the drive and put it away, then load the tape from the last slot and reset current.
slot advance
Eject any tape in the drive and put it away. Advance current to the next tape, but do not load it.
This is useful with non-gravity stackers to unload the last tape used and set up Amanda for the next run. If you just use eject,
the current tape will be mounted again in the next run, where it will be rejected as being still in use, ejected and the next tape
requested. Using slot next followed by eject does an unnecessary mount.
Note: most changers optimize the slot commands to not eject the loaded tape if it is the one being requested.
AUTHOR
James da Silva <jds@cs.umd.edu>
University of Maryland, College Park
SEE ALSO
amanda(8)
AMTAPE(8)