procstat-go

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: BSD-2-Clause Imports: 19 Imported by: 0

README

procstat-go (v0.2.2)

About

Requirements

  • go 1.18 or above

  • github.com/rthornton128/goncurses

  • github.com/fsnotify/fsnotify

Build

$ make

Usage

$ ./procstat-go -h
Usage: procstat-go [options] /proc/...
  -bg string
        Set background color. Available colors are "black", "blue", "cyan", "green", "magenta", "red", "white", "yellow".
  -c string
        Set column layout. e.g. "-c 123" to make 3 columns with 1,2,3 windows for each
  -d    Enable debug log
  -f    Fold lines when longer than window width
  -fg string
        Set foreground color. Available colors are "black", "blue", "cyan", "green", "magenta", "red", "white", "yellow".
  -h    This option
  -m    Take refresh interval as milli second. e.g. "-t 500 -m" to refresh screen every 500 milli seconds
  -n    Show line number
  -noblink
        Disable blink
  -r    Rotate column layout
  -t int
        Set refresh interval in second. Default is 1. e.g. "-t 5" to refresh screen every 5 seconds (default 1)
  -usedelay
        Add random delay time before each window starts
  -v    Print version and exit

Commands:
  0 - Set current position to the first line of the buffer
  $ - Set current position to the last line of the buffer
  k|UP - Scroll upward
  j|DOWN - Scroll downward
  h|LEFT - Select next window
  l|RIGHT - Select previous window
  CTRL-b - Scroll one page upward
  CTRL-u - Scroll half page upward
  CTRL-f - Scroll one page downward
  CTRL-d - Scroll half page downward
  CTRL-l - Repaint whole screen

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL