Source code for reemote.facts.server.get_kernel

# Copyright (c) 2025 Kim Jarvis TPF Software Services S.A. kim.jarvis@tpfsystems.com 
# This software is licensed under the MIT License. See the LICENSE file for details.
#

[docs] class Get_Kernel: """ Returns the kernel name according to uname -s. **Examples:** .. code:: python yield Get_kernel() """ def execute(self): from reemote.operations.server.shell import Shell r0 = yield Shell("uname -s")