From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810196.tru64-unix-managers.marc@archive.invalid> From: monica () alpha ! qui ! uam ! es Date: Mon, 10 Feb 1997 15:31:53 +0000 To: tru64-unix-managers Subject: Accounting of CPU time X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810196 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