@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16



Comments:

<0> yes that exists
<1> nonsense, it's a figment of your imagination
<1> and now, I must go to sleep
<1> stupid freaking work
<2> at uh.... 4 am?
<3> not everybody lives in the USA
<2> yeah, but he does
<3> can you be sure ?
<2> yes
<2> I know all
<3> oh really
<3> how old is my sister ?
<4> and where do i live?
<4> lols
<2> not legal age and the garbage dump



<3> I don't have a sister.
<3> good guess for the 2nd question though
<3> just kidding
<5> hello
<0> hiya
<5> i'm working with *large* text files .. is there a possibility to locate a particular line and modify it ?
<5> in bash
<0> OK, who knows how to query inside mysql to see if it is healthy?
<5> thing phpmyadmin ?
<0> /usr/bin/mysqladmin -u root -p ver sems to show the version
<0> LD im just doing a simple mysql for grey-listing
<5> ..ok..i'm not that familiar with mysql but i remember i was using phpmyadmin :)
<0> it has a mysql dependancy
<0> so i have to set it up
<5> i'm working with *large* text files .. is there a possibility to locate a particular line and modify it ?
<0> in vi?
<0> yes
<5> commadn line
<5> mostly
<5> in bash
<5> something like grep
<0> hmm yes
<0> sed ?
<5> or something to insert a line in a specific place
<5> sed is for replacind
<6> Delwin -? cfdisk is not there
<6> in rhel4 and rhel3 and FEdora 5
<7> fdisk, then
<0> fdisk is in RHxS
<3> to insert a line in a specific place you need .. hmm .. cat, head, echo and mv
<3> and wc
<5> wc..word count
<5> ?
<3> yes
<3> wc -l to be more exact
<0> the -l flag does a line count
<5> yea i know.. its saying how many lines i have
<5> i dont see how i can insert a line
<5> thiugh
<5> though
<5> lets say i want to insert a line at line number 453
<5> in any text file
<5> meow- an u please gimme an example ?
<5> ..of how to insert a line ?
<5> please
<3> export MAGIC=`cat file|wc -l`; head -n 452 >> .file.swp; echo "your line" >> .file.swp; export MAGIC=$MAGIC-452; tail -n +$MAGIC file >> .file.swp; mv .file.swp file
<3> something like that
<3> would check the syntax
<5> i see.. its copying all but the line inseert the line then copy the rest..
<3> precisesly
<5> if I do this in bash it takes me like 10 min to generate what i need
<5> i thought there is some c prg (like grep or something) which does this automatically
<3> maybe, never needed to do something like this on the command line
<5> well i make my scripts in bash
<5> ...i dont know C that well to make my own script in it
<5> let me ask you guys another question.. does any of you runned a firewall with 5k+ rules in it ? is it normal for a sempron 2800+ with 1gigs ram to neil ?
<5> the trafic is under 5mega bytes / s
<5> and the CPU stays in 90 - 95 %
<8> Hi guys, I need to know how to fix my Acer Aspire 3002LC Modem to work with SUSE Linux 10.0 ? Can someone help plz ?
<0> thats a big rule table
<0> why so big?



<5> i had bigger..on smaller CPUs..and they worked fine
<0> why so big?
<5> well.. weird metro routing
<0> k
<5> ...ip accountig
<5> upload limiting of privatre cl***es
<0> delwin?
<9> it has been said that delwin is a small martian, but he isn't green.. he's an odd shade of ultra-yellow, or pretty good at bashing juice machines, too.
<5> i done it in iptables
<0> ld your logging lots?
<5> lots ?
<5> no i'm not loggin at all
<0> k
<5> tehre is no -j LOG ot -j ULOG if that's what you'r asking
<0> in top, what's th eiowait?
<0> in top, what's the iowait?
<5> cant see any iowait there
<5> Cpu(s): 0.0% user, 96.0% system, 0.0% nice, 4.0% idle
<5> see.. system has >95%
<0> hmm
<5> with only 5k rules
<5> and i cant get it WHY
<0> iostat -x 5?
<0> ***uming you have iostat
<5> cause i had a celeron 333 with 128 ramn witk 10k rules .. and cpu <40%
<5> no iostat
<0> hmm ok
<0> which distro?
<9> which distro are you using, hmmm?
<5> Cpu(s): 0.0% user, 100.0% system, 0.0% nice, 0.0% idle
<5> 3 root 19 19 0 0 0 S 48.2 0.0 5:27.94 ksoftirqd_CPU0
<5> i had 2
<5> FC3
<5> and now salck 10.1
<5> both acting the same
<0> k
<5> and look at my trafic:
<5> Total 3.68MiB 5.62K 4.00MiB 5.46K
<0> its a lot of rules
<0> and a lot of trafffic
<5> almost 8Megs in both directions
<0> does /var/log/messgaes get big?
<0> does /var/log/messages get big?
<5> -rw-r----- 1 root root 105749 2006-04-03 11:41 /var/log/messages
<5> i woudnt say so
<0> k
<10> depends on your kernel configure thing, mine got 19 GB once :/
<5> OS is up 12 hours now
<0> k, just wondering if it is something else
<0> thast not a huge file though
<5> OS just installed
<5> nothing else running
<5> only a opendchub..but that's "small"
<5> like 20 users on it
<0> install sysstat
<0> run iostat -x 5
<5> and i cant get it why is eating so many resources
<5> LadyByte, google sysstat
<5> :)
<0> me neither sound OTT
<9> google can't find sysstat
<0> ladybyte, google iostat
<5> yeah..odd indeed
<9> google can't find iostat
<0> anyway iostat is inside sysstat
<5> ladybye's google module its turned off i thibnk
<5> http://sysstats.needlemen.com/ ...that ?
<5> no..is not that ;p
<0> www.freshmeat.net maybe
<0> its a very std package
<0> as is vmstat
<5> not in slack
<5> :D


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

#linuxhelp
#linux
blackduck efnet
flashmp3_menu
#php
#linuxhelp
eigenvalues always positive
xdoclet eclipse CMB
#AllNiteCafe
#apache



Home  |  disclaimer  |  contact  |  submit quotes