How to get history of system activity?

New to Debian (Or Linux in general)? Ask your questions here!

How to get history of system activity?

Postby emil_21 » 2020-07-28 11:33

I want to be able to select period of time, for example, last 24 hours, and see which processes have connected to internet and the traffic their generated for that period, and also which processes have been more active and their load on the cpu. Is there a program or service with web gui that can do this? Terminal tool also will do, though i prefer something with gui. I am using debian 10 xfce.
emil_21
 
Posts: 87
Joined: 2017-04-14 06:13

Re: How to get history of system activity?

Postby sickpig » 2020-07-28 13:01

systat for systemload analysis and tcpdump for network activity monitoring respectively.

for realtime monitoring of currently established connections

Code: Select all
ss -ntpu
User avatar
sickpig
 
Posts: 412
Joined: 2019-01-23 10:34

Re: How to get history of system activity?

Postby emil_21 » 2020-07-28 13:55

I don't have systat tool on my system and it's not in debian repository. tcpdump is more for real time monitoring.
emil_21
 
Posts: 87
Joined: 2017-04-14 06:13

Re: How to get history of system activity?

Postby sickpig » 2020-07-28 14:12

Typo, it's sysstat
You can save tcpdump output to a file for later analyses
User avatar
sickpig
 
Posts: 412
Joined: 2019-01-23 10:34

Re: How to get history of system activity?

Postby emil_21 » 2020-07-28 16:21

I installed sysstat but if i run `sudo sysstat` i get `sudo: sysstat: command not found`.

Anyway, i am looking for something more user friendly and with gui.
emil_21
 
Posts: 87
Joined: 2017-04-14 06:13

Re: How to get history of system activity?

Postby Head_on_a_Stick » 2020-07-28 16:31

emil_21 wrote:I installed sysstat but if i run `sudo sysstat` i get `sudo: sysstat: command not found`

The sysstat package provides a collection of utilities for system monitoring: http://sebastien.godard.pagesperso-oran ... ation.html

I was not aware of that until about five minutes ago, are you familiar with search engines? They are very useful and tend to be quicker than pestering helpful people on forums...
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12316
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to get history of system activity?

Postby sickpig » 2020-07-28 20:48

emil_21 wrote:Anyway, i am looking for something more user friendly and with gui.

you can use wireshark(gui) to analyse tcpdump pcap files. There could be a gui front-end for individual tools in sysstat but I am not aware. https://www.maketecheasier.com/monitor-linux-performance-with-sysstat/ to get you started with sysstat.
User avatar
sickpig
 
Posts: 412
Joined: 2019-01-23 10:34

Re: How to get history of system activity?

Postby Deb-fan » 2020-07-28 22:24

I was not aware of that until about five minutes ago, are you familiar with search engines? They are very useful and tend to be quicker than pestering helpful people on forums...


+ 1 BILLION Head_on, :) though if people did more searches and RTFM'ing be very lil reason to even have (or need of)a help section. Can set up a crontab or systemd unit to run scripts, cmds etc and collect logging to whatever extent, involving whatever activities a user could ever imagine(any schedule desired.) Don't doubt that there's no shortage of in depth examples already easily found online. No insult towards OP, just simple statement of fact and clearly one reason geeks who do spend the time/effort learning and doing their own dirty work get a reputation as being big time cyber aholes.

Lil frustrating being asked to reinvent the wheel or explain what a wheel is to folks endlessly over n over n over. :) Off the top don't know which graphical monitoring utility may best suit your needs/preferences. Whenever i have any interest in what you're outlining here, explore the type of things already outlined above in the thread.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 811
Joined: 2012-08-14 12:27

Re: How to get history of system activity?

Postby dilberts_left_nut » 2020-07-29 08:26

I'd use munin and customise some existing plugins to collect what data you want.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5063
Joined: 2009-10-05 07:54
Location: enzed


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable