SHMMAX
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Dave Johnson ddj at cascv.brown.eduTue Jul 17 16:07:15 PDT 2001
- Previous message: SHMMAX
- Next message: No Subject Given By The Author (fwd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 > > Try: > > 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. > > g > > _______________________________________________ > Beowulf mailing list, Beowulf at beowulf.org > To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf Not quite... 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[0]. This would work: bpsh -a /bin/bash -c "echo 134217728 > /proc/sys/kernel/shmmax"' Better yet: bpsh -a sysctl -w kernel/shmmax=134217728 or 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). Cheers, -- ddj
- Previous message: SHMMAX
- Next message: No Subject Given By The Author (fwd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
