1 |
Hello |
2 |
|
3 |
> darwin has /usr/sbin/sysctl , changed the hardcoded path and it works |
4 |
> just dandy. |
5 |
|
6 |
I tried it on Mac OS X, also had to switch the path (or even remove it |
7 |
at all). But here I get two values, one for hw.memsize and one for |
8 |
hw.physmem. The following sed fixed that: |
9 |
sed -e 's/^[^:=]*[:=][[:space:]]*//;s/[[:space:]].*//g' |
10 |
|
11 |
Greets |
12 |
Michael |
13 |
|
14 |
-- |
15 |
Gentoo Developer (PowerPC, MacOS) using m0n0wall | http://hansmi.ch/ |
16 |
I have a terrible headache, I was putting on toilet water and the lid |
17 |
fell. |