Skip to content

python script to gather essential system information and convert it into a JSON format

License

Notifications You must be signed in to change notification settings

cykovit/Sys2JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sys2JSON

This Python script is designed to gather essential system information and convert it into a JSON format. It utilizes various modules to retrieve details about the operating system, network configuration, and hardware specifications.

Prerequisites

Sys2JSON uses the following modules:

  • platform
  • socket
  • re
  • uuid
  • json
  • psutil
  • logging
  • fade
  • colorama
  • rich

Usage

  1. Open a terminal or command prompt
  2. Navigate to the directory containing the script
  3. Run the script using the command: python sys2json.py

System Information Collected

Sys2JSON gathers the following system information:

  • Platform: Operating system name
  • Platform Release: Release version of the operating system
  • Platform Version: Version information of the operating system
  • Architecture: Machine architecture (e.g., 'x86_64')
  • Hostname: Hostname of the machine
  • IP Address: IP address of the machine
  • MAC Address: MAC address of the machine
  • Processor: Processor information
  • RAM: Total RAM in gigabytes (GB)

Output

Sys2JSON outputs the system information in table and JSON format, making it easy to integrate into other applications or store for future reference.

Note: If any exceptions occur during the process of gathering system information, they will be logged using the logging module.

Feel free to modify the script to suit your specific requirements or integrate it into other projects.

About

python script to gather essential system information and convert it into a JSON format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages