LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Network usage on a single device and log diving

Posted 09-27-2011 at 02:57 PM by sag47
Updated 09-29-2011 at 08:30 AM by sag47
Tags networking

I wanted to know the received network usage on a device in kB so this one liner was produced for the desired result.
Code:
while true; do y=`ifconfig eth0 | grep RX\ bytes| sed -e 's/.*bytes\://' -e 's/\ .*//'`; sleep 1; x=`ifconfig eth0 | grep RX\ bytes| sed -e 's/.*bytes\://' -e 's/\ .*//'`; echo $(((x-y)/1024)); done
Press Ctrl+C to stop analyzing the network traffic on that device.

Here's another one liner of me looking through multiple log locations.
...
Senior Member
Posted in Uncategorized
Views 624 Comments 0 sag47 is offline
Old

"File exists" - yeah duh...

Posted 09-27-2011 at 03:29 AM by Thor_2.0

Okay, so, using the prefix did'nt really work for binutils...upon the install, the installer comes back with "file exists", yea sure...

I tried to move the make to ram (in the ramfs) but the unpack sent the box into the mud...

Gave up for the day, got other stuff to fry now...
Senior Member
Posted in Uncategorized
Views 354 Comments 0 Thor_2.0 is offline
Old

Looking for the way in...

Posted 09-27-2011 at 02:39 AM by Thor_2.0

Hmm, it's been some time since last post, all because I dont really know what to configure/make/install first. I went for binutils because that's where LFS kicks off, but get compile errors...

nothing to do for all

...fair enough...maybe I did'nt use the right version. I used 2.14 for this. At the time of writing, the configure is working for 2.21.1 and I'm not in a positive mood about this. The thing is that the configure does end nicely, leaving a makefile behind...
Senior Member
Posted in Uncategorized
Views 7810 Comments 2 Thor_2.0 is offline
Old

namebench

Posted 09-24-2011 at 03:19 PM by rich_c

I've been playing around with namebench since reading a post about it on the Mepis community forums. A nifty tool! One thing I discovered that annoyed me slightly though, is that my home router (BT Home Hub) will not allow me to change it's default DNS servers. So, if I want to use the faster servers namebench identified I've got to configure on a per machine basis for everything on my home network... :-/ Oh well.
Member
Posted in Uncategorized
Views 399 Comments 0 rich_c is offline
Old

nothing to rant about

Posted 09-22-2011 at 11:52 AM by galen

really?
Member
Posted in Uncategorized
Views 339 Comments 0 galen is offline

  



All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration