I am relatively new to the cluster administration and shell scripting. I need help on a shell script which can help me determine how many cpu's over time, any particular ( or all registered users on a cluster ) are using. To generate data say over a period of week and list of users and their cpu usage.
Check for the file /var/log/pacct as this should have some or all the information that you need in it. It can be extracted using the "dump-acct" utility.
Or you could check and see if the sa command is available - but this can generate huge volumes of data.