08-01-2019
Moderator's Comments:
|
|
moved to Windows subforum
|
|
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to schedule a batch job (SQL)to run every 6 hours in Unix and the AT command syntax does not seem to cover this.
I have created a file ncd_rpt in the directory report and have given the command in this file.
at -f /report/ncd_rpt 1:00 am tomorrow
I schedule this by running
sh... (1 Reply)
Discussion started by: naveen79
1 Replies
2. Shell Programming and Scripting
I need help to create batch file .
I want to run some programs in sequence in batch mode . I have one file which contains the name of program and command
The test.bat file contain this data
stsrun -v devel area1.exp
stsrun -v devel prime1.exp
stsrun -v devel treat.exp
Please help... (1 Reply)
Discussion started by: getdpg
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am running an sftp batch script.
sftp -b user@host <<EOF >> /tmp/file.out
binary
put file.txt
bye
EOF
However, I am getting errors.
No such file or directory (user@host).
I checked the forums which says I need to access the current process eg for linux I would... (3 Replies)
Discussion started by: Bab00shka
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am trying to do sftp a file from one server to another solaris server. Both are sftp enabled. I have generated the rsa key in local server and did a ftped the public key to the remote server and added that in the authorization keys file.
Then i try to run the below command using a... (2 Replies)
Discussion started by: sivaemn
2 Replies
5. Shell Programming and Scripting
I am trying to automate an sftp command so that it does not stop and ask for the password each time
the calling shell script
#!/bin/ksh
sftp -b tst_1_batchfile.txt GLAXGBUPMPSOUT@204.90.134.116
the batchfile contents :
password XXXXXX
cd /GLAXGBUPMPSOUT/GSKENT/GLAXGF2FOPFF
put... (4 Replies)
Discussion started by: Shrabanti
4 Replies
6. Programming
done for this. (4 Replies)
Discussion started by: leganti
4 Replies
7. Shell Programming and Scripting
Hello Guys,
I am writting a script which is SFTPing from Solaris to Windows.
I need to run a Batch script in SFTP session (ongoing) which will map a network drive and then transfer my files.
I can run the Batch script via SSH but not via SFTP and this mapping is limited to that SSH... (4 Replies)
Discussion started by: Deei
4 Replies
8. Shell Programming and Scripting
hi,
is there a way i can execute a batch file containing ftp commands like we execute sftp batch file.
sftp -b batchfile user@server > output
how to create a batch file for ftp executing command and how to run the batch file from a shell script? (2 Replies)
Discussion started by: Little
2 Replies
9. UNIX for Advanced & Expert Users
I need to run a test SFTP command in a batch mode and what I need to prompt my password after the sftp userid@hostname. I do not have have an ssh key exchanged between my server and the external server. I only have access to it as an sftp server. I must enter my password in my script. How do i... (2 Replies)
Discussion started by: mrn6430
2 Replies
10. Shell Programming and Scripting
I have a .ksh script that creates an sftp batch file and runs it through sftp. It works except for one thing. If I try to "put" to a different name, it doesn't use the specified remote name...it still "puts" the original local name.
I've tried both of these, and neither work...it will always... (4 Replies)
Discussion started by: dbiggied
4 Replies
strace(1M) strace(1M)
NAME
strace - write STREAMS event trace messages to standard output
SYNOPSIS
mod sub pri
DESCRIPTION
gets STREAMS event trace messages from STREAMS drivers and modules via the STREAMS log driver and writes these messages to standard output.
By default, without arguments writes all STREAMS trace messages from all drivers and modules. with command-line arguments limits the trace
messages received.
The arguments, which must be specified in groups of three, are:
mod Specifies the STREAMS module identification number from the streamtab entry.
sub Specifies a subidentification number (often corresponding to a minor device).
pri Specifies a tracing priority level. gets messages of a level equal to or less than the value specified by pri. Only posi-
tive integer values are allowed.
The value can be used for any argument in the command line to indicate that there are no restrictions for that argument.
Multiple sets of the three arguments can be specified to obtain the messages from more than one driver or module.
Only one process can open the STREAMS log driver at a time.
When is invoked, the log driver compares the sets of command line arguments with actual trace messages, returning only messages that sat-
isfy the specified criteria.
STREAMS event trace messages have the following format:
seq time tick pri ind mod sub text
Components are interpreted as follows:
seq Trace event sequence number.
time Time the message was sent expressed in hh:mm:ss.
tick Time the message was sent expressed in machine ticks since the last boot.
pri Tracing priority level as defined by the STREAMS driver or module that originates the messages.
ind Can be any combination of the following three message indicators:
The message has also been saved in the error log.
The message signaled a fatal error.
The message has also been mailed to the system administrator.
mod Module identification number of the trace message source.
sub Subidentification number of the trace message source.
text Trace message text.
runs until terminated by the user.
EXAMPLES
Display all trace messages received from the driver or module identified by mod
Display trace messages of any tracing priority level from the driver or module identified by mod and its minor devices identified by the
sub or
Display the trace messages from the same driver or module and subs but limit the priority levels to 0 for subs 2 and 3; 1 for sub 4, driver
or module
WARNINGS
Running with several sets of arguments can impair STREAMS performance, particularly for those modules and drivers that are sending the mes-
sages.
Also be aware that may not be able to handle a large number of messages. If drivers and modules return messages to too quickly, some may
be lost.
FILES
NLS catalog for
SEE ALSO
strclean(1M), strerr(1M), strlog(7).
strace(1M)