Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(1)  |  Derive(0)  |  Import(3)
<comment-ja>
OS????????????????????????
</comment-ja>
<comment-en>
TODO: English Comment
</comment-en>

        def get_hdd_list(_prefix='/dev'):
    """
    OS????????????????????????
    
    
    TODO: English Comment
    
    """
    from karesansui.lib.const import HDD_TYPES_REGEX
    blocks = get_blocks(_prefix)
    ret = []
    for _type in HDD_TYPES_REGEX:
        _regex = re.compile(_type)
        for _b in blocks:
            if _regex.match(_b):
                ret.append(_b)
    return ret
        


src/k/a/karesansui-HEAD/karesansui/gadget/hostby1reportby1.py   karesansui(Download)
from karesansui.lib.virt.virt import KaresansuiVirtConnection
from karesansui.lib.rrd.rrd import RRD
from karesansui.lib.utils import is_param, is_empty, \
    str2datetime, create_epochsec, get_proc_cpuinfo, \
    get_fs_info, get_hdd_list, get_ifconfig_info, \
        elif target == "disk":
            group_display = True
            disk_list = get_hdd_list()
            for disk in disk_list:
                dev = disk

src/k/a/karesansui-HEAD/karesansui/gadget/hostby1watch.py   karesansui(Download)
     findby1 as m_findby1
 
from karesansui.lib.utils import is_param, get_karesansui_version, \
    get_proc_cpuinfo, get_proc_meminfo, get_hdd_list, \
    get_partition_info, get_ifconfig_info, get_fs_info

src/k/a/karesansui-HEAD/karesansui/gadget/hostby1watchby1.py   karesansui(Download)
    findbyhost1 as m_findbyhost1
 
from karesansui.lib.utils import is_param, get_karesansui_version, \
    get_proc_cpuinfo, get_proc_meminfo, get_hdd_list, \
    get_partition_info, get_ifconfig_info, get_fs_info