Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Server information like network traffic etc. for console?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Kelofander
n00b
n00b
Posts: 28
Joined: Sat Jul 01, 2006 1:43 pm

Server information like network traffic etc. for console?

  • Quote

Post by Kelofander » Sat Jul 22, 2006 3:06 pm

Hi!

I wonder, how I get information like cpu usage (not top! only one line or so), hdd usage and network traffic without using a smnp, but using the terminal (ssh)?

I know this commands:
* watch x86info -mhz -> getting current CPU MHz (speedstepping)
* smartctl -A /dev/hda -> SMART information
* cat /proc/acpi/thermal_zone/THM0/temperature -> CPU temperature
* ifconfig -> current IP and summary of traffic
* df -h -> current hdd freespace

I think, there are many more tools, perhaps one ore two for cpu usage, hdd usage and network traffic

Thanks a lot!
Top
Shan
Guru
Guru
User avatar
Posts: 558
Joined: Tue Nov 04, 2003 7:16 pm
Location: /dev/null

  • Quote

Post by Shan » Sat Jul 22, 2006 3:16 pm

The command "w" will give you a printout of loadaverages, uptime, and whose logged in. I'm not sure what you can use for a printout of network information in the manner you describe (I assume you're wanting to use it in a script?). IPtraf is essentially a command line (ncurses) version of ethereal though.
{ NO -U } { STRIP }
{ TINY }
Top
Kelofander
n00b
n00b
Posts: 28
Joined: Sat Jul 01, 2006 1:43 pm

  • Quote

Post by Kelofander » Sat Jul 22, 2006 3:31 pm

Thanks... that is interesting... But not that, what I search for... But it's usefull for me, too

Thanks a lot!
Top
think4urs11
Bodhisattva
Bodhisattva
User avatar
Posts: 6659
Joined: Wed Jun 25, 2003 9:51 pm
Location: above the cloud

  • Quote

Post by think4urs11 » Sat Jul 22, 2006 3:47 pm

why not top?

Code: Select all

top -bn1 | grep Cpu
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Top
Kelofander
n00b
n00b
Posts: 28
Joined: Sat Jul 01, 2006 1:43 pm

  • Quote

Post by Kelofander » Sat Jul 22, 2006 3:57 pm

Think4UrS11 wrote:why not top?

Code: Select all

top -bn1 | grep Cpu
Only reason: I didn't know, that is usable by this way ;-)

I'm learning Linux, Gentoo and all tools (I need) step by step.

Thanks a lot!
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic