Task | Required Privilege Class |
---|---|
Set accounting records on or off | System |
TSM accounting records show the server resources that are used during a session. This information lets you track resources that are used by a client node session. At installation, accounting defaults to OFF. You can set accounting to ON by entering:
set accounting on
When accounting is on, the server creates a session resource usage accounting record whenever a client node session ends.
Accounting records are stored in a file named dsmaccnt.log, which is located in the server directory. The accounting file contains text records that can be viewed directly or can be read into a spreadsheet program. The file remains opened while the server is running and accounting is set to ON. The file continues to grow until you delete it or prune old records from it. To close the file for pruning, either temporarily set accounting off or stop the server.
There are 31 fields, which are delimited by commas (,). Each record
ends with a new-line character. Each record contains the following
information:
Field | Contents |
---|---|
1 | Product version |
2 | Product sublevel |
3 | Product name, 'ADSM', |
4 | Date of accounting (mm/dd/yyyy) |
5 | Time of accounting (hh:mm:ss) |
6 | Node name of TSM client |
7 | Client owner name (UNIX) |
8 | Client Platform |
9 | Authentication method used |
10 | Communication method used for the session |
11 | Normal server termination indicator (Normal=X'01', Abnormal=X'00') |
12 | Number of archive store transactions requested during the session |
13 | Amount of archived files, in kilobytes, sent by the client to the server |
14 | Number of archive retrieve transactions requested during the session |
15 | Amount of space, in kilobytes, retrieved by archived objects |
16 | Number of backup store transactions requested during the session |
17 | Amount of backup files, in kilobytes, sent by the client to the server |
18 | Number of backup retrieve transactions requested during the session |
19 | Amount of space, in kilobytes, retrieved by backed up objects |
20 | Amount of data, in kilobytes, communicated between the client node and the server during the session |
21 | Duration of the session, in seconds |
22 | Amount of idle wait time during the session, in seconds |
23 | Amount of communications wait time during the session, in seconds |
24 | Amount of media wait time during the session, in seconds |
25 | Client session type. A value of 1 or 4 indicates a general client session. A value of 5 indicates a client session that is running a schedule. |
26 | Number of space-managed store transactions requested during the session |
27 | Amount of space-managed data, in kilobytes, sent by the client to the server |
28 | Number of space-managed retrieve transactions requested during the session |
29 | Amount of space, in kilobytes, retrieved by space-managed objects |
30 | Product release |
31 | Product level |
The following shows a sample record:
3,8,ADSM,08/03/2000,16:26:37,node1,,AIX,1,Tcp/Ip,0,254,1713,0,0,47,1476,0,0,3316,960,27,5,1,4,0,0,0,0,7,2