dserban
Sep 22 2007, 09:38 AM
lsofThe author of the article below says he uses lsof most for getting network connection related information from a system, but netstat is just as useful and made specifically for this particular purpose. lsof will do more than network connections, though. It will also tell you what files the program has open in addition to unix sockets and libraries. Of course you could also get all this from /proc but lsof makes it nice and easy. 'of' is actually for 'open files'. http://dmiessler.com/study/nix/commands/lsof/or http://img231.imageshack.us/img231/5250/lsofhh8.pngYou can use lsof to find out what is using your sound card (if it's FireFox, it's probably some YouTube video or some such multimedia piece of embedded Flash): CODE lsof /dev/snd Other great commands you'll love: 'watch', 'strace', 'ltrace', 'iostat', 'vmstat', 'tcpdump', 'truss', 'netcat' (nc), 'wget'. http://en.wikipedia.org/wiki/Watch_(Unix)http://en.wikipedia.org/wiki/Stracehttp://en.wikipedia.org/wiki/Iostathttp://en.wikipedia.org/wiki/NetstatJust as useful or better network monitoring tools / options: iptraf: http://www.linuxhaxor.net/2007/08/27/iptra...ed-lan-monitor/itrace: http://www.linuxhaxor.net/2007/07/17/backt...ing-all-itrace/intrace: http://www.linuxhaxor.net/2007/07/16/backt...ng-all-intrace/tcptrack: http://www.linuxhaxor.net/2007/09/04/sniff...-with-tcptrack/_________________________________ http://dserban01.googlepages.com/linkedin....abap.basis.html
Reply
Similar Topics
Keywords : linux, handy, tool, unmount, due, open, files
- Internet Connection In Linux Through Mobile
(2)
[c/c++][linux] Linking With A -l Is Static Or Dynamic?
How will it effect distribution and portability? (0) It has been a long time since I coded in C/C++ and I can't seem to remember the exact mechanism
of linking. Say, I compiled and linked the source code given at SQLite quickstart guide (C
example in Write Programs That Use SQLite ) in Linux(Ubuntu) environment: g++ -o"SQLiteTest"
./sqlitetest.o -lsqlite3 It gives me a nice executable SQLiteTest and I can use it on my
system. But how would it fare when I distribute that code to someone else? Is the libsqlite3.*
statically packaged into SQLiteTest? or is it dynamically linked and the recipient of the prog....
Which Linux Version For Newbies?
Give your opinion (14) Hi, well i have been a windows user all my life, and I'm really satisfied with it. But from a
time know as a good programmer/user, I want to know what I'm missing(or not) from not using
linux, so for those who have a long time using it I would like you to ask a favor, if you could
recommend me the version that I should test. I don't understand when someone says to a newbie in
linux that is asking for a version to start, they say to them "well ubuntu(example) is a good
version to start", what are the real diference between the different types of linux. ....
Playing Two Wav Files Simultaneously In C#
(4) I have reached a dead-end, in trying to code the Audio Engine for the game - Bomber Man . The
current engine uses the native functions(waveOutOpen, waveOutWrite, etc) declared in Winmm.dll file.
While this allows me to play two sounds together (the Background music and the sound effects), it
causes frequent memory corruptions. For instance, it changes the value of an integer variable
located in a different and unrelated class. I spent hours trying to find out why the value was
constantly changing. When I disabled all the sounds, the problem didn't occur. I used a mo....
Why Linux?
(23) i have always wonder, what is so special about linux? why do people have linux? rather than windows
or mac? is it recommended that noobs like me /laugh.gif" style="vertical-align:middle"
emoid=":lol:" border="0" alt="laugh.gif" /> have an linux os? /rolleyes.gif"
style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />....
Need Some Help/advice On How To Restore Lost Files
(5) My problem is this. I had a photo loader software installed on my computer. This prog indexed a
couple of hondred photos I had. Yesterday I uninstalled the prog form my computer without
considering the posibility that the folder containing my photos would be deleted to which it did. My
question is this, what if I used system restore? would it restore my photos too? Or would it simply
restore just the prog files only?....
Linux Beginners - Tutorial On Editors In Linux.
(3) This is a simple tutorial on the editors in Linux. I use these 3 editors for programming on linux:
1. vi -- available in all Linux and unix box, used to edit 2. vim -- not in all Linux flavors
and it has got default coloring of key words feature, used to edit 3. view --Its used only to
view, recommended to use for viewing of system config files, as it should not get edited without
your notice. Following are the basic commands comes handy with these editors #Open a file for
edit $ vi test -- creates a file if file is not exist in the current director....
Linux For Beginners- Easy To Install
(10) Which Linux distru is for beginners and Easy to install?....
How To Copy File & Folders From Linux To Windows?.
(12) Many face problem while transfering file from Linux to windows and Vise versa. My solution for
this is "winscp405". Winscp is a windows freeware tool used to copy file from & to Linux machine.
To get this tool just google for " winscp405" tool and download this small package and install.
Enjoy working with Linux and windows /tongue.gif" style="vertical-align:middle" emoid=":P"
border="0" alt="tongue.gif" />....
How To Install Linux Suse
(1) QUOTE Installing Suse Linux 10.1 This article is a "walk-through" of how I've installed
and configured Suse Linux 10.1 on 5 machines. This will be updated as I find things that may be of
interest. Please do not contact me with tech support questions. You'll find people far more
qualified to answer any questions at the 2 forums listed below. At some time or another I've
found most of what I know of Suse there. I hope that you will find this information helpful in your
dealings with Suse 10.1. Suse Linux Community Suse Forums (Use the search functio....
My Review And Experiance Of Ubuntu Linux
(4) I have been using Ubuntu 7.10 for about a month now. My experiance began when I sent a request for a
free CD to be mailed to me. Several weeks later, it arrived, however I was reluctant at first to
install it, as there was much hassle when I attempted to install my BCM43xx wireless network drivers
for another distro, Suse. Although I had ran a server on Linux for a while previously, it was easy
to do as Linux automatically detected the wireless network card I was using. This was on an older
computer that I ran the server. On my current pc, a Dell Inspiron 1300 Laptop, a ....
Diablo 2 In Linux?
possible or not? (10) Hey! Sorry if this should be in the game forum, but it is about a game in Linux. And I need
help with it /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
so I thougt that it belongs to here. So.. Is it possible to install Diablo 2 on Linux using some
sort of patch, or any special software? Not just diablo. But other games too, that only works on
Windows. Thanks //Feelay....
Looking For Linux
2 choices that I will choose - make it easy to install and MAINTAIN (34) Ok I have tried Linux before, it was ok, until something with the kernel screwed up and it left me
with a command line interface that I didn't know what to do. I am looking for 2 different
distributions of Linux here, my first one is for: (Currently running Windows XP SP2) A computer
with 512 MB RAM Pentium 4 processor Internet Access GNOME or KDE desktop, doesn't matter Minimal
command line work!!! Absolutely no command line work when installing. I have tried
Ubuntu, it was easy enough. Anything easier than Ubuntu and I'll give it a try. M....
Freeware Dvd Authoring Tool
(2) I'm looking for a freeware program that can create DVDs which I can play on my standalone dvd
player. Nothing to complex, creating simple menus, converting to the right format (I do care about
quality, so being able to change some encoding settings is always welcome /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> ) and burning the disc is
more than enough.....
Could Linux Become The Dominant Os?
(12) According to the author's opinion, the answer is yes (he's a lawyer, from what I can tell).
http://www.theregister.co.uk/2007/08/17/triumph_of_linux/ The article also contains some
interesting facts about the devious ways in which Microsoft is trying to derail Linux, most recently
through vague legal threats to enforce patents against Linux distributors that it does not partner
with. Personally I think Linux could become the dominant OS, but many, many years from now.....
Psybnc - Howto
How to make a psyBNC on Linux (4) Installation First, fetch the latest source code from http://www.psybnc.at QUOTE cd wget
http://www.psybnc.at/download/beta/psyBNC-2.3.2-7.tar.gz tar -zxvf psyBNC-2.3.2-7.tar.gz cd psybnc
Configuration QUOTE make menuconfig Now go in `Bouncer Config', next set Listening
Port and Ip. Next select `User' Here you will be able to create a user for your bouncer.
You must set Ident, Realname and Password, and vhost too. So return to main menu, and choose exit.
When prompted for saving select Yes. Launching psyBNC QUOTE make ./p....
If You Have Some Private Files
(17) Hello everyone , Here in this post I will show you how to hide your private files and folders If
you have some private files and want to prevent others from seeing them you can follow these steps
to hide these private files First Step Create New Folder any where and rename it hold Alt key
and press 255 Now you will notice the folder has no name Second Step Now right click this folder
and select Properties then Customise then change icon and select invisiable icon for this folder you
will find 4 empty area icons all are fine Third Step Now move all your private ....
Keyboard Shortcut To Open Task Manager Directly
(5) Back in Windows XP if you were not on a domain CTRL + ALT +DEL would open up Task Manager. In
Windows Vista that key combination opens the secure desktop that allows you to do many more thing.
To directly to Task Manager, hit CTRL + ALT + ESC.....
What Made You Switch To Linux?
(60) I first tried Linux a few years ago, not because I was completely against Windows or anything like
that, but just because I had some free time on my hands. I started off with Mandrake 9.0 which was
very user friendly and Windows-like. After reading through a bunch of message boards and learning
which distros are good for what, I soon realized my current distro was great for Linux noobs. So
then I decided to try something a little more advanced like Slackware which I knew had a steep
learning curve. Since then I've been using Slackware as my main OS and couldn'....
Creating Executable Jar Files
(9) Dear Friends Today I will show you how to create an executable jar file. I do not know whether this
topic is introduced by any other member. Using this method one can build graphical user interface
program with java which will behave similar to Executable files i.e., the program can be started
with double clicks. It is an easy alternative. Otherwise to run a java program one has to run it
through comand prompt(in windows) using java command or by creating java executalbes which are very
difficult to make. So lets begin: Frist of all, we will....
Prove To Me That Linux Is Better (For Gaming)
For Gaming... :) (21) Ok here is a challenge to all the hardcore linux folks out there. I will greatly accept the switch
if it can be proven that Games will run as good under linux as they do under windows. Im a windows
guy at heart, but I do work on unix systems at work. Im a gamer, and that will never change. I had
switched over to linux about 4 years ago, and I couldnt play crap on linux without dual booting to
windows. (I think it was Wine emulation they were running under) Now have there been some
improvements in being able to play windows games smoothly on linux? If so, please let me....
How To Embed Swf Files In Joomla ?
(9) I want to embed some swf game files into my Joomla project, I've been at it for two hours and
haven't made much progress. I've tried making a new content item and placing ... but that
hasn't worked. I'm kind of stuck /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" /> Anyone familiar with Joomla or Mambo that may have some knowledge
regarding my issue?....
Get User Input From Vbscript For Batch Files
Get user input from vbscript (2) Hello, I didn't see a tutorial on this subject so i'll go ahead and do it. Long ago I used
batch file programming a quite a bit. I used vbscript files to get user input for the batch files.
So here is a simple example of using the 'call' command to call for the vbscript file which
should be in the same folder as the .bat file. in the batch file pretty much anywhere you can start
the vbscript, and call another .bat file- using @ to of course not echo the line of code - CODE
@ start /w wscript.exe userin.vbs @ call ~anyname.bat @ del ~anyname.bat....
Renaming Files (Using Excel Spreadsheet)
(20) Hi, I want to use filenames on my Excel Spreadsheet for the files I have in my folder. For example,
let's say I have these in a folder: Reportdummy.doc Charts102.xls DecemberGraphs.xls
TestScrap.txt etc... And I have this in my Excel spreadsheet: Report1.doc Charts.xls Graphs.xls
Scrap.txt etc... Is there an easy way for me to copy the cell's value to the file in that
folder? I want them to be copied exactly in that order. So far I have to do this manually (copy
from Excel, then rename and paste for each file). Thanks.....
What Language Is Linux Written In ?
(15) I''ve been wondering lately, what language is Linux written in? I'm interested in
this, because my friend and I are considering writing our own distro. I know, it sounds like a bit
of a feat, but one guy wrote MEPIS by playing with the Debian source code. I think the two of us
could do something similar. /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif'
/> ....
How To Play *.rm Files With Media Player
(12) How to play Real audio and video files (*.rm) with Windows Media player!? /blink.gif'
border='0' style='vertical-align:middle' alt='blink.gif' /> Because of competition between
Microsoft and Real Networks, Windows Media Player does not support Real audio and video files, and
real networks does not release any patch for WMP. But, Real has released a patch for other media
players. Now, I want learn you, how you can use this patch to play Real audio and video files. You
should have Windows Media Player and Real Player: 1- First go to sourceforge.net website and down....
Sharing Files In Windows Xp Home
I always get an "access denied mesage" (15) when trying to access another computer's shared files on my home network i recieve an error
message " is not accessable. You might not have permission to use this network resource. Contact
the administrator of this server to find out if you have access permissions. Access denied" anyone
know why I am getting this message?....
How To Transfer Files From One Computer To Another
(16) Hi friends, I have two computers both having windows XP pro operating system and i have
one LAN cable and i connected both computers through LAN terminals and i'm unable to transfer
data from both computers.So what setting i have to make for doing this? Thanks, sunny....
How To Hide Your Files In XP
hide doc and folders (18) In this tutorial i will show ou how to hide your documents or folders, but you have to remember
where it is! ok lets go! pick a file you want to hide from windows XP, to help you i will
hide a file "hidden.doc" in "C:" open command prompt: START>RUN>CMD you might find yourself in
your user directory. in the command prompt go into the directory of where your file is going to be
hidden. as my "hidden.doc" is in "C:" i will use "cd.." command to "change directory before" till
i get into my C: drive once your there use the attributes command on the file you ar....
Converting Flash Files To Gif
how to convert flash files to anim gif (7) i used swishmax to make simple flash animation. but then, i figured out for simple animations we
should use gif instead. this is to ensure wider compatibility with older browser or those who didnot
have flash installed (for security reasons, etc). so, anyone have a simple solution of coverting SWF
files to GIF files without compromising its quality?. thanks....
Looking for linux, handy, tool, unmount, due, open, files
|
|
Searching Video's for linux, handy, tool, unmount, due, open, files
|
advertisement
|
|