✏️
wiki
  • Introduction
  • Career
    • Data Science
      • Machine Learning
      • Natural Language Processing
      • Datasets
      • Computer Vision
      • Data Engineering
      • Web Scraping
      • Data Visualisation
    • Robotics
      • Localisation
        • Kalman Filtering
    • Web Development
      • React
  • Tech
    • Apps
      • Mac OS
        • Magnet
        • PDF Expert
        • PixelSnap
        • Digital Colour Meter
        • Daisy Disk
        • Alfred
        • Bartender
        • iStat Menus
      • Linux
        • Playerctl
      • Terminal Emulators
      • Text Editors
      • Shell
    • CLI
      • Git & Github
      • Monitoring
    • Desktop Customisation
  • Lifestyle
    • In progress... :)
  • Blog
    • Why I Migrated from Windows to Linux
Powered by GitBook
On this page
  • CPU
  • GPU
  • Memory
  • Storage
  • Network

Was this helpful?

  1. Tech
  2. CLI

Monitoring

Here are some useful shell commands to monitor or get information about CPU, GPU, Memory, Network, Storage, etc.

PreviousGit & GithubNextDesktop Customisation

Last updated 4 years ago

Was this helpful?

CPU

  • - Display information about CPU architecture

  • /proc/stat - CPU Usage for each CPU

  • ps - CPU Usage by processes

  • htop - Similar to ps

  • top - Similar to ps

GPU

Assuming the use of an nvidia driver

  • - Information about GPU Driver including gpu and memory utilisation and processes

  • - Diagnose 3D acceleration setup

Memory

  • - Monitor system's memory and SWAP usage.

  • ps - Mem usage by processes

Storage

Network

  • ifconfig - IP address for each network interface

  • ip addr - Similar to ifconfig

[df]()) - Display available disk space

- Monitor rx/tx of each process

- Gather info about each interface (eg, total rx/tx)

I have made use of these commands in my custom AwesomeWM widgets .

lscpu
nvidia-smi
glxinfo
free
https://en.wikipedia.org/wiki/Df_(Unix
nethogs
/sys/class/net/
here