*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> noderun (1)              


noderun(1)							    noderun(1)

NAME    [Toc]    [Back]

     noderun - Run process on specific node (advisory specification)

SYNOPSIS    [Toc]    [Back]

     noderun node-path command

DESCRIPTION    [Toc]    [Back]

     Run a process on a	specific SN0 node. The request is advisory. To specify
     mandatory placement, use runon(1) or dplace(1).

EXAMPLE    [Toc]    [Back]

     To	run ls(1) on a specific	node:
	$ noderun /hw/module/1/slot/n2/node ls
     To	run a.out with several arguments:
	$ noderun /hw/module/1/slot/n1/node a.out a b c

COMMENTS    [Toc]    [Back]

     Noderun is	implemented as a sh(1) script using dplace(1) as follows:

     if	! test -f /usr/sbin/dplace
     echo "Cannot find /usr/sbin/dplace	-- please install"
     exit 1

     if	test $#	-lt 2
     echo "Usage: $0 <node-name> command"
     exit 1

     if	! test -d $1
     echo "Usage: $0 <node-name> command"
     echo "The node can	only be	one of the following:"
     find /hw -name node -print
     exit 1

     echo "memories 1 topology physical	near $1" > $TMP
     echo "threads 1" >> $TMP
     echo "run thread 0	on memory 0" >>	$TMP

     /usr/sbin/dplace -migration 0 -place $TMP $@

     rm	-f $TMP
     exit 0

									Page 1

noderun(1)							    noderun(1)

SEE ALSO    [Toc]    [Back]

     dplace(1),	The Memory Management Control Interface	User's Manual (Books).

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
device_set_driver FreeBSD associate a specific driver with a device node in the tree
cpusetDetachPID IRIX detach a specific process from a cpuset
cpusetAttachPID IRIX attach a specific process to a cpuset
mpsched HP-UX control the processor or locality domain on which a specific process executes
uswitch Tru64 Get or set compatibility environment specific behavior for a calling process through the uswitch val...
runon Tru64 Runs a command or process on a specific CPU, a processor set (pset), or a Resource Affinity Domain (...
VOP_ADVLOCK FreeBSD advisory record locking
flock OpenBSD apply or remove an advisory lock on an open file
flock NetBSD apply or remove an advisory lock on an open file
flock Tru64 Apply or remove an advisory lock on an open file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service