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