HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib/python2.7/site-packages/vdo/statistics/Command.pyc
ó
.Ĺt_c@s,dZddlZdefd„ƒYZdS(s‡
  Command -- a command which is implemented as an ioctl

  $Id: //eng/vdo-releases/magnesium/src/python/vdo/statistics/Command.py#1 $
i˙˙˙˙NtCommandcBs eZdZd„Zd„ZRS(s 
  Command represents a command which may be sent to a VDO via an ioctl.
  Commands have no return data. For ioctls which fetch statistics, use
  StatStruct.
  cCs
||_dS(sH
    :param ioctl: The numeric value of the ioctl for this command.
    N(tioctl(tselfR((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pyt__init__"scCsOt|dƒ:}tj||jƒ}|rEtdj|ƒƒ‚nWdQXdS(sc
    Send the command to a device.

    :param device: The name of the device on which to act.
    trsioctl failed with result {0}N(topentfcntlRt	Exceptiontformat(Rtdevicetfdtresult((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pytact(s(t__name__t
__module__t__doc__RR(((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pyRs	(RRtobjectR(((s:/usr/lib/python2.7/site-packages/vdo/statistics/Command.pyt<module>s