LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-29-2004, 04:48 PM   #1
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Rep: Reputation: 31
Question PidFile


Which is the purpose of this file?
ok , it has the PID but why it must be stored in a file?
 
Old 04-29-2004, 05:14 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
It's a good way for example for shell scripts so pid is written and later the script doesn't have to filter 'ps' output to get the process ID to kill it etc.
 
Old 04-29-2004, 05:59 PM   #3
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Mara
It's a good way for example for shell scripts so pid is written and later the script doesn't have to filter 'ps' output to get the process ID to kill it etc.
Only that?
 
Old 04-30-2004, 03:32 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
That's the most common way it is used
 
Old 04-30-2004, 04:18 PM   #5
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Original Poster
Rep: Reputation: 31
ok, i thought it could have more uses .....

thx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apache fails with pidfile error synaptical Debian 2 08-07-2005 09:22 AM
mldonkey pidfile? White R4bbit Debian 0 01-14-2004 06:05 PM


All times are GMT -5. The time now is 07:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration