10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a running service which runs in background.
It execute shell commands by function system(cmd)
I need to report fail when command execution takes more than 60 seconds.
Parent doesn't need to wait for 60 seconds of time if the cmd execution completed already.
runCommand()
{
pid_t... (3 Replies)
Discussion started by: techmonk
3 Replies
2. Shell Programming and Scripting
Hello folks,
Can you please help me to solve the below concern.
I have a source server with 2 ports and have to copy the files from both the port to destination server simultaneously in my shell script.
How can I achieve that?
Source : x.x.x.x port -22
X.x.x.x port -2222
... (7 Replies)
Discussion started by: sadique.manzar
7 Replies
3. Shell Programming and Scripting
Hi,
I am running below code
For I in $var
do
.......some line of code.......
nohup Sqlplus apps/apps <<EOF &
My_proc($I)
Exit
EOF
done
Nohup and & is used for parallel processing.
Can someone help in determining if the procedure with different arguments
Was called paralley or... (3 Replies)
Discussion started by: Pratiksha Mehra
3 Replies
4. UNIX for Advanced & Expert Users
Hi All,
We have a table that has to store around 80-100 million records. The table is partitioned by a column called Market Code. There are 30 partitions each corresponding to one MRKT_CD.
The source of this table is a join between 3-4 other tables. We are loading this table through SQLPLUS... (2 Replies)
Discussion started by: jerome_rajan
2 Replies
5. Shell Programming and Scripting
I want to know about the time command flow of execution.
I have a doubt in the time calculation for the command execution.
Whether the real time is sum of (time taken to open the unix window + execute the command given infront of the "time" command + close the unix window)
or Just the time... (1 Reply)
Discussion started by: sateesh Solapur
1 Replies
6. Linux
Hi,
I am trying to execute a program with pipes to run a few basic commands by forking children. When I try to run commands in the child process without pipe, I am unable to run the command as execv fails. However for commands that are given with pipes execute successfully.
for example:... (1 Reply)
Discussion started by: mmurali2
1 Replies
7. Solaris
Hi All,
I ran parallel 80 Commands as below,
#################################3
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
23677 root 1040K 856K sleep 58 0 0:04.04 0.7% find/1
23700 root 1040K 856K sleep 58 0 0:03.59 0.6% find/1
... (4 Replies)
Discussion started by: ajaincv
4 Replies
8. UNIX for Dummies Questions & Answers
Is there any out of box Command in Unix
or is it possible through shell scripting to
copy all the files in a directory in Parallel.
Example. I am doing a COLD database backup. I have the data/dbx directory which has around 1000 data files.
I was thinking is there a way to spawn the copy... (10 Replies)
Discussion started by: simonsimon
10 Replies
9. UNIX for Advanced & Expert Users
It is possible for me to obtain the Inode of the path name using
ls -i <pathname> command
Can anyone tell me how its implemented... (3 Replies)
Discussion started by: ganapathy.psgit
3 Replies
10. Shell Programming and Scripting
Hi all,
How do i run a command in parallel 50 times and capturing the result of each run in a separate file
Eg: myApp arg1 > run1.txt
myApp arg1 > run2.txt
:::::::::::::::::::::::::
:::::::::::::::::::::::::
myApp arg1 > run50.txt
The above way is sequential.
... (3 Replies)
Discussion started by: jakSun8
3 Replies