Accounting of CPU time

From: <monica_at_alpha.qui.uam.es>
Date: Mon, 10 Feb 1997 16:31:53 +0100

Dear managers,

We have an AlphaServer 8400 running DU4.0A. We are planing a resource policy
in which each user gets a limited amount of CPU time allocated. We also have a
job-scheduler installed and want our users to avoid running jobs interactively
and use our different batch queues. With all this in mind I have these
questions:

        1) There is a way to limit the CPU time used per command (using
        shell built-in commands), but to avoid users running jobs
        interactively, is there any command that limits the maximum CPU
        time used per login session?
        
        2) We have activated process accounting on the system, and have
        uncommented the following lines in adm's crontab:
        
        0 2 * * 0-6 /usr/sbin/acct/runacct > /usr/adm/acct/nite/fd2log &
        5 * * * * /usr/sbin/acct/ckpacct &
        0 4 1 * * /usr/sbin/acct/monacct &

        Now it seems that ckpacct is running (from time to time a new
        pacctN is created), but runacct has not changed none of the
        /usr/adm/acct/nite/* files. Any idea why this command does not
        work?
        
        3) Is there any accounting command that allowes us to learn about
        the total CPU time used by any user?
        
        4) The process accounting gives only information about the CPU
        time used, is there a way to stop a user from accesing the system,
        running jobs, etc... once his allocated CPU time is all used?

Any help about any of this points is welcomed!
Thank you in advance
Monica
Received on Mon Feb 10 1997 - 17:02:44 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT