RAMYA-CP / grofer

A system profiler written in golang!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grofer

A clean system monitor and profiler written purely in golang using termui and gopsutil!

Installation

Using go get:

go get -u github.com/pesos/grofer

Building from source:

git clone https://github.com/pesos/grofer
cd grofer
go build grofer.go

Usage

grofer is a system profiler written in golang

Usage:
  grofer [flags]
  grofer [command]

Available Commands:
  about       about is a command that gives information about the project in a cute way
  help        Help about any command
  proc        proc command is used to get per-process information

Flags:
      --config string   config file (default is $HOME/.grofer.yaml)
  -h, --help            help for grofer
  -t, --toggle          Help message for toggle

Use "grofer [command] --help" for more information about a command.

Examples

grofer

This gives overall utilization stats.

grofer

Information provided:

  • CPU utilization per core
  • Memory (RAM) usage
  • Network usage
  • Disk storage

grofer proc

This lists all running processes and relevant information.

grofer-proc


grofer proc [-p PID]

This gives information specific to a process, specified by a valid PID.

grofer-proc-pid

Information provided:

  • CPU utilization %
  • Memory utilization %
  • Child processes
  • Number of voluntary and involuntary context switches
  • Memory usage (RSS, Data, Stack, Swap)

About

A system profiler written in golang!

License:Apache License 2.0


Languages

Language:Go 100.0%