@# 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



Comments:

<0> why would you or any of your users be doing m*** whois lookups? scraping for addresses to spam?
<1> how can i limit them
<2> write a programme to do it
<1> many users but phpwhois.com script in their website
<1> i want them to use their IP
<1> not the machine IP
<1> so if they get banned i dont care
<2> write a programme to do it
<2> you should care
<2> you're their service provider
<2> you should care about abuse on your machine
<1> but this is not abuse
<1> they are not consuming resources or anything
<0> then you don't get banned, do you?
<2> if they're not abusing it they won't get banned



<2> looks like akamai are broken locally
<1> im just taking precaution for future
<1> thats why i want them to bind
<1> never mind seems im over caring :D
<1> till i et banned ill start caring lol
<1> thanks guys, good night
<3> using 'df -k' how would i add it all up to XX.XG free / XX.XG used?
<4> With a calculator?
<3> in bash?
<4> does bash have 'expr'?
<3> i believe so
<5> expr isn't supposed to be a builtin
<3> why?
<6> try: which expr :p
<5> because otherwise bash would be too large
<5> ie, perl
<4> heh.
<3> heh
<4> I mentioned expr because expr lets you add numbers together.
<3> thats what im using
<5> fwiw, bash *does* have arithmetic operators built in
<4> You could use 'dc' instead, I suppose.
<3> but im doing it all with dk -k|grep usr|cut -d' ' -f5 and so forth to grab all the info.
<5> there's ksh93 style $(($a + $b)) and its own bash arithmetic $[$a + $b]
<6> ksh makes me stabby.
<5> note: if anyone has input on whether $var is more portable than var in arithmetic operations, I'd like to hear it..
<6> where's the spoon?
<5> a spork then..
<7> There is no spoon.
<6> Figz nearly ruined that :p
<3> spork > fork or a spoon!
<5> sporks are at least as funny as the tick
<3> i use sporks daily
<3> any who, back to the question at hand. :P
<4> It's trivial but labourious.
<8> Has anyhere ever figuredout how get boost to actually find the bootstrap.jam?
<8> in Freebsd
<9> I'm attempting to break down several at and cron entries to identify the scripts that are being run, having some issues with sed/awk, any recommended regex magic?
<9> so far using awk '{print $6}' is coming back with a lot of false positives and missing some is field 7
<10> Not sure exactly what you're asking
<10> {print $6 $7} ?
<9> I am manually reviewing the cron and at jobs for fifty servers looking for anything "fishy", so I've copied the /etc/cron* and /var/cron directories from these servers
<9> now, I'm trying to save a bit of time hunting for the scripts which are referenced in the crontabs, so my objective is to identify the scripts path and use that as a variable
<9> that variable I will plug into an ssh command to "less" the files :)
<9> enough? :)
<10> revstray: run the scripts through their verbose/debug mode? i.e. if they're prefixed with /bin/sh make them /bin/sh -x
<9> my goal here is to be able to view them and go through them manually, through more/less
<9> hrm...
<9> I don't think I'm explaining this well :)
<10> revstray: maybe try a suffix: | less -XF
<9> before that however, I need to process the contabs to find the lines which have the scripts on them
<9> for example, say this is two lines from my crontab:
<9> # Prepare for the daylight savings time shift
<9> 59 1 1-7 4 0 /root/shift_my_times.sh



<9> I have a directory structure which has 50 of these, all in <servername>/directory/to/cron/root
<9> so I can do: for i in $(find . -type f}; do less $i; done
<9> however that will just allow me to read the crontab
<9> my objective is to identify the scripts within it, say for i in $(find . -type f); do awk '{print $6}' | less; done
<9> that gets me the line that has the script on it, but it is not always accurate :)
<9> ... actually it would be: do egrep -v "#" | awk '{print $6}' | less; done
<9> any more sense?
<11> ANy
<11> Err
<11> hrm
<11> Hey
<11> Anyone know if there's a way to make gcc resolve dependencies of .a files?
<10> RndPkt: nm file.a ?
<11> No
<11> I want gcc to do it automagically
<12> did you try gcc -L/path/to/lib
<11> Instead of gcc -L. 1.a 2.a 3.a -lsomething -lsomething2 -lsomething3 etcc.
<11> Yes
<11> Results in umpteen million unresolved symbols
<10> that's a lot
<11> Well, really undefined references
<12> update your crle or LD_LIBRARY_PATH
<11> LD_LIBRARY_PATH only takes only link objects I thought....
<11> THe problem is these binaries are all statically linked
<11> So it's smooshing all of the library files in ar files and the .o from the previous steps into one big binary.
<11> ANd there is where my gcc abilities fall down
<13> my eyes!
<14> Zend Platform is an interesting tool.
<15> I don't know much about hp-ux hardware. Would program/binary in regular hp-ux server para-risc 9000 run in hp-ux visualize J5000 workstation?
<13> Mouring: their IDE?
<10> racoon2: try #oclug on irc.oftc.net, some HP pa-riscguys there.
<14> no this is there compiling/optimizer/analysision tool.
<13> last time i tried that i did not like it, it was very flakey..
<13> oh yes, ive heard that php is made slow on purpose, so that zend can sell their optimizers and such...
<14> This is interesting since it will tell you how long scripts run... if you have slow SQLs, flags PHP errors, SQL errors or slow functions.
<13> there are free php accelerators out there too..
<13> hrm..
<14> this is more than an accelerator.
<13> more of a debugger and perf analysis tool?
<14> It integrates with their debugger.. but more of a perf analysis tool along with the tool to cache the PHP compiling/optimizer
<13> personally, i have no need for such a tool, as my code is too small. i know where there is slowdown and why, usually its database related.
<14> so you don't have to re-compile every time.
<14> what is a killer is the software is time based... so for a single CPU it costs almost $1k per year, but that includes full support and all upgrades.
<13> yeah, i found out the zend stuff is quite expensive when looking for an encoder
<14> ermm... we need to audit this database.. we are mixing signed and unsigned for Foriegn key references.
<16> hello eveyrbody
<16> when i run the this following command "ab -v 10 -n 500 -c 500 http://hostname/path"; i get this an error stating "apr_recv: Connection reset by peer (104)"
<16> any clue?
<12> in your tcp/ip network look up when happens when you flood servers with too many connections
<12> look/book
<15> what would happen to server tcp/ip ?
<17> have u tried lighttpd?
<10> this channel is king of recommending things not asked for
<13> Yashy: yes there are, and if you want to update, might as well go for 2.2
<13> and you can install both
<13> their dirs will be seperate
<13> what i like about the 2.2 conf is that its very modulized..
<10> I just need apache 2.* for subversion
<11> You doing SVN+DAV?
<10> RndPkt: going to try it
<18> anyone know how to lock an OSX workstation without using screensaver?
<11> Yashy: Does the mod_svn_dav work for Apache 2.2?
<11> The API is different IIRC for modules between 2.0 and 2.2
<10> only see 2.0 listed in http://svnbook.red-bean.com/en/1.0/ch06s04.html
<10> okie will try 2.0
<10> debating running on 2 ports, or move my 1.3 stuff over to 2.0
<11> Just move to 2.0
<11> Unless you're a license zealot, there's no reason not to.
<11> I'm going to bed


Name:

Comments:

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






Return to #unixhelp
or
Go to some related logs:

#stocks
#linuxhelp
lora_19
#firebird
#computers
#gamedev
program start before logon
#beginner
things to know about beginners bra
Offset: 00011c48



Home  |  disclaimer  |  contact  |  submit quotes