in reply to File Based Throttling

[localhost:~] merlyn% fuser fuser: Command not found.
So much for the "any unix" part. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: Re: File Based Throttling
by idsfa (Vicar) on Oct 17, 2003 at 16:44 UTC

    For the canonical definition of Unix, it's a required utility. atcroft is probably correct about the pathing issue.

    But then, you already knew that.


    Remember, when you stare long into the abyss, you could have been home eating ice cream.
Re: •Re: File Based Throttling
by atcroft (Abbot) on Oct 17, 2003 at 16:32 UTC

    My guess is that it may be on the system, but just not in the path. Tried it as well, and on my home linux machine, I found it as /sbin/fuser ; on Solaris 7 and 8 machines I have access to, it was /usr/sbin/fuser. YMMV, however.

      Nope, it's nowhere.
      [localhost:~] merlyn% man fuser No manual entry for fuser
      This is Mac OSX, which is Mach/BSD based, arguably more "unix" than Linux is, because there are parts that were sold under the Unix label, unlike Linux.

      fuser is definitely definitely not-portable. And there's really nothing portable to replace it, either.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

Re: •Re: File Based Throttling
by sweetblood (Prior) on Oct 17, 2003 at 17:11 UTC
    Even if you were to find fuser it is usually only available to root.

      Even if you were to find fuser it is usually only available to root.

      Er, that's not strictly true, any user can run fuser. I'm just a joe schmo user on a Solaris 9 box:

      [vek@alyssa - /home/vek]% fuser -u . .: 2053c(vek) 2017c(vek) 1351c(vek)
      -- vek --