system-info

Gather Linux OS, kernel, CPU, memory, and uptime details from standard files.

2.5k|638|Updated Nov 14, 2023
One-click install
npx skills add https://github.com/UKGovernmentBEIS/inspect_ai --skill system-info-ukgovernmentbeis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-info
Source: https://github.com/UKGovernmentBEIS/inspect_ai/tree/main/examples/skills/skills/system-info
Command: npx skills add https://github.com/UKGovernmentBEIS/inspect_ai --skill system-info-ukgovernmentbeis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill quickly gathers comprehensive system information about the Linux host, including OS, kernel, CPU, memory, and uptime, to streamline diagnostics and inventory.

Core Features & Use Cases

  • Collects OS details from /etc/os-release and kernel/arch from uname
  • Reports CPU information via lscpu or /proc/cpuinfo, plus memory stats from free or /proc/meminfo
  • Provides uptime and load averages for quick health checks
  • Use Case: When auditing servers, performing maintenance planning, or diagnosing issues on Linux hosts

Quick Start

Run the included script to generate a complete system overview: ./scripts/sysinfo.sh

Frequently Asked Questions about system-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get Linux system information for server audits and troubleshooting?

To get Linux system information for audits and troubleshooting, run a script that queries standard files like /etc/os-release and utilities like uname, lscpu, and free. This produces a concise summary of OS, kernel, CPU, memory, and uptime stats.

What's the best way to collect CPU and memory info from a Linux host?

The best way to collect CPU and memory info from a Linux host is using built-in utilities like lscpu or /proc/cpuinfo for processor details, and free or /proc/meminfo for memory stats, generating a quick health overview.

Can I use standard Linux files to gather baseline inventory data across physical or virtual machines?

Yes, you can gather baseline inventory data across physical or virtual machines by relying on standard Linux files and utilities such as /etc/os-release, uname, and uptime to produce a comprehensive system summary.

Does gathering system information require installing additional dependencies on Linux?

Gathering system information does not require installing additional dependencies on Linux because the process relies entirely on standard files and utilities already available, such as /etc/os-release, uname, lscpu, and free.

Why does my Linux server health check need uptime and load averages?

Your Linux server health check needs uptime and load averages to quickly assess system stability and current resource demand. Including these metrics provides a baseline for diagnosing performance issues and planning maintenance.

When do I need a system information script for diagnostics instead of running commands manually?

You need a system information script for diagnostics when you require a consistent, concise summary of OS, kernel, CPU, and memory details across multiple servers, rather than manually executing separate commands like uname and lscpu each time.