Giter Club home page Giter Club logo

Comments (6)

raboof avatar raboof commented on August 14, 2024

Agreed! Perhaps we should add a -c flag like top

from nethogs.

raboof avatar raboof commented on August 14, 2024

Hmm, we actually already show the arguments, right? For example I see ..sr/lib/chromium/chromium --show-component-extension-options --ignore-gpu-blacklist --disable-background-n.

Related to #103 .

from nethogs.

TheAmigo avatar TheAmigo commented on August 14, 2024

On RHEL 7.1 running the nethogs 0.8.5 (built from source) I don't see arguments for any process. Lots of "ssh", "/usr/bin/perl", and other commands, but no arguments for any of the. Tried both "sudo nethogs" and running nethogs from a root shell... still no arguments.
screenshot_2016-11-16_11-47-40

from nethogs.

raboof avatar raboof commented on August 14, 2024

Ah, it seems chromium does something 'special' there: if I look at /proc/<pid>/cmdline, usually for commands like perl the command is separated from the parameters with \0 characters, but for chrome they're spaces. Odd.

from nethogs.

TheAmigo avatar TheAmigo commented on August 14, 2024

I don't have Chrome installed on this machine right now so I can't check... it's possibly an artifact of a wrapper script Chrome uses that ends up joining all its arguments with spaces between them. Null bytes are the standard delimiter so that individual arguments can have space in them without being confused with being separate args.

from nethogs.

anomen-s avatar anomen-s commented on August 14, 2024

I confirm, Chrome rewrites cmdline,
https://cs.chromium.org/chromium/src/content/common/set_process_title.cc

As for this issue, I almost finished implemetation, anomen-s/nethogs@d74711e9e9

from nethogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.