Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 02 Aug 2015, 18:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
lsof 4.89C out, April 6, 2015
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
musher0


Joined: 04 Jan 2009
Posts: 5681
Location: Gatineau (Qc), Canada

PostPosted: Sun 10 May 2015, 20:39    Post subject:  lsof 4.89C out, April 6, 2015  

Hello.

Here is a pet archive of lsof 4.89C, published last April.

lsof is defined as a "an active file lister". File being understood here in the
linux sense, i.e.: everything is a file in linux... Wink

So lsof will list open internet connections as well as active lib's in RAM. Its
listing is more complete than a listing made with ps. Anyway, for add'l
info, the lsof web site is here.

Enjoy!

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 5681
Location: Gatineau (Qc), Canada

PostPosted: Sun 10 May 2015, 21:09    Post subject:  

Hello, all.

Here is an example of lsof listing active lib's with command line
Code:
lsof | grep so | more



The names of the fields are as follows:
COMMAND --- PID --- TID --- USER --- FD --- TYPE --- DEVICE --- SIZE/OFF --- NODE --- NAME
The name of the related executable appears in the first column to the left.

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Mon 11 May 2015, 02:31; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 5681
Location: Gatineau (Qc), Canada

PostPosted: Sun 10 May 2015, 22:13    Post subject:  

Almost forgot to mention...

I compiled my lsof pet above in PuppyPrecise 5.4.3. So it's a 32-bit exec,
plus it'll work on Puppies with glibc 2.15 or higher.

Also, before you ask: no particular configuration at compile time. Just
the required "./Configure" (lsof for linux is derived from unix, so the
compilation procedure is a little different), and "make".

I stripped the resulting executable with > strip --strip-unneeded lsof <.

Then I built the pet archive, copying the file hierarchy from a lsof-4.87
pet that I had produced earlier.

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0784s ][ Queries: 11 (0.0110s) ][ GZIP on ]