Re: [CentOS] Is ext4 safe for a production server?
On Sat, 2009-12-05 at 22:47 -0500, Brian Mathis wrote: > On Sat, Dec 5, 2009 at 10:20 AM, Miguel Medalha wrote: > > I am about to install a new server running CentOS 5.4. The server will > > contain pretty critical data that we can't afford to corrupt. > > > > I would like to benefit from the extra speed and features of a ext4 > > filesystem but I don't have any experience with it. > > Is there some member of the list who can enlighten me on whether ext4 is > > mature enough to be used on a production server without too much risk? > > > > Thank you! > > > > Regardless of the technical issues offered here, ask yourself this: Do > you really want to be experimenting with a new file system on a > production server with "pretty critical data"? Since you asked about > "too much risk", I think you already answered the question. > > Any sane process would involve installing it on a low priority test > server, running for a while to see how it goes, and learning about new > features or tools. After you've done that on a few lower priority > servers, for maybe a year or so, then you might start to _think_ about > using it on a production server like this. > > My guess is that any additional speed can come from tuning other areas > of your server and disk subsystem. What hardware do you have? What > kind of disks? Using RAID? What level? Have you looked into > aligning your partitions with the RAID blocks? I'm sure that some of > the hardcore disk I/O people on the list can ask better questions and > give more meaningful recommendations. Funny that - that's the kind of answer I was hoping to see on this list. The key issue was the fact that it's a production server. As a data point, I've been using mythtv at home for about 6 years. (Has it really been that long? Wow!) During that time, I've been using XFS filesystems for media storage for about the last 4 or 5. I haven't had a problem with it yet, though that doesn't preclude the possibility of it occurring at some later date. (Even, now that I've written this, it may fail several seconds from now, given that I may have jinxed it!) Anyhoo - due to this experience with it for my data at home which is constantly been written and rewritten - (mythtv is pretty intensive on systems - run it for a few years and BELIEVE ME - you'll find out where the weak points in various OS components are...) I've found XFS safe enough to use at work on production database servers. It works for me. It may not for you, but I'm happy so far. Again - this may all change tomorrow, but YMMV, as there's no such thing as software liability, and open source may eat your cat, make your dog toss its cookies on your lap, and cause the universe to unspool itself in your Wheaties tomorrow. We all take our chances, and it's a matter of how much risk we're willing to shoulder. As I said, I went through my process and deemed it acceptable... -I ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: How can I tell if a web site is now blocking IPs from my country?
I have always been able to browse, without any problems, http://www.mobile-review.com/index-en.shtml but for the past 2 or 3 days, Mozilla Firefox just hangs "connecting to " How can I tell if they have started blocking IP addresses from Colombia? I would like to do that, before I post to the IPCop mailing list. I have my IPCop box set up to do DNS Caching, so possibly something went awry there. I use OpenDNS.com and I refreshed their Cache for this web site. I am not having problems browsing other web sites. The site is up and my desktop is dual boot and the same thing happens if I boot to M$ Windows. TIA! An error occurred while loading http://www.mobile-review.com/index-en.shtml: Timeout on server Connection was to www.mobile-review.com at port 80 An error occurred while loading http://www.mobile-review.com/: Timeout on server Connection was to www.mobile-review.com at port 80 above is with Konqueror web browser http://downforeveryoneorjustme.com/http://www.mobile-review.com/index-en.shtml It's just you. http://www.mobile-review.com is up. above from http://downforeveryoneorjustme.com/ Lanny -- Magazine subscriptions Largest discount Credit/Debit Card Check Pay Pal http://lowcostmagazines.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: How can I tell if a web site is now blocking IPs frommy country?
Lenny: > days, Mozilla Firefox just hangs "connecting to " How can I tell > if they have started blocking IP addresses from Colombia? Try using a few traceroute servers to see if other IP addresses from Colombia other countries are able to get to them. Other than that, I don't think you can tell from the outside. Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net CentOS 5.4 VPS with unmetered bandwidth only $25/month! No overage charges, 7 day free trial, Google Checkout accepted ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] netflow colelction and analysis
Anyone got a reco on a package that can collect netflow data and accept user defined queries for specific data, like what an ip did every hour for some said interval? Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: How can I tell if a web site is now blocking IPs frommy country?
On Sun, Dec 6, 2009 at 4:30 PM, Neil Aggarwal wrote: >> days, Mozilla Firefox just hangs "connecting to " How can I tell >> if they have started blocking IP addresses from Colombia? > > Try using a few traceroute servers to see if other IP addresses > from Colombia other countries are able to get to them. > > Other than that, I don't think you can tell from the > outside. Neil: Thank you! I didn't know trace route servers existed. From the below, it looks to me as if there may be a problem, at the router past the last one I was able to get to, since the University of Maryland and Careleton University trace route servers also got stuck, just past where I got stuck. Possibly it's intermittent, since the site is showing "up" and I was able to get to it, using an Anonymous Web Browser. Snow in Houston?:-)Lanny from the University of Maryland: Enter an IP address or Hostname: Remote Host: 190.1.x.x (full IP deleted by Lanny) 1 Vlan5.css-nts-r1.net.umd.edu (128.8.5.60) 0.516 ms 16 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 138.679 ms 17 ixbt-gw.msk.datahouse.ru (89.188.100.110) 138.343 ms from Carleton University in Canada: traceroute: Warning: Multiple interfaces found; using 134.117.14.35 @ hme0 traceroute to 217.65.6.13 (217.65.6.13), 30 hops max, 40 byte packets 1 unix-gate.physics.carleton.ca (134.117.14.1) 2.629 ms 0.554 ms 0.462 ms 16 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 145.947 ms 145.750 ms 145.992 ms 17 89.188.100.110 (89.188.100.110) 142.142 ms 141.960 ms 141.842 ms [la...@dell2400 ~]$ traceroute mobile-review.com traceroute to mobile-review.com (217.65.6.13), 30 hops max, 40 byte packets 1 ipcop233 (192.168.10.1) 0.603 ms 0.524 ms 0.533 ms 22 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 219.849 ms 223.813 ms 218.912 ms [la...@dell2400 ~]$ ping mobile-review.com PING mobile-review.com (217.65.6.13) 56(84) bytes of data. (and it dies there) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
On Sun, Dec 6, 2009 at 4:39 PM, Joseph L. Casale wrote: > Anyone got a reco on a package that can collect netflow data and accept user > defined queries > for specific data, like what an ip did every hour for some said interval? well, collecting is pretty easy of course - tcpdump. And you can load the files into wireshark to query. Though it is probably not just what you want. In my old job I set up a sniffer appliance which basically ran tcpdump on any interface except the main interface, and logged it all in circular log files of a certain size. And the directory where these were kept were served out via the web server so that anyone could surf to the box and grab log files to look at. You may also want to have a look at what ntop can do these days - it has been a few years since i've looked at it. But of course this all assumes the traffic is visible to your CentOS box. For my sniffer appliance the way to deploy it was that all the other NICs except the main one got plugged into a mirror port on the switch, which mirrored the particular PC we wanted to sniff. In our case this was fine because we only monitored our product which was a VOIP appliance we were developing. Alternately, running this on your router will pick up most of what you want - but obviously not local LAN traffic -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thus Alan McKay spake: > On Sun, Dec 6, 2009 at 4:39 PM, Joseph L. Casale > wrote: >> Anyone got a reco on a package that can collect netflow data and accept user >> defined queries >> for specific data, like what an ip did every hour for some said interval? > > well, collecting is pretty easy of course - tcpdump. > And you can load the files into wireshark to query. > > Though it is probably not just what you want. > > In my old job I set up a sniffer appliance which basically ran > tcpdump on any interface except the main interface, and logged it all > in circular log files of a certain size. And the directory where > these were kept were served out via the web server so that anyone > could surf to the box and grab log files to look at. > > You may also want to have a look at what ntop can do these days - it > has been a few years since i've looked at it. > > But of course this all assumes the traffic is visible to your CentOS > box. For my sniffer appliance the way to deploy it was that all the > other NICs except the main one got plugged into a mirror port on the > switch, which mirrored the particular PC we wanted to sniff. In our > case this was fine because we only monitored our product which was a > VOIP appliance we were developing. > > Alternately, running this on your router will pick up most of what you > want - but obviously not local LAN traffic Well, netflow is the appropriate technology for this: http://en.wikipedia.org/wiki/Netflow Unfortunately, I don't know a solution for the thread starters question out of my head, so this was just for clarifying what we're talking about... ;) Timo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkscNM0ACgkQO/2mgkVVV7mcngCaA7oWyotXtnrTxHakYgPdy6Od yQUAn0UHkw/1xgAqKLtyZST1y5TfigX0 =LzLT -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
> Well, netflow is the appropriate technology for this: > > http://en.wikipedia.org/wiki/Netflow Oh hey, look at that - I had no idea that was a specific thing :-) I've seen something like that before - not Netflow obviously - but I've seen it. Now I'll just have to remember where :-) -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
On Sun, Dec 06, 2009 at 11:48:45PM +0100, Timo Schoeler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > thus Alan McKay spake: > > On Sun, Dec 6, 2009 at 4:39 PM, Joseph L. Casale > > wrote: > >> Anyone got a reco on a package that can collect netflow data and accept > >> user defined queries > >> for specific data, like what an ip did every hour for some said interval? > > > > well, collecting is pretty easy of course - tcpdump. > > And you can load the files into wireshark to query. > > > > Though it is probably not just what you want. > > > > In my old job I set up a sniffer appliance which basically ran > > tcpdump on any interface except the main interface, and logged it all > > in circular log files of a certain size. And the directory where > > these were kept were served out via the web server so that anyone > > could surf to the box and grab log files to look at. > > > > You may also want to have a look at what ntop can do these days - it > > has been a few years since i've looked at it. > > > > But of course this all assumes the traffic is visible to your CentOS > > box. For my sniffer appliance the way to deploy it was that all the > > other NICs except the main one got plugged into a mirror port on the > > switch, which mirrored the particular PC we wanted to sniff. In our > > case this was fine because we only monitored our product which was a > > VOIP appliance we were developing. > > > > Alternately, running this on your router will pick up most of what you > > want - but obviously not local LAN traffic > > Well, netflow is the appropriate technology for this: > > http://en.wikipedia.org/wiki/Netflow > > Unfortunately, I don't know a solution for the thread starters question > out of my head, so this was just for clarifying what we're talking > about... ;) > > Timo OP wants nfdump[1]. Great tool. The web front-end is called nfsen and is a separate package. Ray [1] http://nfdump.sourceforge.net/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
> I've seen something like that before - not Netflow obviously - but > I've seen it. Now I'll just have to remember where :-) Oh, it was the other day when I was looking at Tobi Oetiker's website. And ad on his site for this guy : http://community.zenoss.org/index.jspa I have been meaning to download and try it out. When I took a quick look at features the other day I think it does this sort of thing. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
thus Alan McKay spake: >> Well, netflow is the appropriate technology for this: >> >> http://en.wikipedia.org/wiki/Netflow > > Oh hey, look at that - I had no idea that was a specific thing :-) > > I've seen something like that before - not Netflow obviously - but > I've seen it. Now I'll just have to remember where :-) Well, Netflow is usually used at ISPs, and in bigger networks. We have Netflow running here to do accounting for our colocation customers. The main use of it, alas, not the only one... Regards, Timo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
>OP wants nfdump[1]. Great tool. The web front-end is called nfsen and is a >separate package. Yea, that looks nice, wow... In the meantime while I was waiting for feedback I saw that cacti has a netflow plugin. Given my owner dumped this on me short notice before we shut down for holidays (while I have other stuff to cram in before our closure) I am hoping the cacti solution will be quick. If it doesn't provide what I need, I'll look into this, which I am sure after a quick read does what I want. I need to provide records for certain users (known to be associated by ip) on a firewall overtime. Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
On Sun, Dec 6, 2009 at 5:53 PM, Ray Van Dolson wrote: > OP wants nfdump[1]. Great tool. The web front-end is called nfsen and is > a separate package. > > Ray > > [1] http://nfdump.sourceforge.net/ > Needs, but maybe not "wants." :-P I used to be in love with ntop, but it has shown to be very unstable in the last few years (memory leaks, crashing, etc. for version in fedora-epel as well as latest stable and latest svn checkout..) Ntop is what you want (at least close to what you want the interface to look like) but i have yet to find any good netflow analyser that blows my skirt up after having sampled ntop (stability issues), solarwinds realtime netflow analyser (unknown reliability, plus only meant for live troubleshooting, not trending), solarwinds orion netflow module (too cumbersome to navigate to find simple answers like "what was on the wire during a certain time frame), and the cisco network analysis module for the 6500 (maybe the best i've seen even if its interface is ugly as hell.) If anyone has had a good experience with something user-friendly on the reporting side at least, I'd be thrilled to hear about it. nfdump/nfsen does look like it could hold some value but i haven't evaluated it yet. -- Jake Paulus jakepau...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Inquiry:How to compare two files but not in line-by-line basis?
hadi motamedi wrote: > On Thu, Dec 3, 2009 at 12:42 PM, mark wrote: > >> John Doe wrote: >>> From: hadi motamedi Can you please do me favor and let me know if I can go further and try >> for advanced search like finding how many rows inside a file have data that does not start with a zero after the third comma ? >>> Something like: awk -F, ' { print $4 } ' | grep -v "^0" | wc -l Use one >>> command at a time to see how they work with each other (you might have to >>> modify the grep a bit)... >> *sigh* >> >> Drive me crazy, why use multiple commands? >> >> awk -F 'BEGIN { FS = ","; }{if ( $3 !~ /^0 ) { count++; }} END { print >> count }' >> filename > > Sorry . I tried for your proposed procedure , as the followings : > #awk -F 'BEGIN { FS = ","; }{if ( $3 !~ /^0 ) { count++; }} END { print > count }' HLRSubscriber-2009173349.csv > But my CentOS server didn't return to the prompt . Can you please let me > know why it is in an end-less iterated loop ? > Thank you in advance Syntax error. You wrote if ( $3 !~ /^0 not if ( $3 !~ /^0/ PLEASE: if you ask for help, and someone gives you examples, READ THE MAN PAGES SO THAT YOU KNOW WHAT YOU'RE DOING. I could have just as well have given you something that would have wiped your system (like system("rm -rf /"). mark -- America is the only country that went from barbarism to decadence without civilization in between. - Oscar Wilde ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
> I used to be in love with ntop, but it has shown to be very unstable in the > last few years (memory leaks, crashing, etc. for version in fedora-epel as And here I thought it was just my PC. I finally converted my home PC to Linux last week (cough, cough Ubuntu cough) and one of the first things I did was install ntop. As soon as I started it, my PC hung solid. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: How can I tell if a web site is now blocking IPs frommy country?
On Mon, Dec 7, 2009 at 7:27 AM, Lanny Marcus wrote: > On Sun, Dec 6, 2009 at 4:30 PM, Neil Aggarwal > wrote: > >> days, Mozilla Firefox just hangs "connecting to " How can I tell > >> if they have started blocking IP addresses from Colombia? > > > > Try using a few traceroute servers to see if other IP addresses > > from Colombia other countries are able to get to them. > > > > Other than that, I don't think you can tell from the > > outside. > > Neil: Thank you! I didn't know trace route servers existed. From the > below, it looks to me as if there may be a problem, at the router > past the last one I was able to get to, since the University of > Maryland and Careleton University trace route servers also got stuck, > just past where I got stuck. Possibly it's intermittent, since the > site is showing "up" and I was able to get to it, using an Anonymous > Web Browser. Snow in Houston?:-)Lanny > > from the University of Maryland: > Enter an IP address or Hostname: > Remote Host: 190.1.x.x (full IP deleted by Lanny) > > 1 Vlan5.css-nts-r1.net.umd.edu (128.8.5.60) 0.516 ms > > 16 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 138.679 ms > 17 ixbt-gw.msk.datahouse.ru (89.188.100.110) 138.343 ms > > > from Carleton University in Canada: > > traceroute: Warning: Multiple interfaces found; using 134.117.14.35 @ hme0 > traceroute to 217.65.6.13 (217.65.6.13), 30 hops max, 40 byte packets > 1 unix-gate.physics.carleton.ca (134.117.14.1) 2.629 ms 0.554 ms > 0.462 ms > > 16 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 145.947 ms > 145.750 ms 145.992 ms > 17 89.188.100.110 (89.188.100.110) 142.142 ms 141.960 ms 141.842 ms > > > [la...@dell2400 ~]$ traceroute mobile-review.com > traceroute to mobile-review.com (217.65.6.13), 30 hops max, 40 byte > packets > 1 ipcop233 (192.168.10.1) 0.603 ms 0.524 ms 0.533 ms > > 22 te2-3-11-cerber.msk.citytelecom.ru (217.65.1.246) 219.849 ms > 223.813 ms 218.912 ms > > [la...@dell2400 ~]$ ping mobile-review.com > PING mobile-review.com (217.65.6.13) 56(84) bytes of data. > (and it dies there) > > not exactly what your after, but handy sometimes. http://downforeveryoneorjustme.com/ -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] netflow colelction and analysis
On Sun, Dec 06, 2009 at 06:23:01PM -0500, Jake wrote: > On Sun, Dec 6, 2009 at 5:53 PM, Ray Van Dolson wrote: > > > OP wants nfdump[1]. Great tool. The web front-end is called nfsen and is > > a separate package. > > > > Ray > > > > [1] http://nfdump.sourceforge.net/ > > > > > Needs, but maybe not "wants." :-P > > I used to be in love with ntop, but it has shown to be very unstable in the > last few years (memory leaks, crashing, etc. for version in fedora-epel as > well as latest stable and latest svn checkout..) Ntop is what you want (at > least close to what you want the interface to look like) but i have yet to > find any good netflow analyser that blows my skirt up after having sampled > ntop (stability issues), solarwinds realtime netflow analyser (unknown > reliability, plus only meant for live troubleshooting, not trending), > solarwinds orion netflow module (too cumbersome to navigate to find simple > answers like "what was on the wire during a certain time frame), and the > cisco network analysis module for the 6500 (maybe the best i've seen even if > its interface is ugly as hell.) If anyone has had a good experience with > something user-friendly on the reporting side at least, I'd be thrilled to > hear about it. > > nfdump/nfsen does look like it could hold some value but i haven't evaluated > it yet. Both definitely fill their niche (actually I believe ntop can handle netflow data), but nfdump is much more appropriate (IMO) for colo/billing type situations. Just saves data to simple files which can be parsed and easily imported into a DB. No need for a heavy-weight full-on packet capture system. Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: How can I tell if a web site is now blocking IPs frommy country?
On Sun, Dec 6, 2009 at 6:42 PM, Ross Cavanagh wrote: > On Mon, Dec 7, 2009 at 7:27 AM, Lanny Marcus > wrote: >> On Sun, Dec 6, 2009 at 4:30 PM, Neil Aggarwal >> wrote: >> >> days, Mozilla Firefox just hangs "connecting to " How can I tell >> >> if they have started blocking IP addresses from Colombia? >> > >> > Try using a few traceroute servers to see if other IP addresses >> > from Colombia other countries are able to get to them. >> > >> > Other than that, I don't think you can tell from the >> > outside. >> >> Neil: Thank you! I didn't know trace route servers existed. From the >> below, it looks to me as if there may be a problem, at the router >> past the last one I was able to get to, since the University of >> Maryland and Careleton University trace route servers also got stuck, >> just past where I got stuck. Possibly it's intermittent, since the >> site is showing "up" and I was able to get to it, using an Anonymous >> Web Browser. Snow in Houston? :-) Lanny >> [la...@dell2400 ~]$ ping mobile-review.com >> PING mobile-review.com (217.65.6.13) 56(84) bytes of data. >> (and it dies there) >> > not exactly what your after, but handy sometimes. > > http://downforeveryoneorjustme.com/ > > -Ross- Ross: That's probably the first place I checked and it showed that web site was "up" and then I was able to access it, via an anonymous web browser service. At first, I thought maybe they were blocking Colombian IPs, or, that I had a problem with the Caching DNS in my IPCop box, but, now, I believe there is a connectivity problem, in Russia. I will try to contact them, so they can troubleshoot the networking problem. Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Inquiry:How to compare two files but not in line-by-line basis?
mark wrote: > hadi motamedi wrote: >> On Thu, Dec 3, 2009 at 12:42 PM, mark wrote: >> >>> John Doe wrote: From: hadi motamedi > Can you please do me favor and let me know if I can go further and try >>> for > advanced search like finding how many rows inside a file have data that > does not start with a zero after the third comma ? Something like: awk -F, ' { print $4 } ' | grep -v "^0" | wc -l Use one command at a time to see how they work with each other (you might have to modify the grep a bit)... >>> *sigh* >>> >>> Drive me crazy, why use multiple commands? >>> >>> awk -F 'BEGIN { FS = ","; }{if ( $3 !~ /^0 ) { count++; }} END { print >>> count }' >>> filename >> Sorry . I tried for your proposed procedure , as the followings : >> #awk -F 'BEGIN { FS = ","; }{if ( $3 !~ /^0 ) { count++; }} END { print >> count }' HLRSubscriber-2009173349.csv >> But my CentOS server didn't return to the prompt . Can you please let me >> know why it is in an end-less iterated loop ? >> Thank you in advance > > Syntax error. You wrote > if ( $3 !~ /^0 > not > if ( $3 !~ /^0/ > > PLEASE: if you ask for help, and someone gives you examples, READ THE MAN > PAGES > SO THAT YOU KNOW WHAT YOU'RE DOING. I could have just as well have given you > something that would have wiped your system (like system("rm -rf /"). Awk is just too weird for normal people. I wouldn't even suggest reading that manual. If you can't do what you want with regexps and a pipeline of simpler programs, you might as well use perl. But: grep -v '^.*,.*,.*,0' filename |wc -l seems simple enough and says what you mean. Or: cut -d, -f4 | grep -v '^0' |wc -l -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] using an alternate audio driver in C5.4
Hello, C5.4 on Abit kn9 ultra with MCP55 chipset, model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ #lspci 00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2) sudo lsmod | grep hda snd_hda_intel 584593 1 snd_pcm 116681 2 snd_hda_intel,snd_pcm_oss snd_page_alloc 44113 2 snd_hda_intel,snd_pcm snd_hwdep 43593 1 snd_hda_intel snd 100073 11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer Is there a way to use the ac97 drivers instead of the hda_intel? I want to explore this cause Qemu has an ac97 driver. If I can make my audio compatible with the Qemu sound, then I can use guest and local audio at the same time! -- Mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos