Sponsored Content
Operating Systems Solaris Broken Pipe: executing a binary application Post 302907204 by Corona688 on Thursday 26th of June 2014 12:55:37 PM
Old 06-26-2014
Also remember -- not all application errors will actually show up in this kind of trace. It will show you what system calls the application is calling, but not why it's calling them, or what they mean.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

broken pipe?

Hi there, I try to use: > find * | ls but it just gave me one level of ' ls '. and it said: > find * | ls dir1 dir2 f1 f2 f3 Broken Pipe > what is broken pipe? how can i fix it? thks Gusla (3 Replies)
Discussion started by: gusla
3 Replies

2. UNIX for Dummies Questions & Answers

broken pipe

sometimes I ftp files from an Unix environment from the command prompt of my win2000 pc and I get a "broken pipe" message. sometimes I'll get nothing but sometimes I'll get part of the file. Whats this "broken pipe" about?? (3 Replies)
Discussion started by: eloquent99
3 Replies

3. UNIX for Advanced & Expert Users

Broken Pipe

Hi I tried to open the man page of sh and piped to `pg`. Normally while reading a file page by page using `pg`, if we wanna quit at the middle of file, we give "q" near the colon mode. Ex1: $cat file1 | pg hi how r u : (page1) now press "return key", it will go to next page yes i ... (1 Reply)
Discussion started by: ramkrix
1 Replies

4. UNIX for Dummies Questions & Answers

Broken Pipe

Hi I tried to open the man page of sh and piped to `pg`. Normally while reading a file page by page using `pg`, if we wanna quit at the middle of file, we give "q" near the colon mode. Ex1: $cat file1 | pg hi how r u : (page1) now press "return key", it will go to next page yes i ... (3 Replies)
Discussion started by: ramkrix
3 Replies

5. Linux

pipe broken

hi i have a server, and i have a web site and i installed apache in the /usr/local/apache/logs i have a file and i have this problem (32)Broken pipe: core_output_filter: writing data to the network plz help me how i can resolve this plz it's urgent th (2 Replies)
Discussion started by: abir2
2 Replies

6. UNIX and Linux Applications

pipe broken

hi i have a server, and i have a web site and i installed apache in the /usr/local/apache/logs i have a file and i have this problem (32)Broken pipe: core_output_filter: writing data to the network plz help me how i can resolve this plz it's urgent th (1 Reply)
Discussion started by: abir2
1 Replies

7. Shell Programming and Scripting

broken pipe

hi i am trying to upload a file using ftp protocol, i am facing some problem while uploading "Failedtoupload:SFTREGUP1:FTP_ASCII_MAILBOX21.39.10.856305000:Broken pipe" Can someone explain why it is coming , and the solution . (0 Replies)
Discussion started by: Satyak
0 Replies

8. Shell Programming and Scripting

Replace pipe with Broken Pipe

Hi All , Is there any way to replace the pipe ( | ) with the broken pipe (0xA6) in unix (1 Reply)
Discussion started by: saj
1 Replies

9. UNIX for Dummies Questions & Answers

broken pipe

I know what causes 'broken pipe' errors, but I can't understand why I can get it (only occasionally) with my example: ps -ef | grep "\./ans$" | grep -v grep Basically I'm searching the ps output looking for the process I'm interested in and excluding the process that is grepping for the... (2 Replies)
Discussion started by: fhew
2 Replies

10. Red Hat

Broken pipe

Hi all, I am trying to run a sleep command and I am receiving a broken pipe when I execute. any help would be greatly appreciated. sleep `< /dev/urandom tr -dc 0-6 | head -c2` (2 Replies)
Discussion started by: gartie
2 Replies
SETTMASK(3PVM)							  PVM Version 3.4						    SETTMASK(3PVM)

NAME
pvm_gettmask, pvm_settmask - Get or set trace mask of a task or its children. SYNOPSIS
C #include <pvm3.h> #include <pvmtev.h> int info = pvm_gettmask( int who, Pvmtmask mask ) int info = pvm_settmask( int who, Pvmtmask mask ) Fortran Not Available PARAMETERS
who Specifies which trace mask to get or set: PvmTaskSelf The current task PvmTaskChild Children tasks to be spawned mask Trace mask (owned by caller), which is filled in with the current trace vector on calling pvm_gettmask or used to set the current trace vector on calling pvm_settmask. info Status code returned. Values less than zero indicate an error. DESCRIPTION
Each task has a trace mask, which can be used to individually enable tracing of each libpvm function. The mask is inherited from its par- ent task (or initially all cleared if the task has no parent). When calls are made to functions in libpvm, the parameters and results are sent in messages to the trace sink of the task (variable PvmTraceTid set by calling pvm_setopt - see man page). The PVM console and XPVM use this system to get trace data from application programs. A task can get or set either its own trace mask, or the mask passed to children it spawns. Note the mask must be set before the spawn call; setting the child trace mask has no effect on already-running children. The trace mask can be kept in a temporary variable, declared as: Pvmtmask mymask; Right now, this is a character array with approximately 80 bits. There are four macros defined to manipulate trace masks. Along with the functions, these allow a program to get the current trace mask, modify or save it, and put it back: TEV_INIT_MASK(mask) TEV_SET_MASK(mask, kind) TEV_UNSET_MASK(mask, kind) TEV_CHECK_MASK(mask, kind) TEV_INIT_MASK initializes a mask to all bits cleared and must be used to initialize a trace mask (unless that is done by setting it from pvm_gettmask). TEV_SET_MASK sets a bit in a mask. Bit values are defined in <pvmtev.h>. Likewise, TEV_UNSET_MASK clears a single bit and TEV_CHECK_MASK checks to see if a bit is set, returning nonzero if true. Note: Most events in the trace mask come in pairs, the first (ending in ...0) is generated on entry to a function and the second (...1) on exit. The trace mask has only half as many bits as there are events; events are enabled in pairs. In other words, if you select TEV_SEND0, you'll also get TEV_SEND1. The trace mask is deliberately kept as a printable (and null-terminated) string, for two reasons. First, it is passed through the environ- ment between tasks, in the form: PVMTMASK=@@AAOG@@NO@L@@@@@@@@ so the pvmd doesn't have to explicitly manage it. Second, the mask variables can be passed between tasks using pvm_pkstr() or otherwise manipulated as strings. pvm_gettmask and pvm_settmask return PvmOk on success, else a negative value. EXAMPLES
C: #include <pvm3.h> #include <pvmtev.h> Pvmtmask m; pvm_gettmask( PvmTaskChild, m ); TEV_SET_MASK(m, TEV_ADDHOSTS0 ); pvm_settmask( PvmTaskChild, m ); pvm_spawn( "worker", (char **)0, PvmTaskDefault, "", 1, (int *)0); ERRORS
The following error condition can be returned by pvm_gettmask or pvm_settmask: PvmBadParam invalid value for who argument. SEE ALSO
pvm(1PVM), pvm_getopt(3PVM), pvm_setopt(3PVM) 16 March, 1994 SETTMASK(3PVM)
All times are GMT -4. The time now is 11:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy