nschloe / tiptop

:desktop_computer: Command-line system monitoring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Two improvements to procs section (filter by user like `top -u username` and wrap args column)

caffeinatedMike opened this issue · comments

Amazing project! It's so much more useful than the typical top command I'm used to using.

I have two feature requests if possible:

  1. Being able to supply a username filter (like tiptop -u username) that can be used to filter the proc list like top does (top -u username)
  2. Having the procs' args column optionally wrap would really help differentiate processes. For the majority of my processes the best identifying column (args) cuts off most commands when the processes originate from within virtual environments (ex: /www/projectname/venv/bin/celery --app="app.tasks.celery" worker ...). One extensive command looks like this:
    /www/projectname/venv/bin/celery
        --app="app.tasks.celery"
        worker
        --queues="maintenance"
        --hostname="maintenance@%%h"
        --concurrency="1"
        --statedb="/www/projectname/syslogs/celery-maintenance-worker-state.sqlite"
        --loglevel="info"
    
    I get that such a large command might cause issues when attempting to wrap, so I guess that's what leads me to suggestion 2.1

2.1) Ability to limit the number of processes shown in the procs list.