-1

Are there good CLI utilities to see things like CPU, RAM, and Network Traffic over time?

I know CPU can be looked at via a command like top but curious if there is any way to collect historical trends automagically. I basically want Datadog for a personal project but am trying to avoid paying for it (already did a free trial)

stk1234
  • 99
  • 2
  • There are dozens of programs that can do this. But if you want history, you don't want a cli, you want a service. Typically you can't get much history or good graphs from a cli, although there are a few. Software recommendations may be off topic here. – user10489 Jul 15 '22 at 04:52
  • Product recommendations are off topic. There is [softwarerecs.se] for that. – Gerald Schneider Jul 15 '22 at 05:06
  • What OS/s are you using? – Chopper3 Aug 08 '22 at 15:50

3 Answers3

0

Have you heard of zabbix? Might be what you are looking for. It's not a cli tool but a complete monitoring solution open source.

atop tracks historical metrics and is command line based.

It's packaged in Debian/Ubuntu and Fedora.

Ace
  • 478
  • 1
  • 6
0

One possible way for Linux (because you mention top) is to use sar from sysstat package. It can collect and display information about the CPU usage, network usage, RAM usage.

Romeo Ninov
  • 5,263
  • 4
  • 20
  • 26
0

There's iftop for network, and htop is an alternative to top. If you want history, graphing etc, munin is free and robust.

tom_nb_ny
  • 51
  • 1
  • 9