KUK
Server: Apache
System: Linux 247.44.167.72.host.secureserver.net 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: root (0)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/fm-agent/dependencies/phacter/darwin.py
# This software may be freely redistributed under the terms of the GNU
# general public license.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

import os
import netifaces

def ipaddress():
    return netifaces.ifaddresses('en0')[2][0]['addr']
def fqdn():
    return 'server02.example.com'
def processorcount():
    return int(os.popen('sysctl -n hw.ncpu').read())