-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Aero AIO: netstat plugin

   2.0.5  

Karamba

Score 66%
Aero AIO: netstat plugin
zoom


Aero AIO: netstat plugin
zoom


Link:  http://
Downloads:  7260
Submitted:  Nov 29 2005
Updated:  May 28 2006

Description:

A plugin for Aero AIO that lists all processes connecting out of your computer

REQUIREMENTS: >= Aero AIO 0.9.1
>= Python 2.4

USAGE:
- Install the .aiz plugin via the Aero AIO config dialog
- The first column is the number of processes with the same name
- The second column is the port at which one of these processes is connecting out
- The third column is the name of the processes
- The fourth column is the IP address to which one of these processes is connecting
- You can adjust the update interval and font size in the config dialog. You can also ask the theme to use sudo to get a list of all processes, not just yours. You must add the appropriate permissions to /etc/sudoers (see config dialog)
- You can also ask the theme to not show processes connecting to localhost via the config dialog




Changelog:

ver 2.0.5
- Fixed a bug in the regexp

ver 2.0.4
- Use Aero AIO 0.9.1 API

ver 2.0.3
- Small change to the regexp to make it more robust. Fixes bug reported by jayenell

ver 2.0.2
- Fixed a bug in the reg-exps. I had assumed that process names consisted only of alpha-numeric characters. KDE uglification adds the period to some names. Changed to match on non space characters (\S)

ver 2.0.1
- Moved to the .aiz Aero AIO plugin format
ver 2.0.0
- Added optional display of IP addresses
- Added support for sudo to see all processes
- Moved the netstat output parsing code into the python script itself (should make for faster execution)

ver 1.0.1
- Added error handling code, should make error reporting easier for users




LicenseGPL
Send to a friend
Subscribe
Other  Artwork  from kovidgoyal
Report inappropriate content



-
.

 Useful!

 
 by stormrider1 on: Nov 29 2005
 
Score 50%

Well what can I add? Ur theme is the lighter and well done...........another welcomed plug.


Reply to this

-

 Re: Useful!

 
 by kovidgoyal on: Nov 29 2005
 
Score 50%

Thanks...I aim to please

Kovid.


Reply to this

-

 Little Problem

 
 by TanisInGentoo on: Nov 29 2005
 
Score 50%

I have a problem here: this is the output I get:

Traceback (most recent call last):
File "/home/tanis/Downloads/Karamba/Aero-AIO/aero_aio.py", line 276, in widgetUpdated
page.update(widget)
AttributeError: 'NoneType' object has no attribute 'update'


How can i solve it?

Thanks a lot!!


Reply to this

-

 Re: Little Problem

 
 by kovidgoyal on: Nov 29 2005
 
Score 50%

I need the error from the netstat_aio.py file to debug it. Start superkaramba like so
superkaramba > log 2>&1

Click the netstat icon, if the error occurs, killall superkaramba

Post the output of
grep -A10 netstat log

Thanks,

Kovid.


Reply to this

-

 Re: Re: Little Problem

 
 by kovidgoyal on: Nov 29 2005
 
Score 50%

Also could you run the netstat.sh file in the scripts directory and post the output


Reply to this

-

 Re: Re: Little Probl

 
 by TanisInGentoo on: Dec 1 2005
 
Score 50%

Forget it... It seems my fault. I reloaded the whole sk and redownloaded Aero-aio and now it works great.
Thanks a lot!


Reply to this

-

 so cool!

 
 by Superstoned on: Dec 9 2005
 
Score 50%

this is both usefull and cool! great job!


Reply to this

-

 Re: so cool!

 
 by kovidgoyal on: Dec 9 2005
 
Score 50%

Thanks...it's good to be appreciated


Reply to this

-
.

 clever idea

 
 by pantaray on: Feb 2 2006
 
Score 50%

just like the ps-plugin: very clever idea, great implementation, easy handling and useful - great!


Reply to this

-
.

 Re: clever idea

 
 by kovidgoyal on: Feb 2 2006
 
Score 50%

Thanks. For both ps and this, I've tried to keep it as clean and simple as possible.


Kovid
Reply to this

-
.

 Empty window

 
 by jayenell on: Apr 14 2006
 
Score 50%

Using SK 0.39, Python 2.4.3 and AERO AIO 0.8e

This seems like a great plugin, but it doesn not show anything. I'm using the latest version and I restarted SK allready. I also saw there is no .sh-script in the scripts directory, but if I understand your changelogcorrectly it should not be there anymore, so that's ok.

This is the output from the commandline:

Traceback (most recent call last):
File "/home/jayenell/.aero_aio/netstat_aio.py", line 111, in update
karamba.changeText(widget, self.data, self.readData())
File "/home/jayenell/.aero_aio/netstat_aio.py", line 72, in readData
res = self.pretty_pat.sub(self.prettyString, res) # Call self.prettyString for every match
File "/home/jayenell/.aero_aio/netstat_aio.py", line 100, in prettyString
count = self.rpad(str(self.processCounter[match.group(2)]), self.fields[2])
KeyError: '0'


Reply to this

-

 Re: Empty window

 
 by kovidgoyal on: Apr 14 2006
 
Score 50%

Hmm...looks like something in your process list is causing a problem. Can you add the following to ~/.aero_aio/netstat_aio.py

Above the line
res = self.pretty_pat.sub(self.prettyString, res) # Call self.prettyString for every match

add print "Result: ", res

Then post the output from running the command. If its a lot, you can email it to me: kovid at theory dot caltech dot edu


Kovid
Reply to this

-
.

 sudo access

 
 by LinuxRocks on: May 25 2006
 
Score 50%

Hello,

I added the correct line in /etc/sudoers file, but it is not working. I tried the cmd line in the script and added sudo -S to it and it returns my connections like it should on the command line, but the plugin is blank.

Any why to fix this?

Thanks!!!

Joe


Reply to this

-

 Re: sudo access

 
 by kovidgoyal on: May 25 2006
 
Score 50%

Does it work without sudo accesss? Can you run SK in a terminal and post the error output.


Kovid
Reply to this

-

 Re: Re: sudo access

 
 by LinuxRocks on: May 25 2006
 
Score 50%

When I run it from the command line, I get a whole lot of these:
Traceback (most recent call last):
File "/home/jgiles/.aero_aio/netstat_aio.py", line 119, in update
karamba.changeText(widget, self.data, self.readData())
File "/home/jgiles/.aero_aio/netstat_aio.py", line 80, in readData
res = self.pretty_pat.sub(self.prettyString, res) # Call self.prettyString for every match
File "/home/jgiles/.aero_aio/netstat_aio.py", line 108, in prettyString
count = self.rpad(str(self.processCounter[match.group(2)]), self.fields[2])
KeyError: '0'


Also, with sudo enabled, I get connections UNTIL I try to connect from a remote box to my box.

As an example, if I log into KDE, and start my mail client, I can see IMAP listing in the plugin. Also, if I ssh to my server, I see that as well.

Now, if I ssh from another box to the box I am on running superkaramba, then the netstat plugin just goes blank.

Everything is ok if I disable SUDO access. HOWEVER, I don't see some traffic that I would like to see.

Thanks!!!

Joe


Reply to this

-

 Re: Re: Re: sudo access

 
 by kovidgoyal on: May 28 2006
 
Score 50%

Should be fixed in 2.0.5


Kovid
Reply to this

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.