XPRT_WAKE_PENDING_TA(9) Linux Networking XPRT_WAKE_PENDING_TA(9)NAME
xprt_wake_pending_tasks - wake all tasks on a transport's pending queue
SYNOPSIS
void xprt_wake_pending_tasks(struct rpc_xprt * xprt, int status);
ARGUMENTS
xprt
transport with waiting tasks
status
result code to plant in each task before waking it
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 XPRT_WAKE_PENDING_TA(9)
Check Out this Related Man Page
TASKS(3PVM) PVM Version 3.4 TASKS(3PVM)NAME
pvm_tasks - Returns information about the tasks running on the virtual machine.
SYNOPSIS
C int info = pvm_tasks( int where, int *ntask, struct pvmtaskinfo **taskp )
struct pvmtaskinfo {
int ti_tid;
int ti_ptid;
int ti_host;
int ti_flag;
char *ti_a_out;
} taskp;
Fortran call pvmftasks( where, ntask, tid, ptid, dtid, flag, aout, info )
PARAMETERS
where Integer specifying what tasks to return information about. The options are:
0 for all the tasks on the virtual machine
pvmd tid for all tasks on a given host
tid for a specific task
ntask Integer returning the number of tasks being reported on.
taskp Returns pointer to an array of structures which contain information about each task including its task ID, parent tid, pvmd task
ID, status flag, and the name of this task's executable file. The status flag values are: waiting for a message, waiting for the
pvmd, and running.
tid Integer returning task ID of one task
ptid Integer returning parent task ID
dtid Integer returning pvmd task ID of host task is on.
flag Integer returning status of task
aout Character string returning the name of spawned task. Manually started tasks return blank.
info Integer status code returned by the routine. Values less than zero indicate an error.
DESCRIPTION
The routine pvm_tasks returns information about tasks presently running on the virtual machine. The information returned is the same as
that available from the console command ps. The C function returns information about the entire virtual machine in one call. The Fortran
function returns information about one task per call and cycles through all the tasks. Thus, if where = 0, and pvmftasks is called ntask
times, all tasks will be represented.
Note that in Fortran the reported value of ntask and the set of tasks do not change until the function resets at the end of a complete
cycle. The user can reset pvmftasks() at any time by calling it with ntask = -1.
If pvm_tasks is successful, info will be 0. If some error occurs then info will be < 0.
EXAMPLES
C:
struct pvmtaskinfo *taskp;
int i, ntask;
info = pvm_tasks( 0, &ntask, &taskp );
for (i = 0; i < ntask; i++)
printf("t%x
", taskp[i].ti_tid);
Fortran:
Do i=1, NTASK
CALL PVMFTASKS( DTID, NTASK, TID(i), PTID(i), DTID(i),
& FLAG(i), AOUT(i), INFO )
EndDo
ERRORS
The following error condition can be returned by pvm_tasks
PvmBadParam
invalid value for where argument.
PvmSysErr
pvmd not responding.
PvmNoHost
specified host not in virtual machine.
SEE ALSO pvm_config(3PVM), pvm_tidtohost(3PVM)
31 August, 1994 TASKS(3PVM)
Hi all,
I want to create a new user and grant him ONLY transfer files access to a specific directory where he can only upload and read the files. He should be restricted to this activity only.
Regards (6 Replies)
Hi everyone,
I know the following questions are noobish questions but I am asking them because I am confused about the basics of history behind UNIX and LINUX.
Ok onto business, my questions are-:
Was/Is UNIX ever an open source operating system ?
If UNIX was... (21 Replies)
Hi,
Last 2 weeks I have searched many forums and i haven't found the answer for the question:
How to get all command output to Putty title?
Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
anyone have any idea how do to this with auth_attr?
I suspect if I grant him
solaris.device.:RO::Device Allocation::help=DevAllocHeader.html
that will work but I'm unsure. Just looking for a second opinion. (10 Replies)
I am looking for a stable, reliable system to replace my current Windows systems in the home. These are simple systems that I purchased from the local Big Box store.
I have heard many good things about Unix and it's various children and it sounds like a good option to me. I have worked... (2 Replies)
We have a lot of scripts using cut as :
cut -c 0-8 --works for cut (GNU coreutils) 5.97, but does not work for cut (GNU coreutils) 8.4.
Gives error -
cut: fields and positions are numbered from 1
Try `cut --help' for more information.
The position needs to start with 1 for later... (6 Replies)
I've got a problem with a proxy configuration. We have an LDAP group that lists all users who are authorised to use the proxy to FTP (usually Filezilla) out to the world, and by implication those not in the group should be denied. My users are delighted that this has been enabled and those that... (9 Replies)
hi folks,
how to using tar with exclude directory and compress it using tar.Z
i only know how to exclude dir only with this command below:
tar -cvf /varios/restore/test.tar -X excludefile.txt /jfma/test1/
how to compress it using 1 command?
Thanx
Please use CODE tags as... (6 Replies)
Hello All,
I had recently learnt a bit of Docker(which provides containerization process).
Here are some of my learning points from it.
Let us start first with very basic question:
What is Docker:
Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Hello for all,
I am testing the behavior of a 32 bit application running on Solaris 5.10 (SPARC), and realize it reaches 4GB of memory and then crashes.
It doesn't matter the amount of used memory as application is intended to perform many transactions; rather, what I want to achieve is to... (2 Replies)