Hi, > Am 25.11.2016 um 09:39 schrieb Sangmin Park <dorimosi...@gmail.com>: > > Hello, > > today I found -g option with qacct. > qacct -o -g prints a usage information like this web site > > https://wiki.duke.edu/display/SCSC/Checking+SGE+Usage > > I just want to know where the this group information comes from. > I think it comes from the general linux group file, /etc/group. > > UID and GID of A account is same. > So, when I command 'qacct' with -g option, the result includes A account > information. > But, I want to change GID of A account as a member of B group and I did. > And after then I typed 'qacct' with -g option, unfortunately, nothing change..
In the accounting file the UID and GID at time of execution of the job is recorded. And this information is honored by `qacct`. This won't change when you change the GID for a particular user afterwards. You would need a run of the accounting file through e.g. `sed` which changes the GID for several records inside (it's a plain text file). This recording done at execution time is also useful, in case an user is allowed to submit jobs under different GID. If it wouldn't be fixed in the file, you couldn't keep track which job from the user ran under which GID. The accounting file may be at the "$SGE_ROOT/default/common/accounting" location. -- Reuti > > I expected that the usage information of A account could be included in B > group information. > But, it's not. > > I don't know why.. > > --Sangmin > > > _______________________________________________ > users mailing list > users@gridengine.org > https://gridengine.org/mailman/listinfo/users _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users