zoukankan      html  css  js  c++  java
  • Saltstack module introspect 详解

    introspect.service_highstate

    Return running and enabled services in a highstate structure. By default
    also returns package dependencies for those services, which means that
    package definitions must be created outside this function. To drop the
    package dependencies, set ``requires`` to False.
    
    CLI Example:
    
        salt myminion introspect.service_highstate
        salt myminion introspect.service_highstate requires=False
    

    introspect.running_service_owners

    Determine which packages own the currently running services. By default,
    excludes files whose full path starts with ``/dev``, ``/home``, ``/media``,
    ``/proc``, ``/run``, ``/sys``, ``/tmp`` and ``/var``. This can be
    overridden by passing in a new list to ``exclude``.
    
    CLI Example:
    
        salt myminion introspect.running_service_owners
    

    introspect.enabled_service_owners

    Return which packages own each of the services that are currently enabled.
    
    CLI Example:
    
        salt myminion introspect.enabled_service_owners
  • 相关阅读:
    Java并发之synchronized关键字和Lock接口
    Java并发之volatile关键字
    浏览器的缓存机制
    垃圾回收技术
    import和require区别
    垃圾回收机制
    TCP四次挥手
    进程
    TCP基础概念
    TCP三次握手
  • 原文地址:https://www.cnblogs.com/randomlee/p/Saltstack_module_introspect.html
Copyright © 2011-2022 走看看