Comments (13)
do you mean to group them by ?name? and sum values?
yes. that's what i like about ps_mem
and i always have to leave htop
to use ps_mem
because looking at a bunch of separate forked processes bouncing around is fairly useless when you want to know how much ram a program is using altogether, which i think is a more common use case than someone needing to see what one particular fork is doing right now. [edited to avoid misintepretation]
Same thing with CPU usage. I want to know how much a program is using, not try and guess from forks bouncing around. I understand it wouldn't be 100% accurate/real time, but that's still better than chasing the forks. I don't know how your historical data feature works yet, but there may be a "tie in" with this feature there as well.
I bet ttop would be the only sys mon that had this feature, and it might drive adoption and create exposure for your app and nim.
from ttop.
I just tried it. That's pretty cool!
It looks like some stuff is not being grouped fully. I'm guessing Isolated Web Co
(tent) should be part of Firefox. I have one called WebExtensions
and Web Content
. Maybe those goes with Brave browser? I also have Privileged Cont
, Utility Process
, RDD Process
, and Socket Process
, but i'm not sure what they represent or should go with.
Good start! It's already useful as it is.
from ttop.
https://github.com/inv2004/ttop/releases/v1.4.3
I found that parsing <PID>/exe
symling like ps_mem do is not very stable and decided to try just first argument from cmdline. And looks like it works a bit better for me
from ttop.
Yeah, i just tried it too. This is a great feature! closing. Thanks a lot. Will likely be using ttop as my main sys mon now.
from ttop.
My gajim is in a strange state right now. copr repo, signing keys, etc. let me make sure that's squared away before you spend any time on this. I'll post back.
from ttop.
looks good to me! gajim is shown as: /usr/bin/python3 -sP /usr/bin/gajim
I'll let you close the issue when you decide to. Thanks!
from ttop.
@ITwrx
I think it is correct. It is grouped by process name, but the tui contains cmdline if it is available
from ttop.
Reopen if you find smth I can add to the issue
from ttop.
Do I understand correct:
ps_mem shows:
13.9 MiB + 3.7 MiB = 17.6 MiB fish (5)
ttop with filter "fish"
S 7500 u 10.5 MB 0.1 0.0 0:20:40 /usr/sbin/fish
S 10 u 10.5 MB 0.1 0.0 0:57:40 -fish
S 1118 u 8.7 MB 0.1 0.0 0:57:00 /usr/sbin/fish
S 13293 u 8.3 MB 0.1 0.0 0:10:26 -fish
S 673 u 7.0 MB 0.1 0.0 0:57:09 /usr/sbin/fish -c sh -c '"$VSCODE_WSL_EXT_LOCATION/s.
do you mean to group them by ?name? and sum values? I think it is interesting idea - not a lot of reasons to see 100500 forks of the same process.
from ttop.
@ITwrx first try to group processes was added into https://github.com/inv2004/ttop/releases/tag/v1.4.2
You can try it by g
button. It does not match ps_mem 100% and I have to understand it a bit more
from ttop.
it looks like gajim is shown simply as /usr/bin/python3
. I'm not seeing anything else that is reported in such a generic way, but that's probably the only python application i have running right now.
from ttop.
well, the copr repo issues are irrelevant as only the omemo stuff is from the copr repo. The gajim package itself is from the official repos. I also confirmed, by closing and reopening gajim, that it is gajim that is shown as /usr/bin/python3
.
from ttop.
@ITwrx
I just released v1.4.5 which is mainly about fixing all the group stuff. I found that ps_mem uses root perms to find exe link which is not compatible with ttop (which does not need root).
I added logic to group by first cmdline file (for firefox) if it is possible and use process name if not
from ttop.
Related Issues (20)
- `/proc/PID/tasks/children` parsing error
- unsigned integer: strutils.nim(1091) HOT 3
- filter keypress lost HOT 1
- High CPU usage on keypress HOT 4
- Light terminal theme support HOT 1
- Error during parsing HOT 4
- Memory leak on long-running ttop UI HOT 1
- Arch / Debian build failed
- RFC: Collect via sftp HOT 1
- Not recording historical data HOT 3
- Defining triggers HOT 2
- [ERROR] Failed to stop ttop.timer: Unit ttop.timer not loaded. HOT 2
- Cannot build from source HOT 7
- top line is hard to read for me HOT 11
- can't run ttop. cannot read from stream HOT 4
- Raspberry Pi build error HOT 4
- FreeBSD support HOT 1
- "looks like" miss HOT 5
- `ttop --on` from root HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttop.