Sponsored Content
Full Discussion: UNIX script home work
Homework and Emergencies Homework & Coursework Questions UNIX script home work Post 303038907 by mohdsadik90 on Monday 16th of September 2019 11:22:33 PM
Old 09-17-2019
UNIX script home work

plz can any one help to write the script of the output provided in the pdf.
There are 2 tasks A and B.

Last edited by mohdsadik90; 09-17-2019 at 12:44 AM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

why doesn't this script work on my home computer?

Now it could be as simple as at work I use tsch, and at home it is bash. Warning, first post and I am a complete newbie to unix. At work, I use a simple script for updating a window when I am watching to see how a render is doing... while 1 echo --------------------------- echo ls -lrth... (1 Reply)
Discussion started by: iStealMusic
1 Replies

2. What is on Your Mind?

Do You Work From Home?

Do you work from home (telecommute) more than half time each week? (18 Replies)
Discussion started by: Neo
18 Replies

3. Web Development

Home work

I am studying part-time degree course ( Information system ), I just ask to do the following question , but it is not easy for me as I do not have IT background , does someone can help for it. "Consider the following web application for a property agent : The server download to the client... (1 Reply)
Discussion started by: ust
1 Replies

4. IP Networking

Setting to SSH home-PC from Work

Hello, My question is very basic for the settings to SSH my home PC from work. Home network two PC: Internet comes into my house through ISP modem and then the two PCs are connected with the router (Trendnet). The IPs for my PCs are How to set other stuffs for me to access my home PC from... (5 Replies)
Discussion started by: yifangt
5 Replies

5. UNIX for Dummies Questions & Answers

SQL statement is not work on unix script

Hi, I have the following basic script. However, the statement (line 5) is not work. The output data is not able to set my request format a30. Any advise? :mad: echo " Column filename format a30"|sqlplus4 echo Input file list to check: read filelist for file in `cat $filelist.txt` do... (1 Reply)
Discussion started by: happyv
1 Replies

6. Shell Programming and Scripting

Script to report database home in unix

Hello: I am trying to build a ksh shell script which would summarize space occupied by "product" directory under /u*/app/oracle and summarize and report the total size occupied by it in one server. Environment is this... HP UNIX 11i Korn Shell some thing like ... (1 Reply)
Discussion started by: Sam1974
1 Replies
CATCHOUT(3PVM)							  PVM Version 3.4						    CATCHOUT(3PVM)

NAME
pvm_catchout - Catch output from child tasks. SYNOPSIS
C #include <stdio.h> int info = pvm_catchout( FILE *ff ) Fortran call pvmfcatchout( onoff, info ) PARAMETERS
ff File descriptor on which to write collected output. onoff Integer parameter. Turns output collection on or off. info Integer status code returned by the routine. Values less than zero indicate an error. DESCRIPTION
The routine pvm_catchout causes the calling task (the parent) to catch output from any tasks spawned after the call to pvm_catchout. Char- acters printed on stdout or stderr in children tasks are collected by the pvmds and sent in control messages to the parent task, which tags each line and appends it to the specified file. Output from grandchildren (spawned by children) tasks is also collected, provided the children don't reset their PvmOutputTid. If option PvmShowTids (see pvm_setopt) is true (nonzero), output is printed as shown below, tagged with the task id where the output origi- nated: [txxxxx] BEGIN [txxxxx] (text from child task) [txxxxx] END The output from each task includes one BEGIN line and one END line, with whatever the task prints in between. If PvmShowTids is false, raw output is printed with no additional information. In C, the output file descriptor may be specified. Giving a null pointer turns output collection off for any subsequently spawned child tasks. (Any existing output collection will still proceed at the child tasks, until they exit or change theirPvmOutputTid or related set- tings - see man page for pvm_setopt().) In Fortran, output collection can only be turned on or off (again only for subsequently spawned child tasks), and is always logged to the stdout of the parent task. If pvm_exit is called while output collection is in effect, it will block in order to print all the output, until all tasks sending the given task output have exited. To avoid this, output collection can be turned off by calling pvm_catchout(0) before calling pvm_exit. pvm_catchout() always returns 0. EXAMPLES
C: #include <stdio.h> pvm_catchout(stdout); Fortran: CALL PVMFCATCHOUT( 1, INFO ) SEE ALSO
pvm_exit(3PVM), pvm_setopt(3PVM), pvm_spawn(3PVM) 13 July, 1994 CATCHOUT(3PVM)
All times are GMT -4. The time now is 03:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy