Lines Matching refs:section
60 SECTION_HELP = 'print info from one section ('+' '.join(SECTIONS)+')'
85 parser.add_argument('-s', '--section', dest='section', help=SECTION_HELP)
103 def load_kstats(section):
104 base = 'kstat.zfs.misc.{section}.'.format(section=section)
140 def load_kstats(section):
141 path = os.path.join(KSTAT_PATH, section)
429 for section in SECTION_PATHS.values():
430 if section not in result:
431 result[section] = load_kstats(section)
482 for section in sections:
484 print('\n{0}:'.format(section.upper()))
485 lines = sorted(kstats_dict[section])
500 for one section.
543 # The section output concentrates on important parameters instead of
549 and most used section.
729 that we're skipping the section.
732 # The L2ARC statistics live in the same section as the normal ARC stuff
736 print('L2ARC not detected, skipping section\n')
882 print('VDEV cache disabled, skipping section\n')
948 elif ARGS.section:
951 section_calls[ARGS.section](kstats)
953 print('Error: Section "{0}" unknown'.format(ARGS.section))
957 print('WARNING: Pages are deprecated, please use "--section"\n')
979 for section in calls:
980 section_calls[section](kstats)