@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> can you rephrase the question?
<1> yes, let me show you please
<1> <1> but all the time when i issue netstat -s
<1> <1> to check udp buffer size it always gives me like
<1> <1> Udp:
<1> <1> 1849106 packets received
<1> <1> 245 packets to unknown port received.
<1> <1> 167 packet receive errors
<1> <1> 1845692 packets sent
<1> <1> it doest not clear the stats
<0> so?
<1> I want to clear the stats
<0> just write down the number it was last time, and subtract it from the future value
<0> I don't know of any unix that provides a means to reset those counters. it'd be a completely pointless waste of an ioctl.
<2> uhh
<1> hmmm



<2> netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core]
<2> [-N system]
<2> Display system-wide statistics for each network protocol, for a
<2> particular protocol_family, or for a single protocol. If -s is
<2> repeated, counters with a value of zero are suppressed. If -z is
<2> also present, reset statistic counters after displaying them.
<2> i fell asleep at the keyboard
<2> but thats freebsd
<1> Figz, even after a reboot?
<0> lumpy, that figures
<1> I didn't get it
<1> sorry
<2> yeah
<0> dajuk, if you really want to reset those counters at will, go install freebsd
<0> then you're ready to roll
<2> hahaha
<1> in freebsd how do u reset
<1> i have used freebsd as well
<0> use -z, freebsd apparently added an ioctl with you in mind
<0> (or sysctl)
<1> alright
<2> uhm
<2> maybe im too asleep
<2> but if youre polling intermittently
<2> you just care about the delta dont you
<0> nooooooooooooooo
<1> wont a reboot help?
<0> you must use -z, that's what it's there for
<1> cant i do it in Linux?
<2> heheh
<0> who cares about linux? freebsd has -z
<2> obviously freebsd > openbsd
<1> :)
<2> and linux
<2> im going to go back to sleep now
<2> expect more spaces sent to the channel
<0> http://www.oxide.org/rude-cube.jpeg
<2> not foujnd
<0> try again
<2> you have a dirty mind
<3> kewl
<0> http://www.oxide.org/rude-cube2.jpeg <- that one's even worse
<3> had one of those once aswell
<3> figz stoled mine?
<0> ice spikes
<3> icedildo
<3> for mice
<4> brb
<5> ... how the hell that happen, figz?
<0> ac130, it's because water's very strange
<0> it's one of the few materials where the solid is actually less dense than the liquid
<0> it can make these spikes where you've got a very cold freezer, such that the main body of water can skin over with ice.. but the centre still wants to expand as it freezes
<0> so the water pushes a small hole in the outer skin, and continues gushing out.. but slowly enough that it continuously freezes at the sides forming a tube
<0> hence the spike grows from the bottom up, out of the water remaining at the centre of the cube
<0> pretty weird..
<5> hmmm, interesting.
<5> nice experiment to show the expansion properties of water as it freezes: take a piece of threaded black iron pipe, put an end cap on one end, fill with water, put endcap on other end, stick in the freezer
<5> and watch as unsuspecting party ****s their pants when they hear the loud BANG coming from the freezer.
<0> heh, or fail to drain your exterior plumbing in winter..
<5> yeah.
<6> Is there another software besides Cygwin that lets me forward X from the unix box to a Windows box ?



