10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Experts,
I need to write a shell script to check if a file is open and something is being written to it. I want to know how OS handles it. I checked with lsof command but it is not working. For a test I did this.
while true; do echo `date` >>abc.txt; done
then I checked
lsof |... (5 Replies)
Discussion started by: shekhar_4_u
5 Replies
2. Shell Programming and Scripting
I have two files
File1.txt
000199458
000199463
000200442
000200831
000200866
000201009
000201050
000201405
000201666
000201682
File2.txt (4 Replies)
Discussion started by: halfafringe
4 Replies
3. Shell Programming and Scripting
Hi, I just would like to write a perl script , this perl script do the following .
Check the parameter $data in a mysql database ( with user ID and password ) , if the $data is exist then return true , if not then return false , would advise how to write this script ? thanks
---------- Post... (1 Reply)
Discussion started by: ust3
1 Replies
4. Shell Programming and Scripting
Hi friends
I need copied 100gd of data to other Solaris server. Could anyone help me guiding appropriate way of checking data integrity at source and destination so can I delete the data at source location . How can print/check cksum of individual file in each folder and match it with... (7 Replies)
Discussion started by: hk_kamozalwar
7 Replies
5. UNIX for Dummies Questions & Answers
We use SAP application cluster on AIX. Communication between 2 of its instances is failing randomly with the following error:
java.net.SocketException: There is no process to read data written to a pipe.
The above error causes a cluster restart if an important communication fails.
Can... (0 Replies)
Discussion started by: RoshniMehta
0 Replies
6. AIX
Hi Everyone,
The machine I'm working on is an AIX 5.3 LPAR running on a P650. oslevel -r shows 5300-08. I'm trying to take a backup to a SCSI tape drive, which has been working up until this point. I know of nothing that has changed recently to cause this problem. But when I try to take a... (0 Replies)
Discussion started by: need2bageek
0 Replies
7. Shell Programming and Scripting
I am attempting to figure out how to do a time check within my script.
For some reason I can not seem to get this to work correctly.
I want the script to first see if it is Saturday.
If it is Saturday then check to see if it's between the time 5:30am and 6:30am.
If it is between 5:30am and... (4 Replies)
Discussion started by: LRoberts
4 Replies
8. UNIX for Dummies Questions & Answers
$SYBASE/bin/isql -U $DB_USERID -S $DB_SERVER << ! >> $OUTFILE
`echo $DB_PASSWD`
use $db
go
Print " The processing"
go
!
# Extract data to file
echo $DB_PASSWD | $SYBASE/bin/bcp $WRK_DB..open out $CONV_DIR/open".csv -t\, -c -U $DB_USERID -S $DB_SERVER -b 1000 | tail -3
I am able to... (0 Replies)
Discussion started by: w020637
0 Replies
9. UNIX for Advanced & Expert Users
I have the following code which works on AIX 4.3 but fails at times on AIX 5.3
with:
cat: 0652-054 cannot write to output. There is no process to read data written to a pipe.
validator="${validator_exe} ${validator_parms}"
cmd_line="${CAT} ${data_file} | ${validator}... (6 Replies)
Discussion started by: vigsgb
6 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I was able to solve my previous problem (link directory)... but now i have this following problem.
I have mounted a disk from other machine using "mount -F nfs" command. When i run a batch which generates some files in that drive.... after a certain number of files i get... (1 Reply)
Discussion started by: nileshkarania
1 Replies
tccat(1) General Commands Manual tccat(1)
NAME
tccat - concatenate multimedia streams from medium and print on the standard output
SYNOPSIS
tccat -i name [ -t magic ] [ -T title[,chapter[,angle]] ] [ -L ] [ -S n ] [ -P ] [ -a ] [ -d mode ] [ -v ]
COPYRIGHT
tccat is Copyright (C) by Thomas Oestreich.
DESCRIPTION
tccat is part of and usually called by transcode.
However, it can also be used independently.
tccat reads source (from stdin if not explicitely defined) and prints on the standard output. Directory contents is concatenated, if source
files have the same format. Multiple AVI-files are also supported.
OPTIONS
-i name
Specify input source. If ommited, stdin is assumed.
You can specify a file, directory, device, mountpoint or host address as input source. tccat usually handles the different types
correctly.
-t magic
Tell tccat about the type of input. Currently only dvd is supported - any other parameter will be ignored.
-T title[,chapter[,angle]]
Select DVD title and extract only a single chapter with selected viewing angle. Setting the argument chapter to -1 means to process
all available chapters on the DVD.
If this option is given, the input type of dvd will also be assumed (see option -t).
-L This option tells tccat to loop through all chapters starting at the one given with the option -T.
-S n Seek to program stream (VOB) offset nx2kB before starting output.
-P Stream full DVD title specified by -T.
-a Use this option to dump an AVI-file/socket audio stream. The default is to extract and concatenate AVI-file video stream.
-d level
With this option you can specify a bitmask to enable different levels of verbosity (if supported). You can combine several levels
by adding the corresponding values:
QUIET 0
INFO 1
DEBUG 2
STATS 4
WATCH 8
FLIST 16
VIDCORE 32
SYNC 64
COUNTER 128
PRIVATE 256
-v Print version information and exit.
NOTES
tccat is a front end for streaming various source types and is used in transcode's import modules.
EXAMPLES
The command
tccat -i /dev/dvd -T 1,-1 | mplayer -
reads all chapters belonging to title 1 of a DVD (assuming that /dev/dvd/ is a symbolic link to a real DVD device) and pipes a MPEG program
stream into player.
AUTHORS
tccat was written by Thomas Oestreich
<ostreich@theorie.physik.uni-goettingen.de> with contributions from many others. See AUTHORS for details.
SEE ALSO
avifix(1), avimerge(1), avisplit(1), tcdecode(1), tcdemux(1), tcextract(1), tcprobe(1), tcscan(1), transcode(1)
tccat(1) 15th January 2002 tccat(1)