Re: [expert] Bash the Path

2002-05-22 Thread Edward Muller

try ... 

source [pathtoscript/]scriptname 

(where [pathtoscript/] is the optional path to the script) 

This is because each script gets it's own bash (or other shell)
interpreter, so the environment values go into the sub shells
environment, no the shell being run under konsole. 

BTW: I'm pretty sure this is how other unix variants work as well... 

On Wed, 2002-05-22 at 10:02, C.H. Close wrote: 
> Hi
> 
>   I am having a problem persuading Bash to accept a script to add some
> additional environment variable to a Konsole environment.
> 
> The script I am using simply adds some stuff to the PATH statement as
> well as some extra environment variables typically the file contains
> statements as follows.
> 
> 
>   PATH=$VARKON_ROOT/bin:$PATH
>   export PATH
> 
> In previous versions of UNIX I have used making the script file
> executable and running it resulted in the PATH (in this case) having the
> additional directory appended to it, this also worked for new
> environment variables. When I do the same thing in Linux in a Konsole
> terminal under KDE the environment does not change. As far as I can
> glean from reading the man page for Bash this should work. If I run the
> commands from the prompt everything works fine but of course this is
> tedious and should not be necessary.
> 
> Can anyone guide me as what I am doing wrong?
> 
> 
> Colin Close
> [EMAIL PROTECTED]
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
--
Edward Muller - Director of Information Services
LearningPatterns.com Inc.

Mobile: 973.715.0230
   NYC: 212.487.9064 x115

Email/Jabber: [EMAIL PROTECTED]

http://www.learningpatterns.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert]3ware and Samba performance stinks under 8.1 (relativeto other things)

2001-12-03 Thread Edward Muller

I have a 3ware card (7810) with three drives and performance seems (I
haven't started hard testing yet) seems to be == to a standard HD ...
Note: I'm using RAID5 across the three drives.

What model 3ware card do you have?

I'll try to remember to let you know how things go once I start
testing..

On Mon, 2001-12-03 at 08:10, [EMAIL PROTECTED] wrote:
> Well does anyone have input on hardware based IDE raid cards under Linux
> then?  I already mentioned that the performance that I get out of my 3ware
> controller isn't all that and I mentioned this along side with my Samba
> comment that you all responded to that this was with the same machine using
> the 3ware card.  If you want I can post my smb.conf file so you can pick it
> apart, but I think the deeper issue are the drivers for the 3ware card.  I
> mean if all of my hardware is supposed to be all that (along with the 3ware
> BIOS), the kernel and Samba are all that, then that only leaves the 3ware
> drivers that are compiled into the stock kernel released with mdk 8.1,
> right?  Also, the most troubling problem with the 3ware card that I'm having
> right now under mdk 8.1 is multitasking.  If I have one disk intensive task
> going like copying a file from one partition to the next or have 2-3 streams
> over the network (under Samba, but no blame being implied on it here) and
> then another stream for playing an mp3, the mp3 will pause for up to several
> seconds at a time at regular intervals.  Also under a moderate load like this
> I noticed that the buffers regularly empty while burning a CD at 8x.  Under
> mdk 7.2 with one hard drive (the exact same as what I'm using on the 3ware
> controller) and a Promise Ultra66 controller I could have many more streams
> going demanding more bandwidth and the streams that where time sensitive (mp3
> and burning simultaneously) went without a hitch.
> 
> "Jose M. Sanchez" wrote:
> 
> > |-Original Message-
> > |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
> > |Behalf Of [EMAIL PROTECTED]
> > |Sent: Saturday, December 01, 2001 2:52 PM
> > |To: [EMAIL PROTECTED]
> > |Subject: [expert]3ware and Samba performance stinks under 8.1
> > |(relative to other things)
> > |
> > | More recently my
> > |roommate installed Windows XP on his system and I noticed that
> > |it (the XP machine) could push ~9 MB/s to my main Linux box
> > |while my main Linux box (mdk 8.1) could only push ~6 MB/s.
> > |This leads me to believe that Samba (2.2.1a and below) has
> > |inferior performance to Windows XP when it comes to handling
> > |large files.
> > |
> >
> > ---
> >
> > Quite the opposite is true.
> >
> > Recent benchmarks on that very same version of Samba by Ziff-Davis
> > people (Cnet and the like) report that Samba EXCEEDS Win2K and WinXP in
> > xfer speeds.
> >
> > You have something wrong with your setup.
> >
> > ---
> >
> > I'm not going to get into the so called "raid" setup you are using...
> > Which is another problem altogether...
> >
> > -JMS
> >
> >   
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> 
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
---
Edward Muller
Director of IS

973-715-0230 (cell)
212-487-9064 x115 (NYC)

http://www.learningpatterns.com
---




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com