10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have three files in my IN directory.Each file should be copied 25 times using for loop.Each file processing should run in parallel?How to spawn multiple processes in unix?Any help would be appreciated.
Thanks,
Liyakath (7 Replies)
Discussion started by: liyakathali
7 Replies
2. UNIX for Dummies Questions & Answers
I am trying to play and create processes and found this piece of code....
int myMain(int argc , char* argv){
childID = 0;
for (j=1;j<3;j++)
if (childID = fork())
break;
fprintf(stderr, " process ID:%d parent ID:%d child ID:%d\n", getpid(), getppid(), childID);
return... (3 Replies)
Discussion started by: joker40
3 Replies
3. Shell Programming and Scripting
I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time.
Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies
4. Shell Programming and Scripting
Hi All,
I need to come up with a shell script that logs into a windows system and fires a batch/executable file in it.
Any idea how to go about doing this?
Please help.
Regards,
Agniv. (4 Replies)
Discussion started by: agnivaccent
4 Replies
5. UNIX for Advanced & Expert Users
hello everybody and a happy new year!
i am trying the client-server model...i have no problem with sockets etc...
especially for server:there is a father who is listening for TCP connections from clients,the later send commands which parent shares to his children.
then children execute... (1 Reply)
Discussion started by: vaggelakis
1 Replies
6. UNIX for Dummies Questions & Answers
hey,
I know that there are bash commands like top or ps that allow me to monitor processes. But how can i monitor 1 process and log the output in a file?
thx in advance
Stephane Rufer (3 Replies)
Discussion started by: rufman
3 Replies
7. Shell Programming and Scripting
Hi guys,
I am new to Unix shell scripting. Can anyone of you tell me how to kill all the processes at a time for a particular user?(No listing the process ID of each process in the kill -9 command).
Thanks in Advance,
-Hary (5 Replies)
Discussion started by: tadi18
5 Replies
8. UNIX for Dummies Questions & Answers
Hi All
I am using a QTP testing tool which is in windows and
I need to connect to a unix machine from the windows and execute a shell script which will throw some log files and i need to open one log file and get a number (no. of records) and use it in my Testing tool script which is in... (3 Replies)
Discussion started by: arulraj2007
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am working on serial communication on Unix. Can anyone guide me through it. The steps required for RS 232 communication and can i do serial communication even if i dont have super user previledges.
Thankx,
Vicky (1 Reply)
Discussion started by: Vicky
1 Replies
10. UNIX for Dummies Questions & Answers
Hi everybody,
I have a speech recognition application which works on windows and which create a text file.
My main application works on unix and I need to get (or simply read) in real time the text file.
I can't use a soft like Samba because it is not authorized in my company.
I would like a... (1 Reply)
Discussion started by: kintoo
1 Replies