-----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 Barnes" <[EMAIL PROTECTED]>
To: <beginners@perl.org>
> My apologies. I know this is a cross-platform group, and that is
> fine. However, if you are unable to understand simple Linux
> terminology, then it is doubtful that you can help answer my question.
> If the description is nonsense to you, then please don't waste your
> or my time in an apparent slam on my choice of operating systems. If
> your reply represents the general attitude of this list, then it looks
> like I've come to the wrong place for assistance.
>
> But, to simplify my request, a pid is a process id. In Linux, the command
> 'ps' will give a listing of process IDs.
> I need the script to determine its own pid, then write that to a file.
>
> Thanks,
> Michael
I find THIS email pretty rude.
There is nothing inherently Unix specific about finding the process
id, writing it into a file (in whatever format) and possibly deleting
it when the script exits. If you said what you wanted to acomplish,
you'd get a help much sooner. And where did you find any slam of your
OS choice is beyond me.
If this is your general attitude in mailing lists I would not be
surprised if you had to change lists quite often.
Jenda
http://perl.plover.com/Questions.html
== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think? :-)
-- Larry Wall in <[EMAIL PROTECTED]>
Interesting. I post a question looking for assistance. I am promptly
chastised for my terminology, then told what I am trying to do is nonsense, and
I'M the rude one?
Well, let's see. In my original post, I said "I need to have my script create
a pidfile." and "I need my script to create a pidfile when it starts." That is
what I need to accomplish. I thought it was pretty clear.
Instead of assistance, I'm told "your post is heavy with Unix terminology." I
guess that the terms "pid" "pidfile" and "ps" are only used by very deeply
experienced Unix programmers. But, Jenda says "There is nothing inherently
Unix specific about finding the process
id, writing it into a file", so it is unclear whether the terms "pid" "pidfile"
are "heavy Unix terminology" or not.
As far as "where did you find any slam of your OS choice is beyond me",
apparently you didn't read the posts very well. First he says "your post is
heavy with Unix terminology.", which tells me he believes I am using Unix
(actually, I use Linux), then he says "'comparing the pid in the pidfile with
ps' is nonsense." So, I guess if he doesn't understand it, it is nonsense.
If I saw a request for help that was obviously involving a programming language
or OS I did not understand, I would simply ignore it and move on. I certainly
would not chastise the originator for using terms I personally do not
understand, and I definitely would not refer to functions as nonsense just be
cause I don't happen to be familiar with them.
I don't change lists very often. I am a member of quite a few mailing lists.
But I have never been treated like this on any list before. I guess my
original assumption was right, "This may be a bit advanced for a beginner's
group."
Michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/