<0> I believe there's an xvnc..
<5> ...
<5> i cant remember the name of that one company that made software that let you run X on your doze box
<1> I'm using plesk 7.5.4, how to install squid proxy
<5> Xigy or something weird
<1> the problem is I can't find the squid.rpm for plesk
<1> each time I try to install from module manager always failed
<1> btw, anyone know why.. I can't connect via SSH to godaddy VPServer??
<1> Figz: bash question please :) how to time an entire pipe of commands in bash?
<0> personally I'd run the pipeline in a shell with a better time builtin (eg: zsh)
<1> i guess ash doesn't even have that command built-in, it's been referring to an external command
<0> but you can also use: time command |time command2 |time command3
<0> zsh gives you this:
<0> % time sleep 1 |sleep 2
<0> sleep 1 0.00s user 0.00s system 0% cpu 1.044 total
<0> sleep 2 0.00s user 0.00s system 0% cpu 2.084 total
<0> which I suspect is the sort of thing you wanted
<0> csh also has a relatively sophisticated time.. unfortunately it's one command that really benefits from being a builtin
<1> i don't so much have the option of zsh, as this is a router with busybox, with very little free memory
<1> but putting time in front of the pipped command worked.. thanks
<1> :)
<1> last question please
<1> i have problem if someone login in my VDS and then disconnect i still see that they are connected on box with "who" command
<1> is there a way to fix this?
<0> did they disconnect normally, or were they killed somehow?
<0> if their connection hasn't yet timed out, then it's just waiting to make sure they're gone
<0> if they were killed, then depending on the signal the system may not have been given a chance to clean up the utmp/wtmp files
<0> ie, kill -9 will keep the system from performing this maintenance
<0> (so use kill -TERM or such to log people out instead)
<1> there is like.. loged on pts/2
<1> and there is no such proccess pts/2
<1> on w
<1> there is good show me , but on who
<1> bad
<0> nearly always when people complain about this it's due to use of kill -9
<0> next most likely is network connection not yet timed out
<0> by the numbers, less likely still is the software is buggy, or is otherwise crashing before utmp gets cleaned up
<1> yeah.. i use kill -9 :) so there is no way that i remove them from who list?
<0> you can with a hex editor
<0> or you can start fresh
<1> how to start fresh?
<1> wouldnt I need to clean them before?
<1> but um wouldnt that reset itself (imean, get taken away from the 'who' list) after a while? like when cron runs its daily stuff or so? maby.
<1> Figz?
<1> :/
<0> nope, if you don't take action it won't be cleared until someone else logs in on that terminal
<0> to blank it outright just test -f /var/run/utmp && cp /dev/null /var/run/utmp
<0> (that'll leave everyone else currently on the system as super secret stealth logins)
<7> why cp /dev/null, touch isn't simplier?
<0> Church, rm and touch recreates the file, changing the inode.. which doesn't matter in this example, but one or the other may be prefered in other cases.
<8> using 'cp /dev/null' preserves the inode. This can be handy when rotation logs, and you can't shutdown the daemon during rotation
<8> for example, you can do something like: cp log oldlog; cp /dev/null log
<6> I'm having a problem with delete /backspace keys with cygwin
<6> they don't work
<9> "The swedish national TV station (funded by every household with a TV) ran a story based on an informant, basicly saying that the minister of justice was running errands for the white house. Ordering the takedown of the pirate bay even though prosecutors had already looked into it and found that they couldn't justify a takedown. The minister of justice and his departments actions are currently being investigated.
<9> thepiratebay.org back online, take that USA! :P
<10> are you an avid piratebay user?
<9> nope
<10> well then there is no joy for you anyhow?
<9> sure there is
<10> that is?
<9> read it again, maybe youll figure it out
<10> no, pirate bay is in breach of copyright
<10> if they aren't I retract my statement
<9> no it snot, there is no copyrighter material there
<9> just torrents
<10> ok then there is no problem.. I never used it though..
<11> pirate bay claim they are not in violation of swedish copyright law
<9> thats like saying your isp connection is illegal, because it allows you to download copyright music
<9> exactly, the whole thing is about USA pressuring other countries to do what it wants
<12> Hmm.. There is a difference between and ISP allowing you to download vs them giving you a link of sites where the material is and saying.. "Here is where it is. Have fun."
<13> eh
<12> In the first case the ISP isn't partispating... Where the second case they are a willing partner.
<13> something you experienced Mouring? :)


Name:

Comments:

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






Return to #unixhelp
or
Go to some related logs:

p.swf the song
#beginner
#politics
#worldcup
#microsoft
deviantart peachfuzz
#beginner
#windows
#politics undernet jews
#cph



Home  |  disclaimer  |  contact  |  submit quotes