Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"top", "htop", "nmon", etc. are great for monitoring processes on machines.
Top-down, imagine them as frameworks for displaying, and adjusting the display of, structured data whose input reads data associated with UNIX processes.
Now, we have an application whose monitoring could greatly benefit from this sort of structure, except that the input isn't processes but other changing data.
As far as I know, none of those three programs have the ability to monitor data from other sources. (Correct me if I'm wrong on that!)
Is there a similar monitoring program with (for instance) the capability for the end-user to provide a local plugin (or similar) for their local data?
I know of no tools like top for user data. Top monitors only the kernel process data tree, and only the kernel updates that data. For any other "data monitoring" you would require an interface into each of the applications that modify data... And I don't think that is what you are thinking abut.
Thanks for the reply. Appreciated! I should probably have added that our changing data is in shared memory (and there is also some from processes).
So I'm thinking of a top-like program. But rather than directly reading (or periodically sampling) process information, it could instead read from a user-supplied plugin that gathers data from shared memory or other sources, including processes. (So a top-like program with a level of decoupling between the user-oriented display/control, and a data-gathering plugin. The default plugin would (on a Linux) system look in "/proc"; a user could supply their own alternative plugin.)
For some reason the phrase "specific examples" doesn't seem to be parsed here as "give me exact details I can work with" so that excludes me from contributing further.
Nxlog, rsyslog, custom bash scripts,.. send data to graylog or elasticsearch. IIUC this is a fairly normal procedure. Nxlog will read a file, parse its contents and spit it into elasticsearch. Rsyslog can do the same thing. Nxlog and Rsyslog are log gatherers/data gatherers, and elasticsearch is the repository where that data is stored.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.