in reply to Re: Lightweight Solution To "Only 1 Process Running" On AIX (access)
in thread Lightweight Solution To "Only 1 Process Running" On AIX

tye,
Thanks but opening $0 for write access seems like a bad idea :-)

almut provided the /dev/null solution to do the same thing though.

Cheers - L~R

  • Comment on Re^2: Lightweight Solution To "Only 1 Process Running" On AIX (access)

Replies are listed 'Best First'.
Re^3: Lightweight Solution To "Only 1 Process Running" On AIX (access)
by almut (Canon) on May 01, 2009 at 18:10 UTC

    Actually, the /dev/null solution I initially suggested is a bad idea :)  because you could only ever have one such program per system...

Re^3: Lightweight Solution To "Only 1 Process Running" On AIX (access)
by tye (Sage) on May 01, 2009 at 17:11 UTC

    Based on your response, I'm guessing that you are thinking of ">", which is "write access and create/truncate". There are lots of other ways to get write access to a file.

    - tye