ddj at cascv.brown.edu
Tue Jul 17 19:07:15 EDT 2001
On Tue, Jul 17, 2001 at 05:53:41PM -0400, Greg Lindahl wrote:
> On Tue, Jul 17, 2001 at 04:08:23PM -0500, Carlos Ernesto Lopez Nataren wrote:
> > bpsh -a echo "134217728" > /proc/sys/kernel/shmmax
> bpsh -a "echo 134217728 > /proc/sys/kernel/shmmax"
> It matters where the > gets expanded.. and recall that bpsh's stdout
> gets hooked up to /dev/null on remote nodes, so with the "" in the
> wrong place absolutely nothing happens.
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
Bpsh does not run a shell on the other side unless you specifically tell it
to -- your example just passes the whole command string in argv.
This would work:
bpsh -a /bin/bash -c "echo 134217728 > /proc/sys/kernel/shmmax"'
bpsh -a sysctl -w kernel/shmmax=134217728
bpsh -a sysctl -w kernel.shmmax=134217728
(redirect local stdout to /dev/null to get rid of the
"kernel.shhmax = 134217728" response from sysctl if desired).
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf