Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Bent Terp
On Thu, Aug 30, 2012 at 4:32 AM, Indunil Jayasooriya wrote:

> Have you tried Darkstat - it's a nice very very lightweight alternative
> >
> > http://unix4lyfe.org/darkstat/
> >
> >
> I installed it on Centos 6.2 (64 bit VM). It is pretty light.
>
> I would like to know on which host should I install it on LAN?
>

If you want it to be able to see all traffic on the local network, then you
have to make sure all the traffic actually shows up on that interface -
which is not usually the case on a switched network :-)

My plan for today is to install darkstar on a separate physical host with
dual nic's, and tell the switch to copy all traffic on the VLAN's that I
wish to monitor to one port which will then be connected to one of the
NIC's on the darkstar host. This feature is called "port mirroring" on
ProCurve switches but most professional switches have similar features,
although they might be called differently.


> gateway Machine, proxy Server or any host on that LAN?
>

Alternatively, if you have a gateway machine that all traffic passes
through, this would also be a good candidate unless traffic is so high that
the additional load from darkstat impacts performance - or any bug in
darkstat that just might interrupt regular operations.

BR Bent
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Indunil Jayasooriya
Have you tried Darkstat - it's a nice very very lightweight alternative
>
> http://unix4lyfe.org/darkstat/
>
>
I installed it on Centos 6.2 (64 bit VM). It is pretty light.

I would like to know on which host should I install it on LAN?

gateway Machine, proxy Server or any host on that LAN?


I just installed on a host On  a LAN. But, It does NOT show All the host on
the LAN.

It does NOT show my mail gateway. It is on the same LAN.

Then, How can get actual traffic on my LAN ?


Anyway, If clicked host link, It shows in , out , total traffic? It is
bytes?

I think it is in byte?



ntop has more info though.
>

I have used this since long time. many options. very difficult to
understand.



what about bandwidthd ?  I have tried twice. On which host, Should I
install it to see network traffic my lan?


really like to hear from you.








>
> r
>

-- 
Thank you
Indunil Jayasooriya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Net Foss
On Wed, Aug 29, 2012 at 4:52 PM, Rafał Radecki  wrote:
> After some search I think I will use ntop ;)

Does anyone know a repo which contains ntop for centos 6.x?
I have been using ntop for 5.x from rpmforge, but coundn't find RPMS
for 6.x there.

--
net foss
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bash job control and signals

2012-08-29 Thread Stephen Harris
On Wed, Aug 29, 2012 at 10:00:47PM +0200, Theo Band wrote:
> and I cannot change this application. I want all processes that are
> children also to become suspended. I tried to add a trap, but that did
> not work.
> 
> Any idea how to make this work?

The magic phrase you're looking for is "process group".  When you press
control-Z a signal is sent to all the process in the process group, but
when you send a "kill" it's only sent to one process.

So
% ps -o pgrp $your_process

That'll tell you the process group.Then you kill -STOP -pgrp
(note the negative ID sent to kill)

That'll send a signal to all processes in the group

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] bash job control and signals

2012-08-29 Thread Theo Band
I want to suspend a script using a signal but that does not work as I
want. I made an example script:

$ cat script
#!/bin/bash
echo $$
gkrellm

If run this script gkrellm starts up and I can use job control from the
terminal to suspend the script (CTRL-Z) and resume it (fg or bg).
If I suspend I can see that gkrellm freezes (that's why I choose gkrellm
in this example):

$ ./script
23632
--CTRL-Z--
[3]+  Stopped ./script
$ fg
./script

Next I want to do exactly the same but from another terminal using a signal:

kill -SIGSTOP 23632

[3]+  Stopped ./script

So the bash script is indeed suspended, but the gkrellm keeps running. I
can of course signal SIGSTOP to gkrellm and then this gkrellm will
suspend as well. I have however an application that suspends my script
and I cannot change this application. I want all processes that are
children also to become suspended. I tried to add a trap, but that did
not work.

Any idea how to make this work?

Theo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread James B. Byrne

On Wed, August 29, 2012 10:38, Theo Band wrote:

>>
>>
> I'm not sure what your benefit is to not use your host but a VM
> running
> on it.
> You could consider to use XDMP. You still need a (local) X server
> (gdm), but then choose remote logon usign XDMCP.
> On the virtual machine use gdmsetup to allow remote access or use this
> link:
>
> http://www.centos.org/docs/5/html/5.1/Installation_Guide/s2-trouble-remotex.html
>

Presently I build kvm hosts with a minimal install and add whatever
packages are required to get kvm working and provide my customary
administrative tools.  The kvm guests get the user applications.  I
simply want to have a similar arrangement on my personal workstation
so that my experiments do not become invisibly dependent upon
something I have installed for my own use.

Basically, I want to simply leave the host configuration alone once
kvm is running and do my mucking about in a virtual machine.


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Stephen Harris
On Wed, Aug 29, 2012 at 12:25:29PM -0700, Gordon Messmer wrote:
> On 08/29/2012 09:52 AM, Markus Falb wrote:
> >> From:
> >> >http://www.unix.com/unix-dummies-questions-answers/117504-question-cut-command.html
> >> >  [quote] ... In AIX (for example) if you said
> >> >Code: echo 1,2,3,4,5 | cut -d, -f3,1,5
> >> >you would get output as 3,1,5
> > I tend to think that AIX is not posix compliant, then.
> > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html
> 
> Well, according to that document, AIX's cut seems to behave as POSIX and 
> Scott (on unix.com) is simply wrong about the application's behavior.

No need to guess about what AIX does:
  $ uname -svr
  AIX 1 6
  $ oslevel
  6.1.0.0
  $ echo 1,2,3,4,5 | cut -d, -f3,1,5
  1,3,5
  $

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Gordon Messmer
On 08/29/2012 09:52 AM, Markus Falb wrote:
>> From:
>> >http://www.unix.com/unix-dummies-questions-answers/117504-question-cut-command.html
>> >  [quote] ... In AIX (for example) if you said
>> >Code: echo 1,2,3,4,5 | cut -d, -f3,1,5
>> >you would get output as 3,1,5
> I tend to think that AIX is not posix compliant, then.
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html

Well, according to that document, AIX's cut seems to behave as POSIX and 
Scott (on unix.com) is simply wrong about the application's behavior.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 11:52 AM, Markus Falb  wrote:
>>
>> From:
>> http://www.unix.com/unix-dummies-questions-answers/117504-question-cut-command.html
>>
>>  [quote] ... In AIX (for example) if you said
>>
>> Code: echo 1,2,3,4,5 | cut -d, -f3,1,5
>>
>> you would get output as 3,1,5
>
> I tend to think that AIX is not posix compliant, then.
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html
>
> The behaviour of cut makes sense to me, actually. I remember one of
> the UNIX paradigms and thats "do only one thing but do it good"

So sed with a regexp?
 sed  -e 's/\([^,]*\),\([^,]*\),\([^,]*\)/\1\3\2/'

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Markus Falb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.8.2012 17:43, Rajagopal Swaminathan wrote:
> On Wed, Aug 29, 2012 at 2:15 AM, Markus Falb
>  wrote:
>> On 28.8.2012 21:59, Rajagopal Swaminathan wrote:
>> 
>> cut cuts out, that what it does. I think it works exactly as
>> advertised. On my system the manpage says
>> 
>> ...snip Selected input is written in the same order that it is 
>> read, and is written exactly once snap...
>> 
> 
> See below
> 
>>> Is it specific to linux?
>> 
>> No!
> 
> I would think, yes.

On a OS-X, and thats non arguably not linux-ish (means gnu-ish) but
bsd-ish

$ echo 1,2,3,4,5 | cut -d, -f3,1,5
1,3,5

So it's definitely not specific to linux.

> 
> From:
> http://www.unix.com/unix-dummies-questions-answers/117504-question-cut-command.html
>
>  [quote] ... In AIX (for example) if you said
> 
> Code: echo 1,2,3,4,5 | cut -d, -f3,1,5
> 
> you would get output as 3,1,5

I tend to think that AIX is not posix compliant, then.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html

The behaviour of cut makes sense to me, actually. I remember one of
the UNIX paradigms and thats "do only one thing but do it good"

However, I realize that I do not suggest a better way to do what you
want to do, but I do not think I have to, there were so many hints in
this thread pointing you to awk and I remember actually one shell only
example.
- -- 
Kind Regards, Markus Falb
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA+SLIACgkQYoWFBIJE9eUJTwCfY7LL6BaE5gFJbBIeHoRrRpus
R0UAn3m7wjXIelJy36jYLbNexoue4NN4
=uVtC
-END PGP SIGNATURE-

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 10:43 AM, Rajagopal Swaminathan
 wrote:
>
> But the cut command in Linux behaves differently.
>
> >From the man page:
> Quote:
> Selected input is written in the same order that it is read, and is
> written exactly once.
>
> Which I think is poor. I can't see any way to do what you want with cut.
>
> [unquote]

If you are willing to use tmp files you can:
cut -d, -f1 tmp1
cut -d, -f2 tmp2
cut -d, -f3 tmp3

paste -d, tmp1 tmp3 tmp2 >file_I_wanted
rm tmp1 tmp2 tmp3

There's probably a clever way to do this with tee and fifos to handle
unlimited stream sizes but I'm too lazy to work it out.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 10:52 AM, Rajagopal Swaminathan
 wrote:
> >
>>
>> Where does openAFS stands in all these deleberations?
>> http://www.openafs.org/
>>
>
> oops, missed out this:
> http://www.stacken.kth.se/project/arla/
>

AFS isn't what you expect from a distributed file system.  Each
machine works with cached copies of whole files and when one of them
writes and closes a file the others are notified to update their copy.
  Last write wins.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 90, Issue 17

2012-08-29 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CEBA-2012:1212 CentOS 6 lohit-telugu-fontsFASTTRACK Update
  (Johnny Hughes)
   2. CEBA-2012:1213 CentOS 6 system-config-languageFASTTRACK
  Update (Johnny Hughes)
   3. CEBA-2012:1217 CentOS 5 logwatch FASTTRACK Update (Johnny Hughes)
   4. CESA-2012:1210 Critical CentOS 5 firefox Update (Johnny Hughes)
   5. CESA-2012:1211 Critical CentOS 5 thunderbird  Update
  (Johnny Hughes)
   6. CESA-2012:1210 Critical CentOS 6 firefox Update (Johnny Hughes)
   7. CESA-2012:1211 Critical CentOS 6 thunderbird  Update
  (Johnny Hughes)
   8. CEBA-2012:C003  CentOS 6 MISSING Update (Johnny Hughes)


--

Message: 1
Date: Wed, 29 Aug 2012 11:47:20 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:1212 CentOS 6 lohit-telugu-fonts
FASTTRACK Update
To: centos-annou...@centos.org
Message-ID: <20120829114720.ga30...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:1212 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1212.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 


i386:
6eb54d5900f64ea70be28924a8ecc360e4e533315eb766b54d4cc53b349d4986  
lohit-telugu-fonts-2.4.5-6.el6.noarch.rpm

x86_64:
6eb54d5900f64ea70be28924a8ecc360e4e533315eb766b54d4cc53b349d4986  
lohit-telugu-fonts-2.4.5-6.el6.noarch.rpm

Source:
f9b6b322cc8629bd10d13b173b6e2d27c216036ff00e2739a728023fcdaf4dd2  
lohit-telugu-fonts-2.4.5-6.el6.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Wed, 29 Aug 2012 11:47:42 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:1213 CentOS 6
system-config-language  FASTTRACK Update
To: centos-annou...@centos.org
Message-ID: <20120829114742.ga30...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:1213 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1213.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 


i386:
1756ea23c8d280a600456caff3a8f444d34d277cf05f1a91d57574ef99124f98  
system-config-language-1.3.4-6.el6.noarch.rpm

x86_64:
1756ea23c8d280a600456caff3a8f444d34d277cf05f1a91d57574ef99124f98  
system-config-language-1.3.4-6.el6.noarch.rpm

Source:
fc3e5246422608796b673db377607165ba54e9f81e312f35d27295194006a78f  
system-config-language-1.3.4-6.el6.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 3
Date: Wed, 29 Aug 2012 12:32:24 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:1217 CentOS 5 logwatch FASTTRACK
Update
To: centos-annou...@centos.org
Message-ID: <20120829123224.ga1...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:1217

Upstream details at : http://rhn.redhat.com/errata/RHBA-2012-1217.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
62c22ecc236b6b392fea73a170dddf408c587d22828542fcd196e1f417ce6145  
logwatch-7.3-10.el5.noarch.rpm

x86_64:
62c22ecc236b6b392fea73a170dddf408c587d22828542fcd196e1f417ce6145  
logwatch-7.3-10.el5.noarch.rpm

Source:
dfba0766628b8a357d9560389291a7c589015b822ce10ced61ec6a3ee1a3  
logwatch-7.3-10.el5.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 4
Date: Wed, 29 Aug 2012 12:43:30 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2012:1210 Critical CentOS 5 firefox
Update
To: centos-annou...@centos.org
Message-ID: <20120829124330.ga1...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2012:1210 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-1210.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
0b2bf2082dae2c75a0af9b58b48c44f5b14527e90e6306cd6cd57bd02c9cc644  
firefox-10.0.7-1.el5.centos.i386.rpm
a5310d8615fd2c9f16d522d868d73fb4720c543adc782ea794ffcfbafa8212a5  
xulrunner-10.0.7-2.el5_8.i386.rpm

Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Rajagopal Swaminathan
On Wed, Aug 29, 2012 at 9:20 PM, Rajagopal Swaminathan
 wrote:
> Greetings,
>
> On Wed, Aug 29, 2012 at 7:39 PM, Dennis Jacobfeuerborn
>  wrote:
>
>
> Where does openAFS stands in all these deleberations?
> http://www.openafs.org/
>

oops, missed out this:
http://www.stacken.kth.se/project/arla/

-- 
Regards,

Rajagopal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Rajagopal Swaminathan
Greetings,

On Wed, Aug 29, 2012 at 7:39 PM, Dennis Jacobfeuerborn
 wrote:


Where does openAFS stands in all these deleberations?
http://www.openafs.org/

-- 
Regards,

Rajagopal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Rajagopal Swaminathan
On Wed, Aug 29, 2012 at 2:15 AM, Markus Falb  wrote:
> On 28.8.2012 21:59, Rajagopal Swaminathan wrote:
>
> cut cuts out, that what it does.
> I think it works exactly as advertised.
> On my system the manpage says
>
> ...snip
> Selected input is written in the same order that it is
>read, and is written exactly once
> snap...
>

See below

>> Is it specific to linux?
>
> No!

I would think, yes.

From: 
http://www.unix.com/unix-dummies-questions-answers/117504-question-cut-command.html

[quote]
 08-22-2009
Scott's Avatar  
Scott Scott is offline Forum Staff
Administrator

Join Date: Jun 2009
Location: Switzerland - ZH
Posts: 5,632
Thanks: 136
Thanked 596 Times in 515 Posts

In AIX (for example) if you said

Code:
echo 1,2,3,4,5 | cut -d, -f3,1,5

you would get output as 3,1,5

But the cut command in Linux behaves differently.

>From the man page:
Quote:
Selected input is written in the same order that it is read, and is
written exactly once.

Which I think is poor. I can't see any way to do what you want with cut.

[unquote]

Thanks for everybody who pitched in

Any the issue got transformed into something else altogether (PHB,
vlookup 'experts' and the such for time being)

-- 

Regards,

Rajagopal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 9:38 AM, Theo Band  wrote:
> On 08/28/2012 04:23 PM, James B. Byrne wrote:
>> I am nearing the end of a project that moved our disparate services
>> and hosts onto kvm virtualized servers.  What I am now contemplating
>> is setting up my desktop as a virtual host and using one of the guests
>> as my primary workstation.
>>
>> However, I am not sure how this would work in practice.  I am
>> accustomed to working with virtual instances via ssh (a terminal
>> window) and with my desktop system in a Gnome window manager.  Is
>> there a reference somewhere that outlines the mechanics of logging
>> into a virtual guest's graphical desktop directly from the physical
>> console of the kvm host system?
>>
>>
> I'm not sure what your benefit is to not use your host but a VM running
> on it.

One nice thing is that when you update/change/switch distros, etc.,
you can run old/new in parallel.  Another is that you can easily move
the VM elsewhere if resources are available and it is mostly
transparent to your use as a desktop.

> You could consider to use XDMP. You still need a (local) X server (gdm),
> but then choose remote logon usign XDMCP.
> On the virtual machine use gdmsetup to allow remote access or use this link:
>
> http://www.centos.org/docs/5/html/5.1/Installation_Guide/s2-trouble-remotex.html

Freenx/NX does all the same things as native remote X, but with better
remote performance and the ability to disconnect and reconnect  (even
from a different display) with everything still running.   There is
probably some memory overhead for the proxy/cache buffers, though.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread Theo Band
On 08/28/2012 04:23 PM, James B. Byrne wrote:
> I am nearing the end of a project that moved our disparate services
> and hosts onto kvm virtualized servers.  What I am now contemplating
> is setting up my desktop as a virtual host and using one of the guests
> as my primary workstation.
>
> However, I am not sure how this would work in practice.  I am
> accustomed to working with virtual instances via ssh (a terminal
> window) and with my desktop system in a Gnome window manager.  Is
> there a reference somewhere that outlines the mechanics of logging
> into a virtual guest's graphical desktop directly from the physical
> console of the kvm host system?
>
>
I'm not sure what your benefit is to not use your host but a VM running
on it.
You could consider to use XDMP. You still need a (local) X server (gdm),
but then choose remote logon usign XDMCP.
On the virtual machine use gdmsetup to allow remote access or use this link:

http://www.centos.org/docs/5/html/5.1/Installation_Guide/s2-trouble-remotex.html

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Dennis Jacobfeuerborn
On 08/29/2012 03:17 PM, Johnny Hughes wrote:
> On 08/29/2012 08:06 AM, Les Mikesell wrote:
>> On Wed, Aug 29, 2012 at 7:49 AM, Johnny Hughes  wrote:
 If we were rich, I guess we would have two (or more) "geo-replicated" 
 glusters and
 be able to withstand one failing...
 I would like the same trust level that I have in RAID.
>>> I have routinely used DRBD for things like this ... 2 servers, one a
>>> complete failover of the other one.  Of course, that requires a 50+ TB
>>> file system on each machine.
>> How well do glusterfs or drbd deal with downtime of one of the
>> members?Do they catch up quickly with incremental updates and what
>> kind of impact does that have on performance as it happens?   And is
>> either suitable for running over distances where there is some network
>> latency?
>>
> 
> Well, DRBD is a tried and true solution, but it requires dedicated boxes
> and crossover network connections, etc.  I would consider it by far the
> best method for providing critical failover.
> 
> I would consider gluserfs almost a different thing entirely ... it
> provides the ability to string several partitions on different machines
> into one shared network volume.
> 
> Glusterfs does also provide redundancy if you set it up that way ... and
> if you have a fast network and enough volumes then the performance is
> not very degraded when a gluster volume comes back, etc.
> 
> However, I don't think I would trust extremely critical things on
> glusterfs at this point.

I think the keyword with solutions like glusterfs, ceph, sheepdog, etc. is
"elasticity". DRBD and RAID work well as long as you have a fixed size of
data to deal with but once you get to a consistent data growth you need
something that offers redundancy yet can be easily extended incrementally.

Glusterfs seems to aim to be a solution that works well right now because
it uses a simple file replication approach whereas ceph and sheepdog seem
to go deeper and provide better architectures but will take longer to mature.

Regards,
  Dennis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread Patrick Lists
On 29-08-12 15:22, Johnny Hughes wrote:
>> http://wiki.centos.org/HowTos/FreeNX
>>
>> Also look into spice:
>>
>> http://wiki.centos.org/HowTos/Spice-libvirt
>
> I do several Windows desktops with spice

Yesterday I tried both spice and FreeRDP connecting to a Win7 x64 VM on 
an F17 laptop. FreeRDP feels much more responsive and even the Big Buck 
Bunny video (h.264 854x480) played smooth with video & sound in sync. On 
F17 you will need to rebuild FreeRDP with alsa and ffmpeg support enabled.

Regards,
Patrick


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread Nux!
On 28.08.2012 15:23, James B. Byrne wrote:
> I am nearing the end of a project that moved our disparate services
> and hosts onto kvm virtualized servers.  What I am now contemplating
> is setting up my desktop as a virtual host and using one of the 
> guests
> as my primary workstation.
>
> However, I am not sure how this would work in practice.  I am
> accustomed to working with virtual instances via ssh (a terminal
> window) and with my desktop system in a Gnome window manager.  Is
> there a reference somewhere that outlines the mechanics of logging
> into a virtual guest's graphical desktop directly from the physical
> console of the kvm host system?

Hi,

You could use virt-manager/virt-viewer + SPICE, it shows a lot of 
promise and it works reasonably well, especially over low latency links, 
but ATM you could be better off with using NX or FreeRDP (for Windows) 
from within the guest.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread Johnny Hughes
On 08/28/2012 10:37 AM, Akemi Yagi wrote:
> On Tue, Aug 28, 2012 at 8:12 AM, Les Mikesell  wrote:
>> On Tue, Aug 28, 2012 at 9:23 AM, James B. Byrne  
>> wrote:
>>> I am nearing the end of a project that moved our disparate services
>>> and hosts onto kvm virtualized servers.  What I am now contemplating
>>> is setting up my desktop as a virtual host and using one of the guests
>>> as my primary workstation.
>>>
>>> However, I am not sure how this would work in practice.  I am
>>> accustomed to working with virtual instances via ssh (a terminal
>>> window) and with my desktop system in a Gnome window manager.  Is
>>> there a reference somewhere that outlines the mechanics of logging
>>> into a virtual guest's graphical desktop directly from the physical
>>> console of the kvm host system?
>> I like to use freenx to host the desktop and the NX client to display
>> it.  That should work regardless of whether the desktop is a VM or not
>> and regardless of the OS or location of the display - and it wouldn't
>> surprise me if it performs better than whatever the built-in KVM
>> mechanism uses.   Even if you normally work locally, you may find it
>> handy to be able to pick up the display from elsewhere with everything
>> still running and have good performance.
> The wiki is here:
>
> http://wiki.centos.org/HowTos/FreeNX
>
> Also look into spice:
>
> http://wiki.centos.org/HowTos/Spice-libvirt

I do several Windows desktops with spice

I think I would use freenx for a linux desktop .. unless sound is
important, then spice would be my choice.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Johnny Hughes
On 08/29/2012 08:06 AM, Les Mikesell wrote:
> On Wed, Aug 29, 2012 at 7:49 AM, Johnny Hughes  wrote:
>>> If we were rich, I guess we would have two (or more) "geo-replicated" 
>>> glusters and
>>> be able to withstand one failing...
>>> I would like the same trust level that I have in RAID.
>> I have routinely used DRBD for things like this ... 2 servers, one a
>> complete failover of the other one.  Of course, that requires a 50+ TB
>> file system on each machine.
> How well do glusterfs or drbd deal with downtime of one of the
> members?Do they catch up quickly with incremental updates and what
> kind of impact does that have on performance as it happens?   And is
> either suitable for running over distances where there is some network
> latency?
>

Well, DRBD is a tried and true solution, but it requires dedicated boxes
and crossover network connections, etc.  I would consider it by far the
best method for providing critical failover.

I would consider gluserfs almost a different thing entirely ... it
provides the ability to string several partitions on different machines
into one shared network volume.

Glusterfs does also provide redundancy if you set it up that way ... and
if you have a fast network and enough volumes then the performance is
not very degraded when a gluster volume comes back, etc.

However, I don't think I would trust extremely critical things on
glusterfs at this point.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread John R Pierce
On 08/29/12 6:06 AM, Les Mikesell wrote:
> How well do glusterfs or drbd deal with downtime of one of the
> members?Do they catch up quickly with incremental updates and what
> kind of impact does that have on performance as it happens?   And is
> either suitable for running over distances where there is some network
> latency?

the extreme case is when one end fails, and you rebuild it,and have to 
replicate the whole thing.   how long does it take to move 50TB across 
your LAN ?   how fast can your file system write that much ?






-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 7:49 AM, Johnny Hughes  wrote:
> > If we were rich, I guess we would have two (or more) "geo-replicated" 
> > glusters and
>> be able to withstand one failing...
>> I would like the same trust level that I have in RAID.
>
> I have routinely used DRBD for things like this ... 2 servers, one a
> complete failover of the other one.  Of course, that requires a 50+ TB
> file system on each machine.

How well do glusterfs or drbd deal with downtime of one of the
members?Do they catch up quickly with incremental updates and what
kind of impact does that have on performance as it happens?   And is
either suitable for running over distances where there is some network
latency?

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread Les Mikesell
On Wed, Aug 29, 2012 at 6:13 AM,   wrote:
> >
>
> Not sure if freeNX is the best way to go.
> How about x2go: http://www.x2go.org/
> Or thinlink from http://www.cendio.com/
>

The free version of NX may be on the way out, but currently freenx has
the advantage of being a 'yum install' that comes up working with the
still available 3.x versions of NX.   All you have to do is copy/paste
the unique key that the install will generate from
/etc/nxserver/client.id.dsa.key into the client config window, pick
unix, gnome desktop, and connect.  Normally the only thing I touch in
the server config is to adjust DISPLAY_BASE to be unique since I often
run multiple sessions as the 1st and only user on different targets
which would otherwise get the same display number but that won't be
necessary on your first install.

x2go may have more current work and better support for sound, mapped
drives, etc., but I normally just use those facilities from the host
with the display or the native network support from host running the
desktop.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Johnny Hughes
On 08/29/2012 05:16 AM, John Doe wrote:
> From: Johnny Hughes 
>> We use glusterfs in the CentOS build infrastructure ... and for the most
>> part it works fairly well.
>> It is sometimes very slow on file systems with lots of small files ...
>> especially for operations like find or chmod/chown on a large volume
>> with lots of small files.
>> BUT, that said, it is very convenient to use commodity hardware and have
>> redundant, large, failover volumes on the local network.
>> We started with version 3.2.5 and now use 3.3.0-3, which is faster than
>> 3.2.5 ... so it should get better in the future.
>> I can recommend glusterfs as I have not found anything that does what it
>> does and does it better, but it is challenging and may not be good for
>> all situations, so test it before you use it.
> I am not too worried about bad performances.
> I am afraid to get paged one night because the 50+ TB of the storage 
> cluster are gone followinf a bug/crash...
> It would take days/weeks to set it back up from the backups.
> If we were rich, I guess we would have two (or more) "geo-replicated" 
> glusters and
> be able to withstand one failing...
> I would like the same trust level that I have in RAID.

I have routinely used DRBD for things like this ... 2 servers, one a
complete failover of the other one.  Of course, that requires a 50+ TB
file system on each machine.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Deduplication data for CentOS?

2012-08-29 Thread John R Pierce
On 08/29/12 2:43 AM, Rainer Traut wrote:
> Yes, there is commercial software to do incremental backups but I do not
> know of commandline options to do this. Maybe anyone?
>
> Les is right, I stop the server, take the snapshot, start the server and
> do the xdelta on the snapshot NSF files.
> Having that minimal downtime is ok and acknowledged by the customer.

I found some more stuff on a IBM site talking about the API (has to be 
called from software, not command line) to generate and keep track of 
transaction log files which the backup software archives. nothing about 
de-dup.



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM as a desktop

2012-08-29 Thread J.Witvliet
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Les Mikesell
Sent: Tuesday, August 28, 2012 5:12 PM
To: CentOS mailing list
Subject: Re: [CentOS] KVM as a desktop

On Tue, Aug 28, 2012 at 9:23 AM, James B. Byrne  wrote:
> I am nearing the end of a project that moved our disparate services
> and hosts onto kvm virtualized servers.  What I am now contemplating
> is setting up my desktop as a virtual host and using one of the guests
> as my primary workstation.
>
> However, I am not sure how this would work in practice.  I am
> accustomed to working with virtual instances via ssh (a terminal
> window) and with my desktop system in a Gnome window manager.  Is
> there a reference somewhere that outlines the mechanics of logging
> into a virtual guest's graphical desktop directly from the physical
> console of the kvm host system?

I like to use freenx to host the desktop and the NX client to display
it.  That should work regardless of whether the desktop is a VM or not
and regardless of the OS or location of the display - and it wouldn't
surprise me if it performs better than whatever the built-in KVM
mechanism uses.   Even if you normally work locally, you may find it
handy to be able to pick up the display from elsewhere with everything
still running and have good performance.

-Original Message-

Not sure if freeNX is the best way to go.
How about x2go: http://www.x2go.org/
Or thinlink from http://www.cendio.com/

Hw

__
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet 
de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u 
verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat 
aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband 
houdt met risico's verbonden aan het elektronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. The State accepts no 
liability for damage of any kind resulting from the risks inherent in the 
electronic transmission of messages.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Leon Fauster
Am 29.08.2012 um 12:24 schrieb Antonio da Silva Martins Junior:
> - "Bent Terp"  escreveu:
> 
>> De: "Bent Terp" 
>> Para: "CentOS mailing list" 
>> Enviadas: Quarta-feira, 29 de Agosto de 2012 5:29:07 (GMT-0300) Auto-Detected
>> Assunto: Re: [CentOS] NTOP alternatives?
>> 
>> On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki
>> wrote:
>> 
>>> After some search I think I will use ntop ;)
>>> 
>> 
>> Having lurked in this thread, I think I'll start using ntop as well.
>> Did a quick test today on my laptop and got it up and running in no time.
>> 
>> But to answer the question people at the office keeps asking me, I
>> need to dump Network Load data with a 1-second granularity. Does anoybody 
>> know
>> how to do that? Basic question is, do we have large fluctuations on our
>> internet connection usage.
>> 
> 
> Hi Bent,
> 
>   Give a try to Collectd: www.collectd.org is a RRDTOOL data collect system.


+1

i use collectd to keep tracked system offloaded and send all data via network 
(encrypted) to a central system.


>   I use it on various systems without impacts on performance.

The central system has a continuous data stream onto the storage (my case 
saving >64 incoming samples/minute).
Not a penalty but i would run only the logging service on this central system. 

--
LF





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Antonio da Silva Martins Junior

- "Bent Terp"  escreveu:

> De: "Bent Terp" 
> Para: "CentOS mailing list" 
> Enviadas: Quarta-feira, 29 de Agosto de 2012 5:29:07 (GMT-0300) Auto-Detected
> Assunto: Re: [CentOS] NTOP alternatives?
>
> On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki
> wrote:
> 
> > After some search I think I will use ntop ;)
> >
> 
> Having lurked in this thread, I think I'll start using ntop as well.
> Did a quick test today on my laptop and got it up and running in no time.
> 
> But to answer the question people at the office keeps asking me, I
> need to dump Network Load data with a 1-second granularity. Does anoybody know
> how to do that? Basic question is, do we have large fluctuations on our
> internet connection usage.
> 

Hi Bent,

   Give a try to Collectd: www.collectd.org is a RRDTOOL data collect system.

   I use it on various systems without impacts on performance.

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | "Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!"   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread John Doe
From: Johnny Hughes 
> We use glusterfs in the CentOS build infrastructure ... and for the most
> part it works fairly well.
> It is sometimes very slow on file systems with lots of small files ...
> especially for operations like find or chmod/chown on a large volume
> with lots of small files.
> BUT, that said, it is very convenient to use commodity hardware and have
> redundant, large, failover volumes on the local network.
> We started with version 3.2.5 and now use 3.3.0-3, which is faster than
> 3.2.5 ... so it should get better in the future.
> I can recommend glusterfs as I have not found anything that does what it
> does and does it better, but it is challenging and may not be good for
> all situations, so test it before you use it.

I am not too worried about bad performances.
I am afraid to get paged one night because the 50+ TB of the storage 
cluster are gone followinf a bug/crash...
It would take days/weeks to set it back up from the backups.
If we were rich, I guess we would have two (or more) "geo-replicated" glusters 
and
be able to withstand one failing...
I would like the same trust level that I have in RAID.

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread Johnny Hughes
On 08/29/2012 04:07 AM, John Doe wrote:
> From: isdtor 
>> I can't say anything about the RH Storage Appliance, but for us,
>> gluster up to 3.2.x was most definitely not ready.
>> ...
>> We only started out with 3.0.x, and my impression was that development
>> was focusing on new features rather than bug fixes.
> From: David C. Miller 
>> I'm using gluster 3.3.0-1 ...
>> Been running this since 3.3 came out. I did quite a bit 
>> of failure testing before going live. So far it is working well.
> I read that 3.3 was the first "RH" release.
> Let's hope they did/will focus on bug fixing...
> So I guess I will wait a little bit more.

We use glusterfs in the CentOS build infrastructure ... and for the most
part it works fairly well.

It is sometimes very slow on file systems with lots of small files ...
especially for operations like find or chmod/chown on a large volume
with lots of small files.

BUT, that said, it is very convenient to use commodity hardware and have
redundant, large, failover volumes on the local network.

We started with version 3.2.5 and now use 3.3.0-3, which is faster than
3.2.5 ... so it should get better in the future.

I can recommend glusterfs as I have not found anything that does what it
does and does it better, but it is challenging and may not be good for
all situations, so test it before you use it.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Deduplication data for CentOS?

2012-08-29 Thread Rainer Traut
Am 28.08.2012 21:26, schrieb Les Mikesell:
> On Tue, Aug 28, 2012 at 2:04 PM, John R Pierce  wrote:
>> On 08/28/12 11:41 AM, Les Mikesell wrote:
>>> On Tue, Aug 28, 2012 at 3:03 AM, Rainer Traut  wrote:
>>>
> Rsync is of no use for us. We have mainly big Domino .nsf files which
> only change slightly. So rsync  would not be able to make many hardlinks. 
> :)
>>> Rdiff-backup might work for this since it stores deltas.   Are you
>>> doing something to snapshot the filesystem during the copy or are
>>> these just growing logs where consistency doesn't matter?
>>
>> NSF files are a proprietary database format used by Lotus Notes and
>> Domino, very complex, there's a pile of versions, and they are totally
>> opaque.  Pretty sure that if they are being accessed or updated while
>> being copied the copy is invalid, so yes, some form of snapshotting is
>> required.
>>
>> commercial backup software uses Domino/Notes APIs to do incremental
>> backups, for example
>> http://www.symantec.com/business/support/index?page=content&id=TECH46513
>
> If there is a command-line way to generate an incremental backup file,
> backuppc could run it via ssh as a pre-backup command.
>

Yes, there is commercial software to do incremental backups but I do not 
know of commandline options to do this. Maybe anyone?

Les is right, I stop the server, take the snapshot, start the server and 
do the xdelta on the snapshot NSF files.
Having that minimal downtime is ok and acknowledged by the customer.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is glusterfs ready?

2012-08-29 Thread John Doe
From: isdtor 
> I can't say anything about the RH Storage Appliance, but for us,
> gluster up to 3.2.x was most definitely not ready.
> ...
> We only started out with 3.0.x, and my impression was that development
> was focusing on new features rather than bug fixes.

From: David C. Miller 
> I'm using gluster 3.3.0-1 ...
> Been running this since 3.3 came out. I did quite a bit 
> of failure testing before going live. So far it is working well.

I read that 3.3 was the first "RH" release.
Let's hope they did/will focus on bug fixing...
So I guess I will wait a little bit more.

Thx to both,
JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Morgan Cox
Have you tried Darkstat - it's a nice very very lightweight alternative

http://unix4lyfe.org/darkstat/

ntop has more info though.

regards

Keep rocking the free (opensource) world



On 29 August 2012 09:56, Giles Coochey  wrote:
> On 29/08/2012 09:29, Bent Terp wrote:
>>
>> On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki
>> wrote:
>>
>>> After some search I think I will use ntop ;)
>>>
>> Having lurked in this thread, I think I'll start using ntop as well. Did a
>> quick test today on my laptop and got it up and running in no time.
>>
>> But to answer the question people at the office keeps asking me, I need to
>> dump Network Load data with a 1-second granularity. Does anoybody know how
>> to do that? Basic question is, do we have large fluctuations on our
>> internet connection usage.
>>
>> Thanks in advance!
>>
> I know it's a Windows utility (WINE??), but we used STG traffic grapher in a
> previous ISP environment. Graphing at a 1s interval is possible, looks very
> much like MRTG.
>
> http://leonidvm.chat.ru/
>
>
> --
> Regards,
>
> Giles Coochey, CCNA, CCNAS
> NetSecSpec Ltd
> +44 (0) 7983 877438
> http://www.coochey.net
> http://www.netsecspec.co.uk
> gi...@coochey.net
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Giles Coochey

On 29/08/2012 09:29, Bent Terp wrote:

On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki wrote:


After some search I think I will use ntop ;)


Having lurked in this thread, I think I'll start using ntop as well. Did a
quick test today on my laptop and got it up and running in no time.

But to answer the question people at the office keeps asking me, I need to
dump Network Load data with a 1-second granularity. Does anoybody know how
to do that? Basic question is, do we have large fluctuations on our
internet connection usage.

Thanks in advance!

I know it's a Windows utility (WINE??), but we used STG traffic grapher 
in a previous ISP environment. Graphing at a 1s interval is possible, 
looks very much like MRTG.


http://leonidvm.chat.ru/

--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Bent Terp
On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki wrote:

> After some search I think I will use ntop ;)
>

Having lurked in this thread, I think I'll start using ntop as well. Did a
quick test today on my laptop and got it up and running in no time.

But to answer the question people at the office keeps asking me, I need to
dump Network Load data with a 1-second granularity. Does anoybody know how
to do that? Basic question is, do we have large fluctuations on our
internet connection usage.

Thanks in advance!

with kind regards,
  Bent Terp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Rafał Radecki
After some search I think I will use ntop ;)
Thanks for all help.

Best regards,
Rafał.

2012/8/28 Lamar Owen 

> On Tuesday, August 28, 2012 02:35:25 AM Rafał Radecki wrote:
> > Hi all.
> >
> > I have currently a task to implement a network traffic analyzer. Some
> years
> > ago I've used NTOP for that purpose, I would also like to test some
> > alternatives.
> > Which alternatives can you recommend and why?
>
> As a package, either the Fedora-based NetworkSecurityToolkit (NST) or the
> loosly-based-on-ubuntu BackTrack are nice.  NST has some very cool
> features, and a web UI that allows some nice options.
>
> NST runs best on a dedicated piece of hardware; slap a couple of GigE
> NIC's in a good box with dual procs, put one GigE on a SPAN port or a
> hardware tap, install NST on it and configure to your liking.  If you want
> prepackaged updates that you don't have to built yourself, subscribe to the
> NSTPro service.
>
> www.networksecuritytoolkit.org
>
> I'm using it here, and coupled with the power and configurability of
> Cisco's SPAN it works really well for troubleshooting.  I'm using it enough
> that I set up my own builder on Fedora 16, and have been building my own
> updates out of NST's SVN, which has been interesting
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] updatedb taking too long

2012-08-29 Thread Mogens Kjaer
On 08/28/2012 05:47 PM, Tim Dunphy wrote:
>   For some reason mlocate is taking a long time when I run the updatedb
> command. Have a look!
>
> [root@beta:~] #time updatedb
> real19m48.729s
> user0m0.400s
> sys 0m2.728s

Does

# time /etc/cron.daily/mlocate.cron

take the same amount of time? It calls updatedb with
a list of file systems to be skipped.

When updatedb is running, get the PID of the process, and
try to follow the files the process has opened by:

# ls -l /proc/PID/fd

Do this now and then when updatedb runs this might
give you an idea where in the file system it spends
most of the time.

Mogens

-- 
Mogens Kjaer, m...@lemo.dk
http://www.lemo.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cut command behaviour - bug or feature

2012-08-29 Thread Philippe Naudin
Le mer. 29 août 2012 01:44:48 CEST, Rajagopal Swaminathan a écrit:

> Greetings,
> 
> On Wed, Aug 29, 2012 at 1:36 AM,   wrote:
> >
> > I've never been that good with cut. I'm going to see the author, Dave
> > Ihnat this weekend, who sometimes shows up here... but in the meantime,
> > you might use
> > awk 'BEGIN {FS=",";}{print $2 "," $3 "," $1;}' infile
> >
> 
> I tried it on an xp box with GnuWin32 binaries. It barked some error
> showing the single quote.
> 
> I will try on a centos box later (which I am silently injecting
> [installing] into that env after handwaving the xp).

You can also try with bash :
while IFS="," read A B C ; do echo "$B,$C,$A" ; done < infile

Regards,

-- 
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos