HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/usr/lib/fm-agent/dependencies/phacter/windows.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('{3351227E-DB77-4538-9524-2E59C6DAF564}')[2][0]['addr']
def fqdn():
    return 'server02.example.com'
def processorcount():
    return int(os.environ['NUMBER_OF_PROCESSORS'])