385c84e9f8af3869997fc272def1c7105ecc0d86
[openafs.git] / src / afsmonitor / afsmon-labels.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 /*
11    Include file for the afsmonitor 
12
13    This file defines the following arrays:
14    fs_varNames  - file server variable names
15    fs_labels    - file server column label names (fs_varNames split into
16                   atmost 3 parts)
17    fs_categories - names of sections & groups into which file server 
18                    variables are categorized.
19    cm_varNames  - cache manager variable names
20    cm_labels    - cache manager column label names (cm_varNames split into
21                   atmost 3 parts)
22    cm_categories - names of sections & groups into which cache manager 
23                    variables are categorized.
24
25 -------------------------------------------------------------------------*/
26
27
28 /* File Server variable names */
29
30 char *fs_varNames[] = {
31 "numPerfCalls",         /* Performance Numbers */
32 "vcache_L_Entries",
33 "vcache_L_Allocs",
34 "vcache_L_Gets",
35 "vcache_L_Reads",
36 "vcache_L_Writes",
37 "vcache_S_Entries",
38 "vcache_S_Allocs",
39 "vcache_S_Gets",
40 "vcache_S_Reads",
41 "vcache_S_Writes",
42 "vcache_H_Entries",
43 "vcache_H_Gets",
44 "vcache_H_Replacements",
45 "dir_Buffers",
46 "dir_Calls",
47 "dir_IOs",
48 "rx_packetRequests",
49 "rx_noPackets_RcvClass",
50 "rx_noPackets_SendClass",
51 "rx_noPackets_SpecialClass",
52 "rx_socketGreedy",
53 "rx_bogusPacketOnRead",
54 "rx_bogusHost",
55 "rx_noPacketOnRead",
56 "rx_noPacketBuffersOnRead",
57 "rx_selects",
58 "rx_sendSelects",
59 "rx_packetsRead_RcvClass",
60 "rx_packetsRead_SendClass",
61 "rx_packetsRead_SpecialClass",
62 "rx_dataPacketsRead",
63 "rx_ackPacketsRead",
64 "rx_dupPacketsRead",
65 "rx_spuriousPacketsRead",
66 "rx_packetsSent_RcvClass",
67 "rx_packetsSent_SendClass",
68 "rx_packetsSent_SpecialClass",
69 "rx_ackPacketsSent",
70 "rx_pingPacketsSent",
71 "rx_abortPacketsSent",
72 "rx_busyPacketsSent",
73 "rx_dataPacketsSent",
74 "rx_dataPacketsReSent",
75 "rx_dataPacketsPushed",
76 "rx_ignoreAckedPacket",
77 "rx_totalRtt_Sec",
78 "rx_totalRtt_Usec",
79 "rx_minRtt_Sec",
80 "rx_minRtt_Usec",
81 "rx_maxRtt_Sec",
82 "rx_maxRtt_Usec",
83 "rx_nRttSamples",
84 "rx_nServerConns",
85 "rx_nClientConns",
86 "rx_nPeerStructs",
87 "rx_nCallStructs",
88 "rx_nFreeCallStructs",
89 "host_NumHostEntries",
90 "host_HostBlocks",
91 "host_NonDeletedHosts",
92 "host_HostsInSameNetOrSubnet",
93 "host_HostsInDiffSubnet",
94 "host_HostsInDiffNetwork",
95 "host_NumClients",
96 "host_ClientBlocks",    /* ",sysname_ID", has been junked */
97 "epoch",                        /* RPC Operation timings */
98 "FetchData_ops",
99 "FetchData_ops_ok",
100 "FetchData_sum",
101 "FetchData_sqr",
102 "FetchData_min",
103 "FetchData_max",
104 "FetchACL_ops",
105 "FetchACL_ops_ok",
106 "FetchACL_sum",
107 "FetchACL_sqr",
108 "FetchACL_min",
109 "FetchACL_max",
110 "FetchStatus_ops",
111 "FetchStatus_ops_ok",
112 "FetchStatus_sum",
113 "FetchStatus_sqr",
114 "FetchStatus_min",
115 "FetchStatus_max",
116 "StoreData_ops",
117 "StoreData_ops_ok",
118 "StoreData_sum",
119 "StoreData_sqr",
120 "StoreData_min",
121 "StoreData_max",
122 "StoreACL_ops",
123 "StoreACL_ops_ok",
124 "StoreACL_sum",
125 "StoreACL_sqr",
126 "StoreACL_min",
127 "StoreACL_max",
128 "StoreStatus_ops",
129 "StoreStatus_ops_ok",
130 "StoreStatus_sum",
131 "StoreStatus_sqr",
132 "StoreStatus_min",
133 "StoreStatus_max",
134 "RemoveFile_ops",
135 "RemoveFile_ops_ok",
136 "RemoveFile_sum",
137 "RemoveFile_sqr",
138 "RemoveFile_min",
139 "RemoveFile_max",
140 "CreateFile_ops",
141 "CreateFile_ops_ok",
142 "CreateFile_sum",
143 "CreateFile_sqr",
144 "CreateFile_min",
145 "CreateFile_max",
146 "Rename_ops",
147 "Rename_ops_ok",
148 "Rename_sum",
149 "Rename_sqr",
150 "Rename_min",
151 "Rename_max",
152 "Symlink_ops",
153 "Symlink_ops_ok",
154 "Symlink_sum",
155 "Symlink_sqr",
156 "Symlink_min",
157 "Symlink_max",
158 "Link_ops",
159 "Link_ops_ok",
160 "Link_sum",
161 "Link_sqr",
162 "Link_min",
163 "Link_max",
164 "MakeDir_ops",
165 "MakeDir_ops_ok",
166 "MakeDir_sum",
167 "MakeDir_sqr",
168 "MakeDir_min",
169 "MakeDir_max",
170 "RemoveDir_ops",
171 "RemoveDir_ops_ok",
172 "RemoveDir_sum",
173 "RemoveDir_sqr",
174 "RemoveDir_min",
175 "RemoveDir_max",
176 "SetLock_ops",
177 "SetLock_ops_ok",
178 "SetLock_sum",
179 "SetLock_sqr",
180 "SetLock_min",
181 "SetLock_max",
182 "ExtendLock_ops",
183 "ExtendLock_ops_ok",
184 "ExtendLock_sum",
185 "ExtendLock_sqr",
186 "ExtendLock_min",
187 "ExtendLock_max",
188 "ReleaseLock_ops",
189 "ReleaseLock_ops_ok",
190 "ReleaseLock_sum",
191 "ReleaseLock_sqr",
192 "ReleaseLock_min",
193 "ReleaseLock_max",
194 "GetStatistics_ops",
195 "GetStatistics_ops_ok",
196 "GetStatistics_sum",
197 "GetStatistics_sqr",
198 "GetStatistics_min",
199 "GetStatistics_max",
200 "GiveUpCallbacks_ops",
201 "GiveUpCallbacks_ops_ok",
202 "GiveUpCallbacks_sum",
203 "GiveUpCallbacks_sqr",
204 "GiveUpCallbacks_min",
205 "GiveUpCallbacks_max",
206 "GetVolumeInfo_ops",
207 "GetVolumeInfo_ops_ok",
208 "GetVolumeInfo_sum",
209 "GetVolumeInfo_sqr",
210 "GetVolumeInfo_min",
211 "GetVolumeInfo_max",
212 "GetVolumeStatus_ops",
213 "GetVolumeStatus_ops_ok",
214 "GetVolumeStatus_sum",
215 "GetVolumeStatus_sqr",
216 "GetVolumeStatus_min",
217 "GetVolumeStatus_max",
218 "SetVolumeStatus_ops",
219 "SetVolumeStatus_ops_ok",
220 "SetVolumeStatus_sum",
221 "SetVolumeStatus_sqr",
222 "SetVolumeStatus_min",
223 "SetVolumeStatus_max",
224 "GetRootVolume_ops",
225 "GetRootVolume_ops_ok",
226 "GetRootVolume_sum",
227 "GetRootVolume_sqr",
228 "GetRootVolume_min",
229 "GetRootVolume_max",
230 "CheckToken_ops",
231 "CheckToken_ops_ok",
232 "CheckToken_sum",
233 "CheckToken_sqr",
234 "CheckToken_min",
235 "CheckToken_max",
236 "GetTime_ops",
237 "GetTime_ops_ok",
238 "GetTime_sum",
239 "GetTime_sqr",
240 "GetTime_min",
241 "GetTime_max",
242 "NGetVolumeInfo_ops",
243 "NGetVolumeInfo_ops_ok",
244 "NGetVolumeInfo_sum",
245 "NGetVolumeInfo_sqr",
246 "NGetVolumeInfo_min",
247 "NGetVolumeInfo_max",
248 "BulkStatus_ops",
249 "BulkStatus_ops_ok",
250 "BulkStatus_sum",
251 "BulkStatus_sqr",
252 "BulkStatus_min",
253 "BulkStatus_max",
254 "XStatsVersion_ops",
255 "XStatsVersion_ops_ok",
256 "XStatsVersion_sum",
257 "XStatsVersion_sqr",
258 "XStatsVersion_min",
259 "XStatsVersion_max",
260 "GetXStats_ops",
261 "GetXStats_ops_ok",
262 "GetXStats_sum",
263 "GetXStats_sqr",
264 "GetXStats_min",
265 "GetXStats_max",
266 "FetchData_xfers",      /* Timings for some byte sized data transfer ops */
267 "FetchData_xfers_ok",
268 "FetchData_xfers_sum",
269 "FetchData_xfers_sqr",
270 "FetchData_xfers_min",
271 "FetchData_xfers_max",
272 "FetchData_xfers_Kbytes_sum",
273 "FetchData_xfers_bytes_min",
274 "FetchData_xfers_bytes_max",
275 "FetchData_xfers_bucket0",
276 "FetchData_xfers_bucket1",
277 "FetchData_xfers_bucket2",
278 "FetchData_xfers_bucket3",
279 "FetchData_xfers_bucket4",
280 "FetchData_xfers_bucket5",
281 "FetchData_xfers_bucket6",
282 "FetchData_xfers_bucket7",
283 "FetchData_xfers_bucket8",
284 "StoreData_xfers",
285 "StoreData_xfers_ok",
286 "StoreData_xfers_sum",
287 "StoreData_xfers_sqr",
288 "StoreData_xfers_min",
289 "StoreData_xfers_max",
290 "StoreData_xfers_Kbytes_sum",
291 "StoreData_xfers_bytes_min",
292 "StoreData_xfers_bytes_max",
293 "StoreData_xfers_bucket0",
294 "StoreData_xfers_bucket1",
295 "StoreData_xfers_bucket2",
296 "StoreData_xfers_bucket3",
297 "StoreData_xfers_bucket4",
298 "StoreData_xfers_bucket5",
299 "StoreData_xfers_bucket6",
300 "StoreData_xfers_bucket7",
301 "StoreData_xfers_bucket8"
302 };
303
304
305 /* File Server column labels */
306 /* Column labels are displayed in three rows. Each of the following strings
307 are separated by /s into three parts. */
308
309
310 char *fs_labels[] = {
311 "/num/PerfCalls",               /* Performance Numbers */
312 "/vcache/L_Entries",
313 "/vcache/L_Allocs",
314 "/vcache/L_Gets",
315 "/vcache/L_Reads",
316 "/vcache/L_Writes",
317 "/vcache/S_Entries",
318 "/vcache/S_Allocs",
319 "/vcache/S_Gets",
320 "/vcache/S_Reads",
321 "/vcache/S_Writes",
322 "/vcache/H_Entries",
323 "/vcache/H_Gets",
324 "/vcache/H_Replacements",
325 "/dir/Buffers",
326 "/dir/Calls",
327 "/dir/IOs",
328 "rx/packet/Requests",
329 "rx/noPackets/RcvClass",
330 "rx/noPackets/SendClass",
331 "rx/noPackets/SpecialClass",
332 "rx/socket/Greedy",
333 "rx/bogus/PktOnRead",
334 "rx/bogus/Host",
335 "rx/noPacket/OnRead",
336 "rx/noPacket/BuffsOnRead",
337 "rx/selects/",
338 "rx/send/Selects",
339 "rx/pktsRead/RcvClass",
340 "rx/pktsRead/SendClass",
341 "rx/pktsRead/SpecialClass",
342 "rx/data/PktsRead",
343 "rx/ack/PktsRead",
344 "rx/dup/PktsRead",
345 "rx/spurious/PktsRead",
346 "rx/pktsSent/RcvClass",
347 "rx/pktsSent/SendClass",
348 "rx/pktsSent/SpecialClass",
349 "rx/ack/PktsSent",
350 "rx/ping/PktsSent",
351 "rx/abort/PktsSent",
352 "rx/busy/PktsSent",
353 "rx/data/PktsSent",
354 "rx/data/PktsReSent",
355 "rx/data/PktsPushed",
356 "rx/ignore/AckedPkt",
357 "rx/total/Rtt_Sec",
358 "rx/total/Rtt_Usec",
359 "rx/min/Rtt_Sec",
360 "rx/min/Rtt_Usec",
361 "rx/max/Rtt_Sec",
362 "rx/max/Rtt_Usec",
363 "rx/nRtt/Samples",
364 "rx/nServer/Conns",
365 "rx/nClient/Conns",
366 "rx/nPeer/Structs",
367 "rx/nCall/Structs",
368 "rx/nFreeCall/Structs",
369 "host/NumHost/Entries",
370 "host/HostBlocks/",
371 "host/NonDeleted/Hosts",
372 "host/HostsIn/SameNetOrSubnet",
373 "host/HostsIn/DiffSubnet",
374 "host/HostsIn/DiffNetwork",
375 "host/NumClients/",
376 "host/Client/Blocks",   /* ",sysname_ID", has been junked */
377 "//epoch",                      /* RPC Operation timings */
378 "/FetchData/ops",
379 "/FetchData/ops_ok",
380 "/FetchData/sum (sec)",
381 "/FetchData/sqr (sec)",
382 "/FetchData/min (sec)",
383 "/FetchData/max (sec)",
384 "/FetchACL/ops",
385 "/FetchACL/ops_ok",
386 "/FetchACL/sum (sec)",
387 "/FetchACL/sqr (sec)",
388 "/FetchACL/min (sec)",
389 "/FetchACL/max (sec)",
390 "/FetchStatus/ops",
391 "/FetchStatus/ops_ok",
392 "/FetchStatus/sum (sec)",
393 "/FetchStatus/sqr (sec)",
394 "/FetchStatus/min (sec)",
395 "/FetchStatus/max (sec)",
396 "/StoreData/ops",
397 "/StoreData/ops_ok",
398 "/StoreData/sum (sec)",
399 "/StoreData/sqr (sec)",
400 "/StoreData/min (sec)",
401 "/StoreData/max (sec)",
402 "/StoreACL/ops",
403 "/StoreACL/ops_ok",
404 "/StoreACL/sum (sec)",
405 "/StoreACL/sqr (sec)",
406 "/StoreACL/min (sec)",
407 "/StoreACL/max (sec)",
408 "/StoreStatus/ops",
409 "/StoreStatus/ops_ok",
410 "/StoreStatus/sum (sec)",
411 "/StoreStatus/sqr (sec)",
412 "/StoreStatus/min (sec)",
413 "/StoreStatus/max (sec)",
414 "/RemoveFile/ops",
415 "/RemoveFile/ops_ok",
416 "/RemoveFile/sum (sec)",
417 "/RemoveFile/sqr (sec)",
418 "/RemoveFile/min (sec)",
419 "/RemoveFile/max (sec)",
420 "/CreateFile/ops",
421 "/CreateFile/ops_ok",
422 "/CreateFile/sum (sec)",
423 "/CreateFile/sqr (sec)",
424 "/CreateFile/min (sec)",
425 "/CreateFile/max (sec)",
426 "/Rename/ops",
427 "/Rename/ops_ok",
428 "/Rename/sum (sec)",
429 "/Rename/sqr (sec)",
430 "/Rename/min (sec)",
431 "/Rename/max (sec)",
432 "/Symlink/ops",
433 "/Symlink/ops_ok",
434 "/Symlink/sum (sec)",
435 "/Symlink/sqr (sec)",
436 "/Symlink/min (sec)",
437 "/Symlink/max (sec)",
438 "/Link/ops",
439 "/Link/ops_ok",
440 "/Link/sum (sec)",
441 "/Link/sqr (sec)",
442 "/Link/min (sec)",
443 "/Link/max (sec)",
444 "/MakeDir/ops",
445 "/MakeDir/ops_ok",
446 "/MakeDir/sum (sec)",
447 "/MakeDir/sqr (sec)",
448 "/MakeDir/min (sec)",
449 "/MakeDir/max (sec)",
450 "/RemoveDir/ops",
451 "/RemoveDir/ops_ok",
452 "/RemoveDir/sum (sec)",
453 "/RemoveDir/sqr (sec)",
454 "/RemoveDir/min (sec)",
455 "/RemoveDir/max (sec)",
456 "/SetLock/ops",
457 "/SetLock/ops_ok",
458 "/SetLock/sum (sec)",
459 "/SetLock/sqr (sec)",
460 "/SetLock/min (sec)",
461 "/SetLock/max (sec)",
462 "/ExtendLock/ops",
463 "/ExtendLock/ops_ok",
464 "/ExtendLock/sum (sec)",
465 "/ExtendLock/sqr (sec)",
466 "/ExtendLock/min (sec)",
467 "/ExtendLock/max (sec)",
468 "/ReleaseLck/ops",
469 "/ReleaseLck/ops_ok",
470 "/ReleaseLck/sum (sec)",
471 "/ReleaseLck/sqr (sec)",
472 "/ReleaseLck/min (sec)",
473 "/ReleaseLck/max (sec)",
474 "/GetStats/ops",
475 "/GetStats/ops_ok",
476 "/GetStats/sum (sec)",
477 "/GetStats/sqr (sec)",
478 "/GetStats/min (sec)",
479 "/GetStats/max (sec)",
480 "/GiveUpCallbacks/ops",
481 "/GiveUpCallbacks/ops_ok",
482 "/GiveUpCallbacks/sum (sec)",
483 "/GiveUpCallbacks/sqr (sec)",
484 "/GiveUpCallbacks/min (sec)",
485 "/GiveUpCallbacks/max (sec)",
486 "/GetVolInfo/ops",
487 "/GetVolInfo/ops_ok",
488 "/GetVolInfo/sum (sec)",
489 "/GetVolInfo/sqr (sec)",
490 "/GetVolInfo/min (sec)",
491 "/GetVolInfo/max (sec)",
492 "/GetVolStatus/ops",
493 "/GetVolStatus/ops_ok",
494 "/GetVolStatus/sum (sec)",
495 "/GetVolStatus/sqr (sec)",
496 "/GetVolStatus/min (sec)",
497 "/GetVolStatus/max (sec)",
498 "/SetVolStatus/ops",
499 "/SetVolStatus/ops_ok",
500 "/SetVolStatus/sum (sec)",
501 "/SetVolStatus/sqr (sec)",
502 "/SetVolStatus/min (sec)",
503 "/SetVolStatus/max (sec)",
504 "/GetRootVol/ops",
505 "/GetRootVol/ops_ok",
506 "/GetRootVol/sum (sec)",
507 "/GetRootVol/sqr (sec)",
508 "/GetRootVol/min (sec)",
509 "/GetRootVol/max (sec)",
510 "/CheckToken/ops",
511 "/CheckToken/ops_ok",
512 "/CheckToken/sum (sec)",
513 "/CheckToken/sqr (sec)",
514 "/CheckToken/min (sec)",
515 "/CheckToken/max (sec)",
516 "/GetTime/ops",
517 "/GetTime/ops_ok",
518 "/GetTime/sum (sec)",
519 "/GetTime/sqr (sec)",
520 "/GetTime/min (sec)",
521 "/GetTime/max (sec)",
522 "/NGetVolInfo/ops",
523 "/NGetVolInfo/ops_ok",
524 "/NGetVolInfo/sum (sec)",
525 "/NGetVolInfo/sqr (sec)",
526 "/NGetVolInfo/min (sec)",
527 "/NGetVolInfo/max (sec)",
528 "/BulkStatus/ops",
529 "/BulkStatus/ops_ok",
530 "/BulkStatus/sum (sec)",
531 "/BulkStatus/sqr (sec)",
532 "/BulkStatus/min (sec)",
533 "/BulkStatus/max (sec)",
534 "/XStatsVers/ops",
535 "/XStatsVers/ops_ok",
536 "/XStatsVers/sum (sec)",
537 "/XStatsVers/sqr (sec)",
538 "/XStatsVers/min (sec)",
539 "/XStatsVers/max (sec)",
540 "/GetXStats/ops",
541 "/GetXStats/ops_ok",
542 "/GetXStats/sum (sec)",
543 "/GetXStats/sqr (sec)",
544 "/GetXStats/min (sec)",
545 "/GetXStats/max (sec)",
546 "FetchData/xfers/",     /* Timings for some byte sized data transfer ops */
547 "FetchData/xfers/ok",
548 "FetchData/xfers/sum (sec)",
549 "FetchData/xfers/sqr (sec)",
550 "FetchData/xfers/min (sec)",
551 "FetchData/xfers/max (sec)",
552 "FetchData/xfers/sum(Kbytes)",
553 "FetchData/xfers/min(bytes)",
554 "FetchData/xfers/max(bytes)",
555 "FetchData/xfers/bucket0",
556 "FetchData/xfers/bucket1",
557 "FetchData/xfers/bucket2",
558 "FetchData/xfers/bucket3",
559 "FetchData/xfers/bucket4",
560 "FetchData/xfers/bucket5",
561 "FetchData/xfers/bucket6",
562 "FetchData/xfers/bucket7",
563 "FetchData/xfers/bucket8",
564 "StoreData/xfers/",
565 "StoreData/xfers/ok",
566 "StoreData/xfers/sum (sec)",
567 "StoreData/xfers/sqr (sec)",
568 "StoreData/xfers/min (sec)",
569 "StoreData/xfers/max (sec)",
570 "StoreData/xfers/sum(Kbytes)",
571 "StoreData/xfers/min(bytes)",
572 "StoreData/xfers/max(bytes)",
573 "StoreData/xfers/bucket0",
574 "StoreData/xfers/bucket1",
575 "StoreData/xfers/bucket2",
576 "StoreData/xfers/bucket3",
577 "StoreData/xfers/bucket4",
578 "StoreData/xfers/bucket5",
579 "StoreData/xfers/bucket6",
580 "StoreData/xfers/bucket7",
581 "StoreData/xfers/bucket8"
582 };
583
584 /* file server data classification */
585 /* Data is classified into sections and each section into one or more
586 groups. The integer after a section name specifies the number of groups
587 contained in it. The integers after a group name specify the starting and
588 ending positional indices to fs_varNames[]. Unimportant information
589 is placed at the end of the section. */
590
591 char *fs_categories[] = {
592 "PerfStats_section 5",
593 "VnodeCache_group 1 13",
594 "Directory_group 14 16",
595 "Rx_group 17 57",
596 "HostModule_group 58 65",
597 "misc_group 0 0",               /* numPerfCalls */
598 "RPCop_section 2",
599 "RPCopTimes_group 66 234",
600 "RPCopBytes_group 235 270"
601 };
602
603
604
605
606
607 /* Cache Manager variable names */
608
609 char *cm_varNames[] = {
610 "numPerfCalls",         /* Performance numbers for the cache manager */
611 "epoch",
612 "numCellsVisible",
613 "numCellsContacted",
614 "dlocalAccesses",
615 "vlocalAccesses",
616 "dremoteAccesses",
617 "vremoteAccesses",
618 "cacheNumEntries",
619 "cacheBlocksTotal",
620 "cacheBlocksInUse",
621 "cacheBlocksOrig",
622 "cacheMaxDirtyChunks",
623 "cacheCurrDirtyChunks",
624 "dcacheHits",
625 "vcacheHits",
626 "dcacheMisses",
627 "vcacheMisses",
628 "cacheFlushes",
629 "cacheFilesReused",
630 "vcacheXAllocs",
631 "dcacheXAllocs",
632 "bufAlloced",
633 "bufHits",
634 "bufMisses",
635 "bufFlushDirty",
636 "LargeBlocksActive",
637 "LargeBlocksAlloced",
638 "SmallBlocksActive",
639 "SmallBlocksAlloced",
640 "OutStandingMemUsage",
641 "OutStandingAllocs",
642 "CallBackAlloced",
643 "CallBackFlushes",
644 "srvRecords",
645 "srvNumBuckets",
646 "srvMaxChainLength",
647 "srvMaxChainLengthHWM",
648 "srvRecordsHWM",
649 "sysName_ID",
650 "fs_sc_numTtlRecords",  /* file server server up/down stats for same cell */
651 "fs_sc_numUpRecords",
652 "fs_sc_numDownRecords",
653 "fs_sc_sumOfRecordAges",
654 "fs_sc_ageOfYoungestRecord",
655 "fs_sc_ageOfOldestRecord",
656 "fs_sc_numDowntimeIncidents",
657 "fs_sc_numRecordsNeverDown",
658 "fs_sc_maxDowntimesInARecord",
659 "fs_sc_sumOfDowntimes",
660 "fs_sc_shortestDowntime",
661 "fs_sc_longestDowntime",
662 "fs_sc_down_0_10_min",
663 "fs_sc_down_10_30_min",
664 "fs_sc_down_half_1_hr",
665 "fs_sc_down_1_2_hr",
666 "fs_sc_down_2_4_hr",
667 "fs_sc_down_4_8_hr",
668 "fs_sc_down_more_8_hr",
669 "fs_sc_downDst_0",
670 "fs_sc_downDst_1",
671 "fs_sc_downDst_2_5",
672 "fs_sc_downDst_6_10",
673 "fs_sc_downDst_10_50",
674 "fs_sc_downDst_more_50",
675 "fs_oc_numTtlRecords",  /* file server server up/down stats for other cells */
676 "fs_oc_numUpRecords",
677 "fs_oc_numDownRecords",
678 "fs_oc_sumOfRecordAges",
679 "fs_oc_ageOfYoungestRecord",
680 "fs_oc_ageOfOldestRecord",
681 "fs_oc_numDowntimeIncidents",
682 "fs_oc_numRecordsNeverDown",
683 "fs_oc_maxDowntimesInARecord",
684 "fs_oc_sumOfDowntimes",
685 "fs_oc_shortestDowntime",
686 "fs_oc_longestDowntime",
687 "fs_oc_down_0_10_min",
688 "fs_oc_down_10_30_min",
689 "fs_oc_down_half_1_hr",
690 "fs_oc_down_1_2_hr",
691 "fs_oc_down_2_4_hr",
692 "fs_oc_down_4_8_hr",
693 "fs_oc_down_more_8_hr",
694 "fs_oc_downDst_0",
695 "fs_oc_downDst_1",
696 "fs_oc_downDst_2_5",
697 "fs_oc_downDst_6_10",
698 "fs_oc_downDst_10_50",
699 "fs_oc_downDst_more_50",
700 "vl_sc_numTtlRecords",  /* vl server up/down stats for same cell */
701 "vl_sc_numUpRecords",
702 "vl_sc_numDownRecords",
703 "vl_sc_sumOfRecordAges",
704 "vl_sc_ageOfYoungestRecord",
705 "vl_sc_ageOfOldestRecord",
706 "vl_sc_numDowntimeIncidents",
707 "vl_sc_numRecordsNeverDown",
708 "vl_sc_maxDowntimesInARecord",
709 "vl_sc_sumOfDowntimes",
710 "vl_sc_shortestDowntime",
711 "vl_sc_longestDowntime",
712 "vl_sc_down_0_10_min",
713 "vl_sc_down_10_30_min",
714 "vl_sc_down_half_1_hr",
715 "vl_sc_down_1_2_hr",
716 "vl_sc_down_2_4_hr",
717 "vl_sc_down_4_8_hr",
718 "vl_sc_down_more_8_hr",
719 "vl_sc_downDst_0",
720 "vl_sc_downDst_1",
721 "vl_sc_downDst_2_5",
722 "vl_sc_downDst_6_10",
723 "vl_sc_downDst_10_50",
724 "vl_sc_downDst_more_50",
725 "vl_oc_numTtlRecords",  /* vl server up/down stats for other cells */
726 "vl_oc_numUpRecords",
727 "vl_oc_numDownRecords",
728 "vl_oc_sumOfRecordAges",
729 "vl_oc_ageOfYoungestRecord",
730 "vl_oc_ageOfOldestRecord",
731 "vl_oc_numDowntimeIncidents",
732 "vl_oc_numRecordsNeverDown",
733 "vl_oc_maxDowntimesInARecord",
734 "vl_oc_sumOfDowntimes",
735 "vl_oc_shortestDowntime",
736 "vl_oc_longestDowntime",
737 "vl_oc_down_0_10_min",
738 "vl_oc_down_10_30_min",
739 "vl_oc_down_half_1_hr",
740 "vl_oc_down_1_2_hr",
741 "vl_oc_down_2_4_hr",
742 "vl_oc_down_4_8_hr",
743 "vl_oc_down_more_8_hr",
744 "vl_oc_downDst_0",
745 "vl_oc_downDst_1",
746 "vl_oc_downDst_2_5",
747 "vl_oc_downDst_6_10",
748 "vl_oc_downDst_10_50",
749 "vl_oc_downDst_more_50",
750 "FetchData_ops",                /* File Serevr RPC Operation timings */
751 "FetchData_ops_ok",
752 "FetchData_ops_sum",
753 "FetchData_ops_sqr",
754 "FetchData_ops_min",
755 "FetchData_ops_max",
756 "FetchACL_ops",
757 "FetchACL_ops_ok",
758 "FetchACL_ops_sum",
759 "FetchACL_ops_sqr",
760 "FetchACL_ops_min",
761 "FetchACL_ops_max",
762 "FetchStatus_ops",
763 "FetchStatus_ops_ok",
764 "FetchStatus_ops_sum",
765 "FetchStatus_ops_sqr",
766 "FetchStatus_ops_min",
767 "FetchStatus_ops_max",
768 "StoreData_ops",
769 "StoreData_ops_ok",
770 "StoreData_ops_sum",
771 "StoreData_ops_sqr",
772 "StoreData_ops_min",
773 "StoreData_ops_max",
774 "StoreACL_ops",
775 "StoreACL_ops_ok",
776 "StoreACL_ops_sum",
777 "StoreACL_ops_sqr",
778 "StoreACL_ops_min",
779 "StoreACL_ops_max",
780 "StoreStatus_ops",
781 "StoreStatus_ops_ok",
782 "StoreStatus_ops_sum",
783 "StoreStatus_ops_sqr",
784 "StoreStatus_ops_min",
785 "StoreStatus_ops_max",
786 "RemoveFile_ops",
787 "RemoveFile_ops_ok",
788 "RemoveFile_ops_sum",
789 "RemoveFile_ops_sqr",
790 "RemoveFile_ops_min",
791 "RemoveFile_ops_max",
792 "CreateFile_ops",
793 "CreateFile_ops_ok",
794 "CreateFile_ops_sum",
795 "CreateFile_ops_sqr",
796 "CreateFile_ops_min",
797 "CreateFile_ops_max",
798 "Rename_ops",
799 "Rename_ops_ok",
800 "Rename_ops_sum",
801 "Rename_ops_sqr",
802 "Rename_ops_min",
803 "Rename_ops_max",
804 "Symlink_ops",
805 "Symlink_ops_ok",
806 "Symlink_ops_sum",
807 "Symlink_ops_sqr",
808 "Symlink_ops_min",
809 "Symlink_ops_max",
810 "Link_ops",
811 "Link_ops_ok",
812 "Link_ops_sum",
813 "Link_ops_sqr",
814 "Link_ops_min",
815 "Link_ops_max",
816 "MakeDir_ops",
817 "MakeDir_ops_ok",
818 "MakeDir_ops_sum",
819 "MakeDir_ops_sqr",
820 "MakeDir_ops_min",
821 "MakeDir_ops_max",
822 "RemoveDir_ops",
823 "RemoveDir_ops_ok",
824 "RemoveDir_ops_sum",
825 "RemoveDir_ops_sqr",
826 "RemoveDir_ops_min",
827 "RemoveDir_ops_max",
828 "SetLock_ops",
829 "SetLock_ops_ok",
830 "SetLock_ops_sum",
831 "SetLock_ops_sqr",
832 "SetLock_ops_min",
833 "SetLock_ops_max",
834 "ExtendLock_ops",
835 "ExtendLock_ops_ok",
836 "ExtendLock_ops_sum",
837 "ExtendLock_ops_sqr",
838 "ExtendLock_ops_min",
839 "ExtendLock_ops_max",
840 "ReleaseLock_ops",
841 "ReleaseLock_ops_ok",
842 "ReleaseLock_ops_sum",
843 "ReleaseLock_ops_sqr",
844 "ReleaseLock_ops_min",
845 "ReleaseLock_ops_max",
846 "GetStatistics_ops",
847 "GetStatistics_ops_ok",
848 "GetStatistics_ops_sum",
849 "GetStatistics_ops_sqr",
850 "GetStatistics_ops_min",
851 "GetStatistics_ops_max",
852 "GiveUpCallbacks_ops",
853 "GiveUpCallbacks_ops_ok",
854 "GiveUpCallbacks_ops_sum",
855 "GiveUpCallbacks_ops_sqr",
856 "GiveUpCallbacks_ops_min",
857 "GiveUpCallbacks_ops_max",
858 "GetVolumeInfo_ops",
859 "GetVolumeInfo_ops_ok",
860 "GetVolumeInfo_ops_sum",
861 "GetVolumeInfo_ops_sqr",
862 "GetVolumeInfo_ops_min",
863 "GetVolumeInfo_ops_max",
864 "GetVolumeStatus_ops",
865 "GetVolumeStatus_ops_ok",
866 "GetVolumeStatus_ops_sum",
867 "GetVolumeStatus_ops_sqr",
868 "GetVolumeStatus_ops_min",
869 "GetVolumeStatus_ops_max",
870 "SetVolumeStatus_ops",
871 "SetVolumeStatus_ops_ok",
872 "SetVolumeStatus_ops_sum",
873 "SetVolumeStatus_ops_sqr",
874 "SetVolumeStatus_ops_min",
875 "SetVolumeStatus_ops_max",
876 "GetRootVolume_ops",
877 "GetRootVolume_ops_ok",
878 "GetRootVolume_ops_sum",
879 "GetRootVolume_ops_sqr",
880 "GetRootVolume_ops_min",
881 "GetRootVolume_ops_max",
882 "CheckToken_ops",
883 "CheckToken_ops_ok",
884 "CheckToken_ops_sum",
885 "CheckToken_ops_sqr",
886 "CheckToken_ops_min",
887 "CheckToken_ops_max",
888 "GetTime_ops",
889 "GetTime_ops_ok",
890 "GetTime_ops_sum",
891 "GetTime_ops_sqr",
892 "GetTime_ops_min",
893 "GetTime_ops_max",
894 "NGetVolumeInfo_ops",
895 "NGetVolumeInfo_ops_ok",
896 "NGetVolumeInfo_ops_sum",
897 "NGetVolumeInfo_ops_sqr",
898 "NGetVolumeInfo_ops_min",
899 "NGetVolumeInfo_ops_max",
900 "BulkStatus_ops",
901 "BulkStatus_ops_ok",
902 "BulkStatus_ops_sum",
903 "BulkStatus_ops_sqr",
904 "BulkStatus_ops_min",
905 "BulkStatus_ops_max",
906 "XStatsVersion_ops",
907 "XStatsVersion_ops_ok",
908 "XStatsVersion_ops_sum",
909 "XStatsVersion_ops_sqr",
910 "XStatsVersion_ops_min",
911 "XStatsVersion_ops_max",
912 "GetXStats_ops",
913 "GetXStats_ops_ok",
914 "GetXStats_ops_sum",
915 "GetXStats_ops_sqr",
916 "GetXStats_ops_min",
917 "GetXStats_ops_max",
918 "FetchData_srv_err",    /* File Server RPC Error Info */
919 "FetchData_net_err",
920 "FetchData_prot_err_err",
921 "FetchData_vol_err",
922 "FetchData_busy_err",
923 "FetchData_other_err",
924 "FetchACL_srv_err",
925 "FetchACL_net_err",
926 "FetchACL_prot_err",
927 "FetchACL_vol_err",
928 "FetchACL_busy_err",
929 "FetchACL_other_err",
930 "FetchStatus_srv_err",
931 "FetchStatus_net_err",
932 "FetchStatus_prot_err",
933 "FetchStatus_vol_err",
934 "FetchStatus_busy_err",
935 "FetchStatus_other_err",
936 "StoreData_srv_err",
937 "StoreData_net_err",
938 "StoreData_prot_err",
939 "StoreData_vol_err",
940 "StoreData_busy_err",
941 "StoreData_other_err",
942 "StoreACL_srv_err",
943 "StoreACL_net_err",
944 "StoreACL_prot_err",
945 "StoreACL_vol_err",
946 "StoreACL_busy_err",
947 "StoreACL_other_err",
948 "StoreStatus_srv_err",
949 "StoreStatus_net_err",
950 "StoreStatus_prot_err",
951 "StoreStatus_vol_err",
952 "StoreStatus_busy_err",
953 "StoreStatus_other_err",
954 "RemoveFile_srv_err",
955 "RemoveFile_net_err",
956 "RemoveFile_prot_err",
957 "RemoveFile_vol_err",
958 "RemoveFile_busy_err",
959 "RemoveFile_other_err",
960 "CreateFile_srv_err",
961 "CreateFile_net_err",
962 "CreateFile_prot_err",
963 "CreateFile_vol_err",
964 "CreateFile_busy_err",
965 "CreateFile_other_err",
966 "Rename_srv_err",
967 "Rename_net_err",
968 "Rename_prot_err",
969 "Rename_vol_err",
970 "Rename_busy_err",
971 "Rename_other_err",
972 "Symlink_srv_err",
973 "Symlink_net_err",
974 "Symlink_prot_err",
975 "Symlink_vol_err",
976 "Symlink_busy_err",
977 "Symlink_other_err",
978 "Link_srv_err",
979 "Link_net_err",
980 "Link_prot_err",
981 "Link_vol_err",
982 "Link_busy_err",
983 "Link_other_err",
984 "MakeDir_srv_err",
985 "MakeDir_net_err",
986 "MakeDir_prot_err",
987 "MakeDir_vol_err",
988 "MakeDir_busy_err",
989 "MakeDir_other_err",
990 "RemoveDir_srv_err",
991 "RemoveDir_net_err",
992 "RemoveDir_prot_err",
993 "RemoveDir_vol_err",
994 "RemoveDir_busy_err",
995 "RemoveDir_other_err",
996 "SetLock_srv_err",
997 "SetLock_net_err",
998 "SetLock_prot_err",
999 "SetLock_vol_err",
1000 "SetLock_busy_err",
1001 "SetLock_other_err",
1002 "ExtendLock_srv_err",
1003 "ExtendLock_net_err",
1004 "ExtendLock_prot_err",
1005 "ExtendLock_vol_err",
1006 "ExtendLock_busy_err",
1007 "ExtendLock_other_err",
1008 "ReleaseLock_srv_err",
1009 "ReleaseLock_net_err",
1010 "ReleaseLock_prot_err",
1011 "ReleaseLock_vol_err",
1012 "ReleaseLock_busy_err",
1013 "ReleaseLock_other_err",
1014 "GetStatistics_srv_err",
1015 "GetStatistics_net_err",
1016 "GetStatistics_prot_err",
1017 "GetStatistics_vol_err",
1018 "GetStatistics_busy_err",
1019 "GetStatistics_other_err",
1020 "GiveUpCallbacks_srv_err",
1021 "GiveUpCallbacks_net_err",
1022 "GiveUpCallbacks_prot_err",
1023 "GiveUpCallbacks_vol_err",
1024 "GiveUpCallbacks_busy_err",
1025 "GiveUpCallbacks_other_err",
1026 "GetVolumeInfo_srv_err",
1027 "GetVolumeInfo_net_err",
1028 "GetVolumeInfo_prot_err",
1029 "GetVolumeInfo_vol_err",
1030 "GetVolumeInfo_busy_err",
1031 "GetVolumeInfo_other_err",
1032 "GetVolumeStatus_srv_err",
1033 "GetVolumeStatus_net_err",
1034 "GetVolumeStatus_prot_err",
1035 "GetVolumeStatus_vol_err",
1036 "GetVolumeStatus_busy_err",
1037 "GetVolumeStatus_other_err",
1038 "SetVolumeStatus_srv_err",
1039 "SetVolumeStatus_net_err",
1040 "SetVolumeStatus_prot_err",
1041 "SetVolumeStatus_vol_err",
1042 "SetVolumeStatus_busy_err",
1043 "SetVolumeStatus_other_err",
1044 "GetRootVolume_srv_err",
1045 "GetRootVolume_net_err",
1046 "GetRootVolume_prot_err",
1047 "GetRootVolume_vol_err",
1048 "GetRootVolume_busy_err",
1049 "GetRootVolume_other_err",
1050 "CheckToken_srv_err",
1051 "CheckToken_net_err",
1052 "CheckToken_prot_err",
1053 "CheckToken_vol_err",
1054 "CheckToken_busy_err",
1055 "CheckToken_other_err",
1056 "GetTime_srv_err",
1057 "GetTime_net_err",
1058 "GetTime_prot_err",
1059 "GetTime_vol_err",
1060 "GetTime_busy_err",
1061 "GetTime_other_err",
1062 "NGetVolumeInfo_srv_err",
1063 "NGetVolumeInfo_net_err",
1064 "NGetVolumeInfo_prot_err",
1065 "NGetVolumeInfo_vol_err",
1066 "NGetVolumeInfo_busy_err",
1067 "NGetVolumeInfo_other_err",
1068 "BulkStatus_srv_err",
1069 "BulkStatus_net_err",
1070 "BulkStatus_prot_err",
1071 "BulkStatus_vol_err",
1072 "BulkStatus_busy_err",
1073 "BulkStatus_other_err",
1074 "XStatsVersion_srv_err",
1075 "XStatsVersion_net_err",
1076 "XStatsVersion_prot_err",
1077 "XStatsVersion_vol_err",
1078 "XStatsVersion_busy_err",
1079 "XStatsVersion_other_err",
1080 "GetXStats_srv_err",
1081 "GetXStats_net_err",
1082 "GetXStats_prot_err",
1083 "GetXStats_vol_err",
1084 "GetXStats_busy_err",
1085 "GetXStats_other_err",
1086 "FetchData_xfers",      /* File Server RPC Transfer timings */
1087 "FetchData_xfers_ok",
1088 "FetchData_xfers_sum",
1089 "FetchData_xfers_sqr",
1090 "FetchData_xfers_min",
1091 "FetchData_xfers_max",
1092 "FetchData_Kbytes_sum",
1093 "FetchData_bytes_min",
1094 "FetchData_bytes_max",
1095 "FetchData_bytes_bucket0",
1096 "FetchData_bytes_bucket1",
1097 "FetchData_bytes_bucket2",
1098 "FetchData_bytes_bucket3",
1099 "FetchData_bytes_bucket4",
1100 "FetchData_bytes_bucket5",
1101 "FetchData_bytes_bucket6",
1102 "FetchData_bytes_bucket7",
1103 "FetchData_bytes_bucket8",
1104 "StoreData_xfers",
1105 "StoreData_xfers_ok",
1106 "StoreData_xfers_sum",
1107 "StoreData_xfers_sqr",
1108 "StoreData_xfers_min",
1109 "StoreData_xfers_max",
1110 "StoreData_Kbytes_sum",
1111 "StoreData_bytes_min",
1112 "StoreData_bytes_max",
1113 "StoreData_bytes_bucket0",
1114 "StoreData_bytes_bucket1",
1115 "StoreData_bytes_bucket2",
1116 "StoreData_bytes_bucket3",
1117 "StoreData_bytes_bucket4",
1118 "StoreData_bytes_bucket5",
1119 "StoreData_bytes_bucket6",
1120 "StoreData_bytes_bucket7",
1121 "StoreData_bytes_bucket8",
1122 "CallBack_ops",                 /* Cache Manager RPC Operation Timings */
1123 "CallBack_ops_ok",
1124 "CallBack_ops_sum",
1125 "CallBack_ops_sqr",
1126 "CallBack_ops_min",
1127 "CallBack_ops_max",
1128 "InitCallBackState_ops",
1129 "InitCallBackState_ops_ok",
1130 "InitCallBackState_ops_sum",
1131 "InitCallBackState_ops_sqr",
1132 "InitCallBackState_ops_min",
1133 "InitCallBackState_ops_max",
1134 "Probe_ops",
1135 "Probe_ops_ok",
1136 "Probe_ops_sum",
1137 "Probe_ops_sqr",
1138 "Probe_ops_min",
1139 "Probe_ops_max",
1140 "GetLock_ops",
1141 "GetLock_ops_ok",
1142 "GetLock_ops_sum",
1143 "GetLock_ops_sqr",
1144 "GetLock_ops_min",
1145 "GetLock_ops_max",
1146 "GetCE_ops",
1147 "GetCE_ops_ok",
1148 "GetCE_ops_sum",
1149 "GetCE_ops_sqr",
1150 "GetCE_ops_min",
1151 "GetCE_ops_max",
1152 "XStatsVersion_CM_ops",
1153 "XStatsVersion_CM_ops_ok",
1154 "XStatsVersion_CM_ops_sum",
1155 "XStatsVersion_CM_ops_sqr",
1156 "XStatsVersion_CM_ops_min",
1157 "XStatsVersion_CM_ops_max",
1158 "GetXStats_CM_ops",
1159 "GetXStats_CM_ops_ok",
1160 "GetXStats_CM_ops_sum",
1161 "GetXStats_CM_ops_sqr",
1162 "GetXStats_CM_ops_min",
1163 "GetXStats_CM_ops_max",
1164 "curr_PAGs",            /* Authentication information for CM */
1165 "curr_Records",
1166 "curr_AuthRecords",
1167 "curr_UnauthRecords",
1168 "curr_MaxRecordsInPAG",
1169 "curr_LongestChain",
1170 "PAGCreations",
1171 "TicketUpdates",
1172 "HWM_PAGS",
1173 "HWM_Records",
1174 "HWM_MaxRecordsInPAG",
1175 "HWM_LongestChain",
1176 "unreplicatedRefs",     /* [Un]replicated file accesses: */
1177 "replicatedRefs",
1178 "numReplicasAccessed",
1179 "maxReplicasPerRef",
1180 "refFirstReplicaOK"
1181 };
1182
1183 /* Cache Manager Column Labels */
1184
1185 char *cm_labels[] = {
1186 "/num/PerfCalls",               /* Performance numbers for the cache manager */
1187 "//epoch",
1188 "/numCells/Visible",
1189 "/numCells/Contacted",
1190 "/dlocal/Accesses",
1191 "/vlocal/Accesses",
1192 "/dremote/Accesses",
1193 "/vremote/Accesses",
1194 "cache/Num/Entries",
1195 "cache/Blocks/Total",
1196 "cache/Blocks/InUse",
1197 "cache/Blocks/Orig",
1198 "cache/MaxDirty/Chunks",
1199 "cache/CurrDirty/Chunks",
1200 "/dcache/Hits",
1201 "/vcache/Hits",
1202 "/dcache/Misses",
1203 "/vcache/Misses",
1204 "/cache/Flushes",
1205 "/cacheFiles/Reused",
1206 "/vcache/XAllocs",
1207 "/dcache/XAllocs",
1208 "/buf/Alloced",
1209 "/buf/Hits",
1210 "/buf/Misses",
1211 "/buf/FlushDirty",
1212 "Large/Blocks/Active",
1213 "Large/Blocks/Alloced",
1214 "Small/Blocks/Active",
1215 "Small/Blocks/Alloced",
1216 "Out/Standing/MemUsage",
1217 "Out/Standing/Allocs",
1218 "/CallBack/Alloced",
1219 "/CallBack/Flushes",
1220 "/srv/Records",
1221 "/srv/NumBuckets",
1222 "srv/MaxChain/Length",
1223 "srv/MaxChain/LengthHWM",
1224 "/srv/RecordsHWM",
1225 "//sysName_ID",
1226 "fs_sc/numTtl/Records", /* file server server up/down stats for same cell */
1227 "fs_sc/numUp/Records",
1228 "fs_sc/numDown/Records",
1229 "fs_sc/sumOf/RecordAges",
1230 "fs_sc/ageOf/YoungestRecord",
1231 "fs_sc/ageOf/OldestRecord",
1232 "fs_sc/numDowntime/Incidents",
1233 "fs_sc/numRecords/NeverDown",
1234 "fs_sc/maxDowntimes/InARecord",
1235 "fs_sc/sumOf/Downtimes",
1236 "fs_sc/shortest/Downtime",
1237 "fs_sc/longest/Downtime",
1238 "fs_sc/down/0_10_min",
1239 "fs_sc/down/10_30_min",
1240 "fs_sc/down/half_1_hr",
1241 "fs_sc/down/1_2_hr",
1242 "fs_sc/down/2_4_hr",
1243 "fs_sc/down/4_8_hr",
1244 "fs_sc/down/more_8_hr",
1245 "fs_sc/downDst_0/",
1246 "fs_sc/downDst/1",
1247 "fs_sc/downDst/2_5",
1248 "fs_sc/downDst/6_10",
1249 "fs_sc/downDst/10_50",
1250 "fs_sc/downDst/more_50",
1251 "fs_oc/numTtl/Records", /* file server server up/down stats for other cells */
1252 "fs_oc/numUp/Records",
1253 "fs_oc/numDown/Records",
1254 "fs_oc/sumOf/RecordAges",
1255 "fs_oc/ageOf/YoungestRecord",
1256 "fs_oc/ageOf/OldestRecord",
1257 "fs_oc/numDowntime/Incidents",
1258 "fs_oc/numRecords/NeverDown",
1259 "fs_oc/maxDowntimes/InARecord",
1260 "fs_oc/sumOf/Downtimes",
1261 "fs_oc/shortest/Downtime",
1262 "fs_oc/longest/Downtime",
1263 "fs_oc/down/0_10_min",
1264 "fs_oc/down/10_30_min",
1265 "fs_oc/down/half_1_hr",
1266 "fs_oc/down/1_2_hr",
1267 "fs_oc/down/2_4_hr",
1268 "fs_oc/down/4_8_hr",
1269 "fs_oc/down/more_8_hr",
1270 "fs_oc/downDst_0/",
1271 "fs_oc/downDst/1",
1272 "fs_oc/downDst/2_5",
1273 "fs_oc/downDst/6_10",
1274 "fs_oc/downDst/10_50",
1275 "fs_oc/downDst/more_50",
1276 "vl_sc/numTtl/Records", /* VL server up/down stats for same cell */
1277 "vl_sc/numUp/Records",
1278 "vl_sc/numDown/Records",
1279 "vl_sc/sumOf/RecordAges",
1280 "vl_sc/ageOf/YoungestRecord",
1281 "vl_sc/ageOf/OldestRecord",
1282 "vl_sc/numDowntime/Incidents",
1283 "vl_sc/numRecords/NeverDown",
1284 "vl_sc/maxDowntimes/InARecord",
1285 "vl_sc/sumOf/Downtimes",
1286 "vl_sc/shortest/Downtime",
1287 "vl_sc/longest/Downtime",
1288 "vl_sc/down/0_10_min",
1289 "vl_sc/down/10_30_min",
1290 "vl_sc/down/half_1_hr",
1291 "vl_sc/down/1_2_hr",
1292 "vl_sc/down/2_4_hr",
1293 "vl_sc/down/4_8_hr",
1294 "vl_sc/down/more_8_hr",
1295 "vl_sc/downDst_0/",
1296 "vl_sc/downDst/1",
1297 "vl_sc/downDst/2_5",
1298 "vl_sc/downDst/6_10",
1299 "vl_sc/downDst/10_50",
1300 "vl_sc/downDst/more_50",
1301 "vl_dc/numTtl/Records", /* VL server up/down stats for other cells */
1302 "vl_dc/numUp/Records",
1303 "vl_dc/numDown/Records",
1304 "vl_dc/sumOf/RecordAges",
1305 "vl_dc/ageOf/YoungestRecord",
1306 "vl_dc/ageOf/OldestRecord",
1307 "vl_dc/numDowntime/Incidents",
1308 "vl_dc/numRecords/NeverDown",
1309 "vl_dc/maxDowntimes/InARecord",
1310 "vl_dc/sumOf/Downtimes",
1311 "vl_dc/shortest/Downtime",
1312 "vl_dc/longest/Downtime",
1313 "vl_dc/down/0_10_min",
1314 "vl_dc/down/10_30_min",
1315 "vl_dc/down/half_1_hr",
1316 "vl_dc/down/1_2_hr",
1317 "vl_dc/down/2_4_hr",
1318 "vl_dc/down/4_8_hr",
1319 "vl_dc/down/more_8_hr",
1320 "vl_dc/downDst_0/",
1321 "vl_dc/downDst/1",
1322 "vl_dc/downDst/2_5",
1323 "vl_dc/downDst/6_10",
1324 "vl_dc/downDst/10_50",
1325 "vl_dc/downDst/more_50",
1326 "FetchData/ops/",               /* File Serevr RPC Operation timings */
1327 "FetchData/ops/ok",
1328 "FetchData/ops/sum (sec)",
1329 "FetchData/ops/sqr (sec)",
1330 "FetchData/ops/min (sec)",
1331 "FetchData/ops/max (sec)",
1332 "FetchACL/ops/",
1333 "FetchACL/ops/ok",
1334 "FetchACL/ops/sum (sec)",
1335 "FetchACL/ops/sqr (sec)",
1336 "FetchACL/ops/min (sec)",
1337 "FetchACL/ops/max (sec)",
1338 "FetchStatus/ops/",
1339 "FetchStatus/ops/ok",
1340 "FetchStatus/ops/sum (sec)",
1341 "FetchStatus/ops/sqr (sec)",
1342 "FetchStatus/ops/min (sec)",
1343 "FetchStatus/ops/max (sec)",
1344 "StoreData/ops/",
1345 "StoreData/ops/ok",
1346 "StoreData/ops/sum (sec)",
1347 "StoreData/ops/sqr (sec)",
1348 "StoreData/ops/min (sec)",
1349 "StoreData/ops/max (sec)",
1350 "StoreACL/ops/",
1351 "StoreACL/ops/ok",
1352 "StoreACL/ops/sum (sec)",
1353 "StoreACL/ops/sqr (sec)",
1354 "StoreACL/ops/min (sec)",
1355 "StoreACL/ops/max (sec)",
1356 "StoreStatus/ops/",
1357 "StoreStatus/ops/ok",
1358 "StoreStatus/ops/sum (sec)",
1359 "StoreStatus/ops/sqr (sec)",
1360 "StoreStatus/ops/min (sec)",
1361 "StoreStatus/ops/max (sec)",
1362 "RemoveFile/ops/",
1363 "RemoveFile/ops/ok",
1364 "RemoveFile/ops/sum (sec)",
1365 "RemoveFile/ops/sqr (sec)",
1366 "RemoveFile/ops/min (sec)",
1367 "RemoveFile/ops/max (sec)",
1368 "CreateFile/ops/",
1369 "CreateFile/ops/ok",
1370 "CreateFile/ops/sum (sec)",
1371 "CreateFile/ops/sqr (sec)",
1372 "CreateFile/ops/min (sec)",
1373 "CreateFile/ops/max (sec)",
1374 "Rename/ops/",
1375 "Rename/ops/ok",
1376 "Rename/ops/sum (sec)",
1377 "Rename/ops/sqr (sec)",
1378 "Rename/ops/min (sec)",
1379 "Rename/ops/max (sec)",
1380 "Symlink/ops/",
1381 "Symlink/ops/ok",
1382 "Symlink/ops/sum (sec)",
1383 "Symlink/ops/sqr (sec)",
1384 "Symlink/ops/min (sec)",
1385 "Symlink/ops/max (sec)",
1386 "Link/ops/",
1387 "Link/ops/ok",
1388 "Link/ops/sum (sec)",
1389 "Link/ops/sqr (sec)",
1390 "Link/ops/min (sec)",
1391 "Link/ops/max (sec)",
1392 "MakeDir/ops/",
1393 "MakeDir/ops/ok",
1394 "MakeDir/ops/sum (sec)",
1395 "MakeDir/ops/sqr (sec)",
1396 "MakeDir/ops/min (sec)",
1397 "MakeDir/ops/max (sec)",
1398 "RemoveDir/ops/",
1399 "RemoveDir/ops/ok",
1400 "RemoveDir/ops/sum (sec)",
1401 "RemoveDir/ops/sqr (sec)",
1402 "RemoveDir/ops/min (sec)",
1403 "RemoveDir/ops/max (sec)",
1404 "SetLock/ops/",
1405 "SetLock/ops/ok",
1406 "SetLock/ops/sum (sec)",
1407 "SetLock/ops/sqr (sec)",
1408 "SetLock/ops/min (sec)",
1409 "SetLock/ops/max (sec)",
1410 "ExtendLock/ops/",
1411 "ExtendLock/ops/ok",
1412 "ExtendLock/ops/sum (sec)",
1413 "ExtendLock/ops/sqr (sec)",
1414 "ExtendLock/ops/min (sec)",
1415 "ExtendLock/ops/max (sec)",
1416 "ReleaseLck/ops/",
1417 "ReleaseLck/ops/ok",
1418 "ReleaseLck/ops/sum (sec)",
1419 "ReleaseLck/ops/sqr (sec)",
1420 "ReleaseLck/ops/min (sec)",
1421 "ReleaseLck/ops/max (sec)",
1422 "GetStats/ops/",
1423 "GetStatcs/ops/ok",
1424 "GetStatcs/ops/sum (sec)",
1425 "GetStatcs/ops/sqr (sec)",
1426 "GetStatcs/ops/min (sec)",
1427 "GetStatcs/ops/max (sec)",
1428 "GiveUp/Callbacks/ops",
1429 "GiveUp/Callbacks/ops_ok",
1430 "GiveUp/Callbacks/ops_sum (sec)",
1431 "GiveUp/Callbacks/ops_sqr (sec)",
1432 "GiveUp/Callbacks/ops_min (sec)",
1433 "GiveUp/Callbacks/ops_max (sec)",
1434 "GetVolInfo/ops/",
1435 "GetVolInfo/ops/ok",
1436 "GetVolInfo/ops/sum (sec)",
1437 "GetVolInfo/ops/sqr (sec)",
1438 "GetVolInfo/ops/min (sec)",
1439 "GetVolInfo/ops/max (sec)",
1440 "GetVolStat/ops/",
1441 "GetVolStat/ops/ok",
1442 "GetVolStat/ops/sum (sec)",
1443 "GetVolStat/ops/sqr (sec)",
1444 "GetVolStat/ops/min (sec)",
1445 "GetVolStat/ops/max (sec)",
1446 "SetVolStat/ops/",
1447 "SetVolStat/ops_ok",
1448 "SetVolStat/ops/sum (sec)",
1449 "SetVolStat/ops/sqr (sec)",
1450 "SetVolStat/ops/min (sec)",
1451 "SetVolStat/ops/max (sec)",
1452 "GetRootVol/ops/",
1453 "GetRootVol/ops/ok",
1454 "GetRootVol/ops/sum (sec)",
1455 "GetRootVol/ops/sqr (sec)",
1456 "GetRootVol/ops/min (sec)",
1457 "GetRootVol/ops/max (sec)",
1458 "CheckToken/ops/",
1459 "CheckToken/ops/ok",
1460 "CheckToken/ops/sum (sec)",
1461 "CheckToken/ops/sqr (sec)",
1462 "CheckToken/ops/min (sec)",
1463 "CheckToken/ops/max (sec)",
1464 "GetTime/ops/",
1465 "GetTime/ops/ok",
1466 "GetTime/ops/sum (sec)",
1467 "GetTime/ops/sqr (sec)",
1468 "GetTime/ops/min (sec)",
1469 "GetTime/ops/max (sec)",
1470 "NGetVolInf/ops/",
1471 "NGetVolInf/ops/ok",
1472 "NGetVolInf/ops/sum (sec)",
1473 "NGetVolInf/ops/sqr (sec)",
1474 "NGetVolInf/ops/min (sec)",
1475 "NGetVolInf/ops/max (sec)",
1476 "BulkStatus/ops/",
1477 "BulkStatus/ops/ok",
1478 "BulkStatus/ops/sum (sec)",
1479 "BulkStatus/ops/sqr (sec)",
1480 "BulkStatus/ops/min (sec)",
1481 "BulkStatus/ops/max (sec)",
1482 "XStatsVers/ops/",
1483 "XStatsVers/ops/ok",
1484 "XStatsVers/ops/sum (sec)",
1485 "XStatsVers/ops/sqr (sec)",
1486 "XStatsVers/ops/min (sec)",
1487 "XStatsVers/ops/max (sec)",
1488 "GetXStats/ops",
1489 "GetXStats/ops/ok",
1490 "GetXStats/ops/sum (sec)",
1491 "GetXStats/ops/sqr (sec)",
1492 "GetXStats/ops/min (sec)",
1493 "GetXStats/ops/max (sec)",
1494 "/FetchData/srv_err",   /* File Server RPC Error Info */
1495 "/FetchData/net_err",
1496 "/FetchData/prot_err",
1497 "/FetchData/vol_err",
1498 "/FetchData/busy_err",
1499 "/FetchData/other_err",
1500 "/FetchACL/srv_err",
1501 "/FetchACL/net_err",
1502 "/FetchACL/prot_err",
1503 "/FetchACL/vol_err",
1504 "/FetchACL/busy_err",
1505 "/FetchACL/other_err",
1506 "Fetch/Status/srv_err",
1507 "Fetch/Status/net_err",
1508 "Fetch/Status/prot_err",
1509 "Fetch/Status/vol_err",
1510 "Fetch/Status/busy_err",
1511 "Fetch/Status/other_err",
1512 "/StoreData/srv_err",
1513 "/StoreData/net_err",
1514 "/StoreData/prot_err",
1515 "/StoreData/vol_err",
1516 "/StoreData/busy_err",
1517 "/StoreData/other_err",
1518 "/StoreACL/srv_err",
1519 "/StoreACL/net_err",
1520 "/StoreACL/prot_err",
1521 "/StoreACL/vol_err",
1522 "/StoreACL/busy_err",
1523 "/StoreACL/other_err",
1524 "Store/Status/srv_err",
1525 "Store/Status/net_err",
1526 "Store/Status/prot_err",
1527 "Store/Status/vol_err",
1528 "Store/Status/busy_err",
1529 "Store/Status/other_err",
1530 "/RemoveFile/srv_err",
1531 "/RemoveFile/net_err",
1532 "/RemoveFile/prot_err",
1533 "/RemoveFile/vol_err",
1534 "/RemoveFile/busy_err",
1535 "/RemoveFile/other_err",
1536 "/CreateFile/srv_err",
1537 "/CreateFile/net_err",
1538 "/CreateFile/prot_err",
1539 "/CreateFile/vol_err",
1540 "/CreateFile/busy_err",
1541 "/CreateFile/other_err",
1542 "/Rename/srv_err",
1543 "/Rename/net_err",
1544 "/Rename/prot_err",
1545 "/Rename/vol_err",
1546 "/Rename/busy_err",
1547 "/Rename/other_err",
1548 "/Symlink/srv_err",
1549 "/Symlink/net_err",
1550 "/Symlink/prot_err",
1551 "/Symlink/vol_err",
1552 "/Symlink/busy_err",
1553 "/Symlink/other",
1554 "/Link/srv_err",
1555 "/Link/net_err",
1556 "/Link/prot_err",
1557 "/Link/vol_err",
1558 "/Link/busy_err",
1559 "/Link/other_err",
1560 "/MakeDir/srv_err",
1561 "/MakeDir/net_err",
1562 "/MakeDir/prot_err",
1563 "/MakeDir/vol_err",
1564 "/MakeDir/busy_err",
1565 "/MakeDir/other_err",
1566 "/RemoveDir/srv_err",
1567 "/RemoveDir/net_err",
1568 "/RemoveDir/prot_err",
1569 "/RemoveDir/vol_err",
1570 "/RemoveDir/busy_err",
1571 "/RemoveDir/other_err",
1572 "/SetLock/srv_err",
1573 "/SetLock/net_err",
1574 "/SetLock/prot_err",
1575 "/SetLock/vol_err",
1576 "/SetLock/busy_err",
1577 "/SetLock/other_err",
1578 "/ExtendLock/srv_err",
1579 "/ExtendLock/net_err",
1580 "/ExtendLock/prot_err",
1581 "/ExtendLock/vol_err",
1582 "/ExtendLock/busy_err",
1583 "/ExtendLock/other_err",
1584 "Release/Lock/srv_err",
1585 "Release/Lock/net_err",
1586 "Release/Lock/prot_err",
1587 "Release/Lock/vol_err",
1588 "Release/Lock/busy_err",
1589 "Release/Lock/other_err",
1590 "Get/Statistics/srv_err",
1591 "Get/Statistics/net_err",
1592 "Get/Statistics/prot_err",
1593 "Get/Statistics/vol_err",
1594 "Get/Statistics/busy_err",
1595 "Get/Statistics/other_err",
1596 "GiveUp/Callbacks/srv_err",
1597 "GiveUp/Callbacks/net_err",
1598 "GiveUp/Callbacks/prot_err",
1599 "GiveUp/Callbacks/vol_err",
1600 "GiveUp/Callbacks/busy_err",
1601 "GiveUp/Callbacks/other_err",
1602 "Get/VolumeInfo/srv_err",
1603 "Get/VolumeInfo/net_err",
1604 "Get/VolumeInfo/prot_err",
1605 "Get/VolumeInfo/vol_err",
1606 "Get/VolumeInfo/busy_err",
1607 "Get/VolumeInfo_other_err",
1608 "Get/VolumeStatus/srv_err",
1609 "Get/VolumeStatus/net_err",
1610 "Get/VolumeStatus/prot_err",
1611 "Get/VolumeStatus/vol_err",
1612 "Get/VolumeStatus/busy_err",
1613 "Get/VolumeStatus/other_err",
1614 "Set/VolumeStatus/srv_err",
1615 "Set/VolumeStatus/net_err",
1616 "Set/VolumeStatus/prot_err",
1617 "Set/VolumeStatus/vol_err",
1618 "Set/VolumeStatus/busy_err",
1619 "Set/VolumeStatus/other_err",
1620 "Get/RootVolume/srv_err",
1621 "Get/RootVolume/net_err",
1622 "Get/RootVolume/prot_err",
1623 "Get/RootVolume/vol_err",
1624 "Get/RootVolume/busy_err",
1625 "Get/RootVolume/other_err",
1626 "/CheckToken/srv_err",
1627 "/CheckToken/net_err",
1628 "/CheckToken/prot_err",
1629 "/CheckToken/vol_err",
1630 "/CheckToken/busy_err",
1631 "/CheckToken/other_err",
1632 "/GetTime/srv_err",
1633 "/GetTime/net_err",
1634 "/GetTime/prot_err",
1635 "/GetTime/vol_err",
1636 "/GetTime/busy_err",
1637 "/GetTime/other_err",
1638 "NGet/VolumeInfo/srv_err",
1639 "NGet/VolumeInfo/net_err",
1640 "NGet/VolumeInfo/prot_err",
1641 "NGet/VolumeInfo/vol_err",
1642 "NGet/VolumeInfo/busy_err",
1643 "NGet/VolumeInfo/other_err",
1644 "Bulk/Status/srv_err",
1645 "Bulk/Status/net_err",
1646 "Bulk/Status/prot_err",
1647 "Bulk/Status/vol_err",
1648 "Bulk/Status/busy_err",
1649 "Bulk/Status/other_err",
1650 "XStats/Version/srv_err",
1651 "XStats/Version/net_err",
1652 "XStats/Version/prot_err",
1653 "XStats/Version/vol_err",
1654 "XStats/Version/busy_err",
1655 "XStats/Version/other_err",
1656 "/GetXStats/srv_err",
1657 "/GetXStats/net_err",
1658 "/GetXStats/prot_err",
1659 "/GetXStats/vol_err",
1660 "/GetXStats/busy_err",
1661 "/GetXStats/other_err",
1662 "FetchData/xfers/",     /* File Server RPC Transfer timings */
1663 "FetchData/xfers/ok",
1664 "FetchData/xfers/sum (sec)",
1665 "FetchData/xfers/sqr (sec)",
1666 "FetchData/xfers/min (sec)",
1667 "FetchData/xfers/max (sec)",
1668 "FetchData/xfers/sum(Kbytes)",
1669 "FetchData/xfers/min(bytes)",
1670 "FetchData/xfers/max(bytes)",
1671 "FetchData/bytes/bucket0",
1672 "FetchData/bytes/bucket1",
1673 "FetchData/bytes/bucket2",
1674 "FetchData/bytes/bucket3",
1675 "FetchData/bytes/bucket4",
1676 "FetchData/bytes/bucket5",
1677 "FetchData/bytes/bucket6",
1678 "FetchData/bytes/bucket7",
1679 "FetchData/bytes/bucket8",
1680 "StoreData/xfers/",
1681 "StoreData/xfers/ok",
1682 "StoreData/xfers/sum (sec)",
1683 "StoreData/xfers/sqr (sec)",
1684 "StoreData/xfers/min (sec)",
1685 "StoreData/xfers/max (sec)",
1686 "StoreData/xfers/sum(Kbytes)",
1687 "StoreData/xfers/min(bytes)",
1688 "StoreData/xfers/max(bytes)",
1689 "StoreData/bytes/bucket0",
1690 "StoreData/bytes/bucket1",
1691 "StoreData/bytes/bucket2",
1692 "StoreData/bytes/bucket3",
1693 "StoreData/bytes/bucket4",
1694 "StoreData/bytes/bucket5",
1695 "StoreData/bytes/bucket6",
1696 "StoreData/bytes/bucket7",
1697 "StoreData/bytes/bucket8",
1698 "CallBack/ops/",                /* Cache Manager RPC Operation Timings */
1699 "CallBack/ops/ok",
1700 "CallBack/ops/sum(sec)",
1701 "CallBack/ops/sqr(sec)",
1702 "CallBack/ops/min(sec)",
1703 "CallBack/ops/max(sec)",
1704 "InitCall/BackState/ops",
1705 "InitCall/BackState/ops_ok",
1706 "InitCall/BackState/ops_sum(sec)",
1707 "InitCall/BackState/ops_sqr(sec)",
1708 "InitCall/BackState/ops_min(sec)",
1709 "InitCall/BackState/ops_max(sec)",
1710 "Probe/ops/",
1711 "Probe/ops/ok",
1712 "Probe/ops/sum(sec)",
1713 "Probe/ops/sqr(sec)",
1714 "Probe/ops/min(sec)",
1715 "Probe/ops/max(sec)",
1716 "GetLock/ops/",
1717 "GetLock/ops/ok",
1718 "GetLock/ops/sum(sec)",
1719 "GetLock/ops/sqr(sec)",
1720 "GetLock/ops/min(sec)",
1721 "GetLock/ops/max(sec)",
1722 "GetCE/ops/",
1723 "GetCE/ops/ok",
1724 "GetCE/ops/sum(sec)",
1725 "GetCE/ops/sqr(sec)",
1726 "GetCE/ops/min(sec)",
1727 "GetCE/ops/max(sec)",
1728 "XStatsVers/CM_ops/",
1729 "XStatsVers/CM_ops/ok",
1730 "XStatsVers/CM_ops/sum(sec)",
1731 "XStatsVers/CM_ops/sqr(sec)",
1732 "XStatsVers/CM_ops/min(sec)",
1733 "XStatsVers/CM_ops/max(sec)",
1734 "GetXStats/CM_ops/",
1735 "GetXStats/CM_ops/ok",
1736 "GetXStats/CM_ops/sum(sec)",
1737 "GetXStats/CM_ops/sqr(sec)",
1738 "GetXStats/CM_ops/min(sec)",
1739 "GetXStats/CM_ops/max(sec)",
1740 "curr/PAGs/",           /* Authentication information for CM */
1741 "curr/Records/",
1742 "curr/Auth/Records",
1743 "curr/Unauth/Records",
1744 "curr/MaxRecords/InPAG",
1745 "curr/Longest/Chain",
1746 "PAG/Creations/",
1747 "Ticket/Updates/",
1748 "HWM/PAGS/",
1749 "HWM/Records/",
1750 "HWM/MaxRecords/InPAG",
1751 "HWM/Longest/Chain",
1752 "un/replicated/Refs",   /* [Un]replicated file accesses: */
1753 "/replicated/Refs",
1754 "num/Replicas/Accessed",
1755 "max/Replicas/PerRef",
1756 "ref/First/ReplicaOK"
1757 };
1758
1759
1760 /* Cache Manager data classification */
1761 /* Data is classified into sections and each section into one or more
1762 groups. The integer after a section name specifies the number of groups
1763 contained in it. The integers after a group name specify the starting and
1764 ending positional indices to fs_varNames[]. Unimportant information
1765 is placed at the end of the section. */
1766
1767 char *cm_categories[] = {
1768 "PerfStats_section 2",
1769 "PerfStats_group 4 39",
1770 "misc_group 0 3",
1771 "Server_UpDown_section 4",
1772 "FS_upDown_SC_group 40 64",
1773 "FS_upDown_DC_group 65 89",
1774 "VL_upDown_SC_group 90 114",
1775 "VL_upDown_DC_group 115 139",
1776 "RPCop_section 4",
1777 "FS_RPCopTimes_group 140 307",
1778 "FS_RPCopErrors_group 308 475",
1779 "FS_RPCopBytes_group 476 511",
1780 "CM_RPCopTimes_group 512 553",
1781 "Auth_Access_section 2",
1782 "Auth_Stats_group 554 565",
1783 "Access_Stats_group 566 570"
1784 /* "Author_Stats_group x y"   -   no information collected at present */
1785 };
1786
1787