a question about shell script

2003-03-13 Thread Jihuang Zhou
Title: a question about shell script Hi list, Anybody knows how to get an input parameter list from the second parameter to the second last? For example, if $*="aa bb cc mm nn", I need the "bb ... mm". Here, the number n may change. Any commad like substr in Shell? Thanks in advanc

RE: Less memory reported by system

2003-02-12 Thread Jihuang Zhou
reported by system On Wed, Feb 12, 2003 at 11:05:24AM -0500, Jihuang Zhou wrote: > Thanks. I do have a on-board video card and I always calculate them using 1k=1024byte. > 1. The same on-board video card will use the same shared memory in Redhat7.0 and 7.3, right? Yes - the operating

RE: Less memory reported by system

2003-02-12 Thread Jihuang Zhou
). -Original Message- From: Ed Wilts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:44 AM To: [EMAIL PROTECTED] Subject: Re: Less memory reported by system On Wed, Feb 12, 2003 at 09:57:50AM -0500, Jihuang Zhou wrote: > I have a box with 320M bytes memory. From /proc/meminf

Less memory reported by system

2003-02-12 Thread Jihuang Zhou
Title: Less memory reported by system Hi, I have a box with 320M bytes memory. >From /proc/meminfo I saw my total system value is less than 320M. In Redhat 7.0, it's 313.812Mbyte, in Redhat 7.3, it's 311.43Mbyte. Why system reports different value? Is there any method I can find the 320M

How to add new dhcp clicnt in to DNS

2002-12-19 Thread Jihuang Zhou
Hi List, I have set up dhcp and dns servers on redhat7.2. Anybody knows how a new dhcp client can be added into DNS record automatically? And, when that client do a ifconfig /release and /renew, the DNS record will be updated to new IP. Thanks, JH -- redhat-list mailing list unsubscribe ma

RE: How to tune the number of runing processes

2002-11-07 Thread Jihuang Zhou
the Xwindow. Any Idea? -Original Message-From: RH [mailto:[EMAIL PROTECTED]]Sent: Thursday, November 07, 2002 11:00 AMTo: [EMAIL PROTECTED]Subject: Re: How to tune the number of runing processes ps -aux - Original Message - From: Jihuang Zhou

How to tune the number of runing processes

2002-11-05 Thread Jihuang Zhou
Title: How to tune the number of runing processes Hi, I just installed a Redhat 8.0 and tried to start many processes (over 300), compare to the same configuration on Redhat7.3, the 8.0 is much slower. From "top", no idle cpu usage. I mentioned there are over 70 running processes on Redh