linking to scripts

2004-11-12 Thread Silvan Villiger
Hi, I've written some scripts for a program and encountered a problem which I'll try to explain simplified. Let's assume that my program is in the directory /progpath/ and I have 2 scripts in /progpath/scripts/. script1 calls script2 and I call script1 from /progpath/data/ because this is the p

Scripting

2004-11-06 Thread Silvan Villiger
Hi, I've started to learn scripting in linux. But I have some troubles understandig the redirection of the streams. I tried to test whether a directory already exists using the ls command (didn't find a bether solution) and whenever ls doesn't find such a directory it writes an error to the err

Re: Memory Management in Linux

2004-11-05 Thread Silvan Villiger
Thank you for this fast answer. Let's forget the thing with the memory-leak for a moment. I'm more interested in understanding the memory management. Does anyone knows a guide which introduces me into the meaning of the expressions I mentioned in my first post? Greetings... Silvan -- To UN

Memory Management in Linux

2004-11-05 Thread Silvan Villiger
Hi, Can anyone give me a link to a guide which introduces into memory management? I need to understand expressions like "rss", "sz", "shared memory", "memory leak", "core image of a process", "data section", "kernel stack", "virtual size". I've googled a lot and have red the man page of ps. But it