Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | kkon...@mac.com |
Subject | Re: System information |
Date | Sun, 27 Jan 2002 19:06:41 GMT |
> How can I look through Ant the system information like RAM for example? > I would like to define the <jvmarg value="-Xmx${RAM}MB"/> for <java> task. how about something like % ant -DRAM=`awk '/^MemTotal:/ {printf("%dk",$2);}' /proc/meminfo` target-1 if on linux? kenji -- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org> | |
Mime |
|
View raw message |