Try to drop braces around MEM_PAGE as it's not a command but a variable, e.g.
MEM_SIZE=$(( $(sysctl -n vm.stats.vm.v_page_count) * MEM_PAGE / 1024 /1024 ))
I get below error under sh
$ MEM_PAGE=$(sysctl -n hw.pagesize)
$ MEM_SIZE=$(( $(sysctl -n vm.stats.vm.v_page_count) * $(MEM_PAGE) / 1024...
So? Unless you show the affected line and how you run the script we're not getting anywhere. That error message is not enough$ zsh -c 'echo $(( 3038353 * 4096 / 1024 /1024 ))'
11868
$ sh -c 'echo $(( 3038353 * 4096 / 1024 /1024 ))'
11868For one, zsh's arith is compatible with sh's arith but has...
Every release comes with relnotes.html that contains short description of what changed. For more complete details you're advised to inspect commit logs and/or maillists.
http://www.freebsd.org/releases/8.2R/relnotes.html
http://www.freebsd.org/releases/8.2R/relnotes-detailed.html...
There are also -r/-p extensions from NetBSD that allows you to record interactive sessions with ncurses apps, see bin/114465. With them you can record smth like vim/emacs tutorial, e.g.
script -r
vim
do some tricks here
exit
and to play
script -p
Unresponsive? My guess, it's either write bursts or memory thrashing during linking. So, try using IO scheduler (zio or gsched) to force system write often but in small amounts or tune VM to not swap out interactive apps.
x11/multi-aterm sets TERM to rxvt by default (defined in configure.ac), unless you alter materm.termName/XTerm.termName resource or use -tn option. Actually, .termName may not work as get_resources() is called only after putenv.
Try looking in resources and startup scripts, e.g.
(cat...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.