Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

NiceTestApp

A python application that displays linux system information

Requirements

  • python3 (Tested on 3.11)
  • linux OS (Tested on Debian 12 (Bookworm))

Installation

Install required pip packages: pip install -r requirements.txt

Usage

Run the application from cmd-line: python3 NiceTestApp.py

Command-Line Arguments

  • -h, --help: Display help message with available arguments
  • -logInfo: Write system information to NiceTestApp.log in the same directory as the script

Examples

Display system information to console only:

python3 NiceTestApp.py

Display system information to console and save to log file:

python3 NiceTestApp.py -logInfo

External Dependencies

psutil (7.1.3+): library for retrieving system and process information

System Information Displayed

  • Computer Name (Fully Qualified Domain Name)
  • Total Physical Memory (GB)
  • Total Number of Physical Processors (CPU sockets)
  • Total Number of Cores (total physical cores)
  • Total Number of Hard Disks (excludes partitions)
  • Top 5 CPU-Consuming Processes (measured over 10 seconds by default)

Notes

  • This application is designed for Linux systems and uses lscpu and lsblk commands for hardware detection
  • Help functionality implemented using Python's standard --help flag via argparse
  • If system commands (lscpu, lsblk) are unavailable, affected fields will display None

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages