Interrups statistic - "sar" vs. "mstat"

2007-12-26 Thread Vitaly Karasik
Probaly it is trivial, but I don't understand why I see different statistics regarding interrups into "mstat" and "sar" output. There is 15997 against 92 !!! Can someone explain it? [root]# sar -I SUM |head Linux 2.4.21-47.ELsmp 12/25/2007 12:00:01 AM INTR intr/s 12:10:01 AM sum 15997.32 [ root

Re: running 64 bit linux on the desktop

2007-12-26 Thread Tom Rosenfeld
Hi Gilboa, I am not sure what you are saying different that what I suggested. See more inline below... On Dec 25, 2007 8:10 PM, Gilboa Davara <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-12-24 at 22:07 +0200, Tom Rosenfeld wrote: > > Hi, > > > > I recently started working at a new firm that is usi

Re: Interrups statistic - "sar" vs. "mstat"

2007-12-26 Thread Vitaly
On Dec 26, 2007 10:04 AM, Vitaly Karasik <[EMAIL PROTECTED]> wrote: > Probaly it is trivial, but I don't understand why I see different statistics > regarding interrups into "mstat" and "sar" output. There is 15997 against 92 > !!! > Can someone explain it? > > [root]# sar -I SUM |head > Linux 2

RE: Interrups statistic - "sar" vs. "mstat"

2007-12-26 Thread Imri Zvik
I'm guessing that without an interval (or if with interval - the first output), it is an average since boot. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Vitaly > Sent: Wednesday, December 26, 2007 11:29 AM > To: linux-il@cs.huji.ac.il > Subject:

RE: [YBA] NIS vs LDAP

2007-12-26 Thread Imri Zvik
Extend your AD schema with SFU (http://www.microsoft.com/downloads/details.aspx?familyid=896C9688-601B-44F1-81A4-02878FF11778&displaylang=en). Use kerborse for authentication and nss_ldap for user information. > -Original Message- > From: [EMAIL PROTECTED] [mailto:linux-il- > [EMAIL PROT

Welcome to Linux: "Development Tools for Linux" on Sunday, 23-Dec-2007

2007-12-26 Thread Shlomi Fish
As part of the Welcome to Linux ( http://welcome.linux.org.il/ ) series, the Tel Aviv Linux club will hold the fifth and last meeting of the series next Sunday, 30-December-2007. Zohar Snir will give the "Linux Installation Process" presentation, which will explain about how to install Linux on y

Welcome to Linux: "The Linux Installation Process" on Sunday, 30-Dec-2007

2007-12-26 Thread Shlomi Fish
As part of the Welcome to Linux ( http://welcome.linux.org.il/ ) series, the Tel Aviv Linux club will hold the fifth and last meeting of the series next Sunday, 30-December-2007. Zohar Snir will give the "Linux Installation Process" presentation, which will explain about how to install Linux on y

Re: Easiest way to install an asterisk system

2007-12-26 Thread Tzafrir Cohen
On Wed, Dec 26, 2007 at 07:02:30AM +0200, ik wrote: > > > I don't like the fact that they do not write the official version of > > > zaptel and libpri, but refer it according to the Asterisk version > > > itself. > > > > Actually, that is not exactly true. Indeed there is Zaptel 1.2 and 1.4. > > B

Re: running 64 bit linux on the desktop

2007-12-26 Thread Gilboa Davara
On Wed, 2007-12-26 at 10:40 +0200, Tom Rosenfeld wrote: > CentOS (Like RHEL and Fedora) is dual-arch - it installs both > the 32bit > and 64bit versions of most applications. > I am using CentOS 4.5. As far as I see almost every app is 64 bits. > There are 64 bit libs ins

Re: Interrups statistic - "sar" vs. "mstat"

2007-12-26 Thread Vitaly
Thank you very much - you're right! On Dec 26, 2007 12:32 PM, Imri Zvik <[EMAIL PROTECTED]> wrote: > I'm guessing that without an interval (or if with interval - the first > output), it is an average since boot. > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Find process id of background ssh?

2007-12-26 Thread Oded Arbel
Hi List. I'm writing a script to automate some system maintenance tasks, and I want to connect over SSH to several remote computers and do stuff on them. I'm using ssh -f to background ssh so I can run the same operation on multiple machines in parallel, otherwise it will be too slow - the mainte

Re: 9 CRT Screens for Donation

2007-12-26 Thread Noam Rathaus
Hi, Just an update, so far only two screens have been taken a 19" and a 17" If none are taking until Sunday they will be thrown away. In addition I have 3 CerfCubes in working condition, with power supplies, but nothing more (documentation or CDs). On Tuesday 25 December 2007 16:13:25 Noam Rat

Re: Find process id of background ssh?

2007-12-26 Thread Oded Arbel
On Wed, 2007-12-26 at 15:24 +0200, Shachar Shemesh wrote: > Oded Arbel wrote: > > I'm using ssh -f to background ssh so I can run the same operation > > on multiple machines in parallel > > > > > for server in 1 2 ...; do > > ssh -f [EMAIL PROTECTED] 'run maintenance task' > > pids="$

Re: Find process id of background ssh?

2007-12-26 Thread Tom Rosenfeld
I have not tested this extensively, but you could try: pgrep ssh |tail -1 This will give you the PID of that last ssh process -tom On Dec 26, 2007 2:55 PM, Oded Arbel <[EMAIL PROTECTED]> wrote: > > Hi List. > > I'm writing a script to automate some system maintenance tasks, and I > want to co

Re: Find process id of background ssh?

2007-12-26 Thread Shachar Shemesh
Oded Arbel wrote: Hi List. I'm using ssh -f to background ssh so I can run the same operation on multiple machines in parallel for server in 1 2 ...; do ssh -f [EMAIL PROTECTED] 'run maintenance task' pids="$pids $(getSSHpid)" done while kill -0 $pids 2>/dev/null; do echo "Waiti

Re: 9 CRT Screens for Donation

2007-12-26 Thread Noam Rathaus
Hi, Ok :) Just an update, only 17" are left, all 19" CRTs were taken. Information on CerfCubes can be found here: http://www.intrinsyc.com/products/ On Wednesday 26 December 2007 14:58:45 Noam Rathaus wrote: > Hi, > > Just an update, so far only two screens have been taken a 19" and a 17" > > I

Re: Find process id of background ssh?

2007-12-26 Thread Tom Rosenfeld
I have not tested this extensively but you could try: On Dec 26, 2007 2:55 PM, Oded Arbel <[EMAIL PROTECTED]> wrote: > > Hi List. > > I'm writing a script to automate some system maintenance tasks, and I > want to connect over SSH to several remote computers and do stuff on > them. I'm using ssh

Re: Interrups statistic - "sar" vs. "mstat"

2007-12-26 Thread Tom Rosenfeld
I have seen the same with all the *stat commands (iostat, vmstat, etc). You should ignore the output for the 1st interval. -tom On Dec 26, 2007 12:32 PM, Imri Zvik <[EMAIL PROTECTED]> wrote: > I'm guessing that without an interval (or if with interval - the first > output), it is an average sinc

Re: Find process id of background ssh?

2007-12-26 Thread Oded Arbel
On Wed, 2007-12-26 at 16:02 +0200, Tom Rosenfeld wrote: > I have not tested this extensively, but you could try: > pgrep ssh |tail -1 > > This will give you the PID of that last ssh process they way I read it it will give me the PID of the ssh with the highest process id, which may not be the

Asterisk won't detect the line was hung up

2007-12-26 Thread Shachar Shemesh
Hi all, I thought that perhaps this problem will go away if I just upgrade to the latest Asterisk, but it did not. Zaptel 1.4.7.1 libpri 1.4.3 Asterisk 1.4.16.2 Zaptel.conf marks all FXO lines as "FXSKS". There are several problems, but I haven't had a chance to test them all since I u

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread Tzafrir Cohen
On Wed, Dec 26, 2007 at 06:32:12PM +0200, ik wrote: > Well, first thing, what is the signalling at /etc/asterisk/zapata.conf set on > ? > Secondly, do you have the following lines: > busydetect=yes This is the thing to use when all else fails > hanguponpolarityswitch=yes This is probably not su

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread ik
Well, first thing, what is the signalling at /etc/asterisk/zapata.conf set on ? Secondly, do you have the following lines: busydetect=yes hanguponpolarityswitch=yes Also make sure you set /etc/zaptel.conf to work in israel zone. It can help detecting the right signals. It will also be best if you

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread Tzafrir Cohen
On Wed, Dec 26, 2007 at 06:15:29PM +0200, Shachar Shemesh wrote: > Hi all, > > > I thought that perhaps this problem will go away if I just upgrade to > the latest Asterisk, but it did not. > > Zaptel 1.4.7.1 > > libpri 1.4.3 > > Asterisk 1.4.16.2 > > > Zaptel.conf marks all FXO lines as "F

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread ik
A small question, and I might missed it, but who supply you with the line ? HOT, Bezeq ? On Dec 26, 2007 6:56 PM, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > On Wed, Dec 26, 2007 at 06:15:29PM +0200, Shachar Shemesh wrote: > > Hi all, > > > > > > I thought that perhaps this problem will g

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread Shachar Shemesh
Both /etc/zaptel.conf and /etc/asterisk/zapata.conf attached. Ok, attaching them caused my email to not be delivered. Instead, both files are available from http://lingnu.com/asterisk_problem/ The provider is Bezeq. Tzafrir Cohen wrote: busydetect=yes Yes. I uncommented busydetect, bu

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread sammy ominsky
On 27/12/2007, at 06:29, Shachar Shemesh wrote: The provider is Bezeq. What do you mean the provider is Bezek? I can register an asterisk server to Bezek? Who do I contact? --sambo = To unsubscribe, send mail to [EMAIL PRO

Re: Asterisk won't detect the line was hung up

2007-12-26 Thread Shachar Shemesh
sammy ominsky wrote: On 27/12/2007, at 06:29, Shachar Shemesh wrote: The provider is Bezeq. What do you mean the provider is Bezek? I can register an asterisk server to Bezek? Who do I contact? You call "166", and you ask for a "phone line". They have been, on and off, advertising this