LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-06-2020, 07:35 PM   #1
jeremywsmith
LQ Newbie
 
Registered: Nov 2020
Posts: 1

Rep: Reputation: Disabled
Need advice on setting up historical process monitoring on linux


Hello,

I am working on a research project and we usually start a job on a server and it takes about a day or two to run and then we go and look back at the results. The problem is that in some cases we are starving the server of resources and it is impacting our results since some jobs fail.

I can manually watch the server with something like htop to see which processes are hogging memory resources (the "command" column provides very useful data.) but obviously it isn't feasible to do this manually all day.

I've tried running atop and writing to a rawfile before starting the job, the problem is that the machine I analyze these results from is not exactly the same version of linux as the server, and therefore the atop versions are different and the rawfile won't read on the machine I am analyzing from.

Further, I have tried netdata but it isn't letting me drill-down on per-process level.

The best case scenario is I can generate some sort of file which accurately represents resource allocation on a per-process level as the job was executing. Actually atop would be great if it would work (but because of the version differences making the rawfile incompatible I don't think it is a good solution.)

I can probably dedicate 5 hours to this, any suggestions?


Thanks!
 
Old 11-08-2020, 04:03 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Try something that is designed to keep a proper history file and can analyse it properly. sar (sysstat) is the typical tool, but for better per-process analysis look at something like collectl or collectd.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux/*nix in general - is there too much historical baggage? vharishankar General 35 11-30-2011 12:41 AM
Historical layer3 bandwidth monitoring saiyen2002 Linux - Networking 1 08-10-2011 10:45 AM
LXer: Linux: Historical Kernel Tree With Git LXer Syndicated Linux News 0 07-26-2007 02:31 AM
Historical Linux question (+/- 1994) STeeF Linux - General 2 01-28-2004 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration