LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2004, 06:39 PM   #1
Zac2003
Member
 
Registered: Feb 2003
Posts: 35

Rep: Reputation: 15
how to find all files with pid


Ok.

anyone know the name of the utility in linux and freebsd that will show you EVERY file and directory associated with a certain PID? If so I can run one of the qmail pid's and find out which user on my server is running a script that is sending spam from my server through apache!!

thanks in advance.

Zac
 
Old 10-26-2004, 06:43 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Have a close look at lsof



Cheers,
Tink
 
Old 10-27-2004, 09:44 PM   #3
Zac2003
Member
 
Registered: Feb 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Have a close look at lsof



Cheers,
Tink
your exactly right I can not remember it for my life, next time he pulls that spam shit i'll be ready.

thanks a million, Zac
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find out heap size for a PID luexiong Linux - General 1 03-29-2005 09:40 AM
/var/run/[XXX].pid - Tcl pid code liguorir Linux - Software 1 05-20-2004 10:32 PM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 08:05 PM
Please help - Unpridictable results from grep/ps to find pid nharnwal Solaris / OpenSolaris 1 12-10-2003 08:28 PM
How to find the pid to stop a process.... vous Linux - Networking 6 08-14-2003 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:41 AM.

Main Menu
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
Open Source Consulting | Domain Registration