01-26-2010
Quote:
Originally Posted by
simonsimon
So what is the difference between a thread and a process ? Are they not the same ?
Multiple threads means multiple execution contexts inside the same process. This is less weight on the operating system since it doesn't have to switch process contexts as often, but is more difficult on the programmer since they have to worry about race conditions etc. You can't do threads from the shell.
Multiple processes is multiple processes.
They can both run several things in parallel.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I need to split a huge file into multiple smaller files using split command.
After that i need to process each file in the back ground with sql loader .Sql loader is a utlity to load CSV files into oracle .
Check the status of each of these sqlloaders and then after sucessfull... (6 Replies)
Discussion started by: xiamin
6 Replies
2. UNIX for Advanced & Expert Users
hey i have to implement copy command in parallel in c language.
i dont know how to create a new directory in destination.
if anything u know related to this help me (1 Reply)
Discussion started by: rajsekhar28
1 Replies
3. Shell Programming and Scripting
Hi,
I have a function abc(). i am calling the function 9 times. it is working fine and completed the script execution 10 hours.
input files:
CUSTOMER_INFO_1111_12345.csv
CUSTOMER_INFO_1222_12345.csv
CUSTOMER_INFO_1322_12345.csv
CUSTOMER_INFO_1333_12345.csv
CUSTOMER_INFO_1151_12345.csv... (4 Replies)
Discussion started by: onesuri
4 Replies
4. Shell Programming and Scripting
Hi.
I'm trying to speed up an rsync command by running it in parallel. There's no real option for this other than if the files are in multiple directories (which they're not). And even then there's no way of knowing if rsync has succeeded as the process is running in the background .. and... (4 Replies)
Discussion started by: Big_Jeffrey
4 Replies
5. Shell Programming and Scripting
Following is the requirement
In FileA I have the content as follows.
1,2,3
111,222,333
1000,2000,3000
In FileB I have the content as follows.
4,5,6
444,555,666
4000,5000,6000
I need to read FileA and FileB parallely and create the FileC as follows.
1,2,3,4,5,6... (1 Reply)
Discussion started by: kmanivan82
1 Replies
6. Shell Programming and Scripting
Hi everyone.
I have a list of files like:
file001
file002
file003
.
.
.
.
file385
file386
file387
There are more files than above, but I hope you understand what I'm trying to do here.
Is there a way I can create a loop to compare:
file001 with file385
file002 with file386 (9 Replies)
Discussion started by: craigsky
9 Replies
7. Shell Programming and Scripting
The below will move all the files in the directory dir to the destination using parallel and create a log, however will not keep them in the directory. I have tried mkdir -p but that does not seem to work or at least I can not seem to get it (as it deletes others files when I use it). What is the... (2 Replies)
Discussion started by: cmccabe
2 Replies
8. 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
9. Shell Programming and Scripting
I have two directories called English and Hindi. Each directory contains the same number of files with the only difference being that in the case of the English Directory the tag is
.english
and in the Hindi one the tag is
.Hindi
The file may contain either a single text or more than one text... (7 Replies)
Discussion started by: gimley
7 Replies
10. UNIX for Beginners Questions & Answers
Hi all,
I am trying to paste thousands of files together into a matrix. Each file has only 1 column and all the files have the same number of rows (~27k rows). I tried
paste * > output as well as some other for loops
but the output only contains the columns from the 1st and last files. The... (8 Replies)
Discussion started by: notimenocall
8 Replies
LEARN ABOUT CENTOS
idevicebackup2
idevicebackup2(1) General Commands Manual idevicebackup2(1)
NAME
idevicebackup2 - Create or restore backups for devices running iOS 4 or later.
SYNOPSIS
idevicebackup2 [OPTIONS] CMD [CMDOPTIONS] DIRECTORY
DESCRIPTION
Create or restore backup from the current or specified directory.
OPTIONS
-u, --udid UDID
target specific device by its 40-digit device UDID.
-s, --source UDID
use backup data from device specified by UDID.
-i, --interactive
request passwords interactively on the command line.
-d, --debug
enable communication debugging.
-h, --help
prints usage information.
COMMANDS
backup create backup for the device.
restore
restore last backup to the device.
--system
restore system files, too.
--reboot
reboot the system when done.
--copy
create a copy of backup folder before restoring.
--settings
restore device settings from the backup.
--remove
remove items which are not being restored.
--password PWD
supply the password of the source backup.
info show details about last completed backup of device.
list list files of last completed backup in CSV format.
encryption on|off [PWD]
enable or disable backup encryption.
changepw [OLD NEW]
change backup password on target device.
AUTHORS
Martin Szulecki
Nikias Bassen
SEE ALSO
idevicebackup(1)
idevicebackup2(1)