2N/A# The contents of this file are subject to the terms of the 2N/A# Common Development and Distribution License (the "License"). 2N/A# You may not use this file except in compliance with the License. 2N/A# See the License for the specific language governing permissions 2N/A# and limitations under the License. 2N/A# When distributing Covered Code, include this CDDL HEADER in each 2N/A# If applicable, add the following below this CDDL HEADER, with the 2N/A# fields enclosed by brackets "[]" replaced with your own identifying 2N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2N/A# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 2N/A""" A thin wrapper around the kstats support provided by rad """ 2N/A Given a list of kstat_named, returns a dictionary of its stats 2N/A """ Represents the system's kstats """ 2N/A Create a connection to a private (piped) minimalist (kstat module 2N/A rad.client.RadConnection: the private connection 2N/A Look up a single kstat instance by module, name, and instance. 2N/A Retrieve a list of kstat instances, filtered by optional module, name, 2N/A # Enumeration and lookup can race; silently drop failures 2N/A """ Call update() on the singleton control instance """ 2N/A """ Close the connection to the RAD server """