question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show full commands running

See original GitHub issue

Would you support an option to show the full commands being run instead of just, e.g, python? These could be rather long, so one option might be to put each of them on a new line below the GPU that they’re on (maybe indented a bit). Since gpustat seems to focus on being very concise, I’d understand if not. I have my own modification of nvidia-smi to show more about the processes running on each GPU, and I was planning to make it more concise when I ran across your project. I just want to check if you’d support this so I don’t have to duplicate some of your work here nividia-smi if so.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
wookayincommented, Sep 15, 2018

I also feel the necessity to display more comprehensive process information, under a specific command-line flag/options. It would not hurt our focus on being concise that much.

I am considering something like this (everything is just sketchy):

$ gpustat --show-process-info

[0] TITAN Xp         | 28'C,  12 % |   903 / 12196 MB | python/25647(893M) python/12345(0M)
 ├─ 25647 (100%): python train.py --alpha 1.0 --beta 2.0
 └─ 12345 (50 %): python test.py
[1] TITAN Xp         | 28'C,  12 % |   903 / 12196 MB | 

It might be a little bit verbose. The flag/option name is something we need to think about more and decide. Any suggestion or thoughts?

1reaction
wookayincommented, Aug 13, 2021

This was implemented in #65. Will make a release soon, but in the meantime please try installing gpustat==1.0.0b1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Show All Running Processes in Linux using ps/htop commands
Learn how to show all running processes in Linux and get a snapshot of the current processes on any Linux distribution using the...
Read more >
How to get whole command line from a process?
Method #1 - Using ps. You could use ps -eaf | grep 1234 . Example.
Read more >
Linux List Processes – How to Check Running Processes
You can list running processes using the ps command (ps means process status). The ps command displays your currently running processes in real- ......
Read more >
How to List Running Processes in Linux: A Beginner's Guide
Check out our tutorial to know how to list running processes in Linux. You'll learn how to use ps, top, and htop commands....
Read more >
Command to check the process status (ps command) - IBM
Any time the system is running, processes are also running. You can use the ps command to find out which processes are running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found