GithubHelp home page GithubHelp logo

psitop's Introduction

psitop

psitop - top for /proc/pressure.

Allows you to see resource contention for CPU, IO and memory separately, with high-resolution 10 second load averages.

screenshot of psitop

Running psitop

First, note that psitop needs to read /proc/pressure, which requires Linux kernel version 4.20 or higher. Your distribution might disable /proc/pressure by default - if so, you'll need to enable it before using this tool.

Go

go install github.com/jamespwilliams/psitop@latest
psitop

Nix

If you have Nix installed and flakes enabled:

nix run github:jamespwilliams/psitop

Docker

docker run -it jamespwilliams/psitop:latest

Arch Linux

psitop is in the AUR: https://aur.archlinux.org/packages/psitop.

Usage

Use the keybindings shown in the interface.

Consider trying out a tool like stress while running psitop to see how psitop displays resource contention.

psitop's People

Contributors

jamespwilliams avatar jpwnetcraft avatar lasseoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

lasseoe

psitop's Issues

Invalid install command

$ go install https://github.com/jamespwilliams/psitop@latest
go: https://github.com/jamespwilliams/psitop@latest: argument must be a clean package path
$ go version
go version go1.20.5 linux/amd64

Remove https:// from command to install.

failed to parse 'some'

2023/07/24 13:29:58 failed to read cpu pressure: failed to parse 'some' /proc/pressure line "": failed to parse /proc/pressure line "": field "" didn't conform to expected key=value format

$ cat /proc/pressure/cpu 
some avg10=0.10 avg60=0.21 avg300=0.25 total=73759571709

$ uname -a
Linux debian 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.