https://bugzilla.novell.com/show_bug.cgi?id=227742 ------- Comment #13 from h.weebers@kpnplanet.nl 2007-01-20 05:26 MST ------- Kurt, Thanks for your intersts for my script. Your versien was actualy my starting point. When SwapTotal gets an empty string, totalazing tot TOT doesn't work. I asked me the question: "Why is SapTotal empty?" Possibilities: 1. /proc/meminfo doesn't exist 2. /proc/meminfo is an empty file 3. /proc/meminfo doesn't contain values Well, /proc/meminfo is shown with the command 'ls -l'. It shows me always to be a zero length file. So the first test is always true. but is it usefull? In my opinion not because /proc/meminfo exists and /etc/sysconfig/ulimit exists. In fact /proc/meminfo is a virtual file and is not written to disk. Is it realy empty or does it not contail values? 'ls -l' cats data from disk and cat /proc/meminfo cats data from virtual file. If /proc/meminfo is not empty it should start with "Mem". The next field should contain a number and the third field indicates the units. What is written in /proc/meminfo for each value $num in each record? Is it an emty string or does it realy contain digits? I tested the script and found that the content of $num equals the string "kB" the first time initscript was running. So, no value! I realy wonder why /proc/meminfo behaves like I found. I would expect /proc/meminfo is initiated WITH values earlier in the start up procedure like you do. You agree? Can you tel me more ablout this? BTW: I tested MEMTOT=0. That did not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.