-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Sun 4/27/2008 3:11 AM
To: Michael Barnes
Subject: RE: Creating PID file
Subject:RE: Creating PID file
Date sent: Sat, 26 Apr 2008 23:49:23 -0700
From: "Michael B
s.
I need the script to determine its own pid, then write that to a file.
Thanks,
Michael
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Sat 4/26/2008 6:49 PM
To: beginners@perl.org
Cc: Michael Barnes
Subject: Re: Creating PID file
Michael Barnes wrote:
>
>
This may be a bit advanced for a beginner's group, but I need to have my
script create a pidfile. I'm running a monitor app that keeps track of
what is running and notifies me when stuff stops. It does it by
comparing the pid in the pidfile with ps. So, I need my script to
create a pidfile when
I have a list of strings like this:
060001_000
060001_001
060001_002
060001_003
060001_004
070002_000
070002_001
070002_002
070002_003
070002_004
The position and value of the digits are significant.
The first two digits give me a channel, i.e. 06=channel 1, 07= channel
2, etc.
The sixth digit
[EMAIL PROTECTED] told me on 02/13/2008 10:34 AM:
> I've been going over some listings and I found code
>
> like the following:
>
>
>
> "./directory/file.txt" and
>
> "../directory/file.txt"
>
>
>
> but I've never seen the "./" and "../" things at the
>
> beginning of the path. I've trie
Chas. Owens told me on 02/12/2008 12:30 PM:
> On Feb 12, 2008 1:08 PM, Kashif Salman <[EMAIL PROTECTED]> wrote:
>> On Feb 12, 2008 9:58 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>>> On Feb 12, 2008 12:38 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
>>
Kashif Salman told me on 02/12/2008 09:31 AM:
> On Feb 12, 2008 6:51 AM, Michael Barnes <[EMAIL PROTECTED]> wrote:
>>
>> John W. Krahn told me on 02/11/2008 03:47 PM:
>>> Michael Barnes wrote:
>>>> I thought about using lstat to get the size of a file fo
John W. Krahn told me on 02/11/2008 03:47 PM:
> Michael Barnes wrote:
>> I thought about using lstat to get the size of a file for file
>> comparisons. I see that lstat always returns a list of thirteen values.
>> The references I find appear to require assignment of
I thought about using lstat to get the size of a file for file
comparisons. I see that lstat always returns a list of thirteen values.
The references I find appear to require assignment of those 13 values
to variables, even though I only want to use one.
Do I really have to put
($dev,$ino,$mode