04-30-2013
Quote:
Originally Posted by
vidyadhar85
I would suggest write a script on destination server which will just touch a <<filename>>.done file and invoke it from source system once main file transmission is done. This will ensure file has arrived successfully on destination folder and if it fails in between .done job wont get executed.
That is one approach, but if there was an incomplete transfer of the file i.e. if the contents were not complete, then the .done file would still be created which would be a problem. Or when using scp is there no chance of an incomplete transfer?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that archive files then delete.How do Its working fine,however,before I perform the delete operation,I want to verify that indeed the FILE is in the path of folder I want to archive.
For example,I have a path /A/B I want all files in B to be archived,the scripts lists all the... (5 Replies)
Discussion started by: kayarsenal
5 Replies
2. UNIX for Dummies Questions & Answers
Hello everybody,
Can anybody tell me how do we comfirm the execution of a scheduled job ?
In other words, how do I know whether my scheduled script is being executed or not ?
Thanks
Jitu JK (2 Replies)
Discussion started by: jitu.jk
2 Replies
3. Solaris
Hi All,
Seems to be one of the disk has failed on my Solaris server.
How do i confirm that disk has really failed or not?
Here are alert details.
-------
iostat -En out/put
c1t3d0 Soft Errors: 1884 Hard Errors: 153 Transport Errors: 54
Vendor: FUJITSU Product:... (3 Replies)
Discussion started by: Naresh Kommina
3 Replies
4. Solaris
Dear All
i am new to solaris. I am using solaris 5.10 running on my sun blade 150 (sparc). Nowadays i studying about boot process and i am bit confused with the location of the kernel,bootblk. As i found through the internet,
The location of the kernel is
... (0 Replies)
Discussion started by: kingston
0 Replies
5. Shell Programming and Scripting
On my Solaris box I have to reboot some devices like below.
However I think this can be done through a script. I've create a list that contains the devices IP addresses.
Here's the logic:
Reboot 4 devices and sleep for 5mins(300s.) While the devices are rebooting, I would like to confirm... (9 Replies)
Discussion started by: ravzter
9 Replies
6. Shell Programming and Scripting
How to confirm whether a particular substitution taken place or not ?
Find the code below :-
#!/bin/ksh
COUNT=0
####### Create backup of the original file ######
cp passwd passwd_old
####### Read the csv file for unixid and project ######
while IFS=, read unix_id project_id
do
... (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies
7. Shell Programming and Scripting
Need to check whether the source file(FTP'ed file) is completly copied or not such that I can further action on the same. I have created the below script to achieve this by checking for every 10secs to whether file size is same or not but it may create a problem if the file transfer is slow and if... (4 Replies)
Discussion started by: palanisvr
4 Replies
8. UNIX for Dummies Questions & Answers
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Discussion started by: vivien_chu
1 Replies
9. AIX
Hi everyone,
My current AIX OS level is "7100-01-06-1241"
and I am planning to upgrade it to " 7100-02-03 ".
Can i directly upgrade it to "7100-02-03" from 7100-01-06" ?
or first i need to upgrade the "7100-01-06" LPAR to TL 02 and then reboot and
then upgrade it to TL 02 SP03 ?
... (4 Replies)
Discussion started by: System Admin 77
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am getting the error su: cannot set user id: Resource temporarily unavailable.
In limits.conf, it shows soft nproc 2047 for this user. ps H -u | wc -l shows 508 processes only.
Linux flavour is Red Hat Enterprise Linux Server release 5.10 (Tikanga)
Any advice will be much... (1 Reply)
Discussion started by: newbie_01
1 Replies
qmove(1B) PBS qmove(1B)
NAME
qmove - move pbs batch job
SYNOPSIS
qmove destination job_identifier ...
DESCRIPTION
To move a job is to remove the job from the queue in which it resides and instantiate the job in another queue. The qmove command issues a
Move Job batch request to the batch server that currently owns each job specified by job_identifier.
A job in the Running , Transiting , or Exiting state cannot be moved.
OPERANDS
The first operand is the new destinationfor
queue
@server
queue@server
See the PBS ERS section , "Destination Identifiers".
If the destination operand describes only a queue, then qmove will move jobs into the queue of the specified name at the job's current
server.
If the destination operand describes only a batch server, then qmove will move jobs into the default queue at that batch server.
If the destination operand describes both a queue and a batch server, then qmove will move the jobs into the specified queue at the speci-
fied server.
All following operands are job_identifiers which specify the jobs to be moved to the new destination. The qmove command accepts one or
more job_identifier operands of the form:
sequence_number[.server_name][@server]
STANDARD ERROR
The qmove command will write a diagnostic messages to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qmove command, the exit status will be a value of zero.
If the qmove command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO
qsub(1B), pbs_movejob(3B)
Local qmove(1B)