Questions tagged [monitoring]

Questions about all kinds of monitoring. E.g. "How to monitor the network traffic?"

Filter by
Sorted by
Tagged with
17 votes
5 answers
23k views

How do I check the status of the CMOS battery?

I have found myself in situtations where the internal battery has been used frequently. How do I check its status without diving into the mountain of directories? NOTE I need to know about the CMOS ...
36 votes
5 answers
54k views

How can I monitor the TBW on my Samsung SSD?

As is common knowledge, SSDs have a limited number of PE (Program-Erase) cycles before the NAND cells die. Therefore, it is very helpful to know how much data has been written to your SSD, in order ...
0 votes
0 answers
38 views

How do I work out what is using the bandwidth on my site?

Please forgive me if this is a basic question, but I have searched around and haven't found an answer yet. I am a developer on a web site that is hosted on a Ubuntu server. I do not have full access ...
853 votes
22 answers
1.4m views

How do you monitor the progress of dd?

dd is a wonder. It lets you duplicate a hard drive to another, completely zero a hard drive, etc. But once you launch a dd command, there's nothing to tell you of its progress. It just sits there at ...
0 votes
0 answers
27 views

Reset an alert from smartd when there is no longer a problem

Ubuntu 22.04. I've installed smartmontools, and added a script to /etc/smartmontools/run.d that writes any problem reports to a file where they can get picked up by our alerting system. I want to also ...
0 votes
2 answers
4k views

Wifi interface mode switches automatically back to managed (Ubuntu 20.04)

If I take the wifi interface offline: sudo ifconfig device_name down. Then switch the mode to monitor: sudo iwconfig device_name mode monitor. And then bring the device back online: sudo ifconfig ...
0 votes
1 answer
4k views

Nagios 4.4.7 on Ubuntu 22.04

Im trying to install Nagios 4.4.7 from source on a fresh install of Ubuntu 22.04 Latest updates applied Everything compiles and installs OK but on starting I get this: May 16 16:29:09 server2204 ...
0 votes
1 answer
217 views

How show Podman container stats with glances?

I installed glances via pip and it does not show Podman containers. Docker container however are shown when I run glances with sudo. Docker is run as root, Podman run rootless. I changed my glances....
151 votes
12 answers
301k views

How to install "perf" monitoring tool?

How do I install the perf monitoring tool?
1 vote
1 answer
1k views

How to get munin to monitor and show CPU temperatures

Ubuntu 18.04 system has kernel module coretemp kernel module installed: % lsmod | grep coretemp coretemp 20480 0 It also has command-line utilities lm-sensors to check temperatures ...
10 votes
3 answers
27k views

How do I run a Python script in the background and restart it after a crash?

I have a very simple Python script that I'd like to be always running on my Ubuntu 12.04 server. I thought of using upstart + monit. The problem is that those tools seem rather complicated for a ...
0 votes
1 answer
82 views

is it possible to deny access to an app to my input devices which i have installed through `sudo apt-get install`?

the company i am working for has made me install an employee monitoring app on my personal laptop which I have installed via sudo apt-get install command. I come to know that the app can take ...
-2 votes
1 answer
55 views

Outputting gpustats to a file

If I want to have gpu stats I can use gpustats as suggested in this answer Is there a way to output this results (with watch) to a file?
0 votes
1 answer
54 views

Is it possible to see what processes did last mounted USB device?

Is it possible to see what last mounted USB device? I am afraid, that last device infected my ubuntu machine and want to find out something about that device.
1 vote
1 answer
67 views

Setting a monitoring display with 4 monitors automaticaly

Good evening. I'm trying to create a monitoring display on Ubuntu 23.04 Gnome interface using 4 (2x2) monitors. The idea is to when the machine is powered on, each terminal, browser and software is to ...
0 votes
0 answers
132 views

Network traffic monitoring for each user

There are several users in Ubuntu server using the network traffic. I need to monitor each users traffic usage. I used nethogs but apparently it gives me the answer for each process so when the user ...
-3 votes
1 answer
34 views

Landing place for all prometheus alert and warning

I am interested in knowing is there something tool like which keep all Prometheus triggered alert in single place like dashboard from where i can also make link some ticketing(jira) tool etc. so if i ...
0 votes
1 answer
266 views

How to manually give configuration file to top command?

I know that top behaviour can be changed interactively and can be stored as a cfg file as toprc and it will use that cfg automatically. Is there a way to write and feed the configuration file (stored ...
0 votes
2 answers
1k views

Why sum of all process CPU(%) is not equal to total cpu(%) utilisation in top output

In the attached image of top command output, you can see the idle is 96.8% means CPU utilisation is 3.2% but, sum of CPU% of all the process listed (Image cropped for CPU% > 0.0) is more than the ...
-3 votes
1 answer
469 views

Why sum of all process CPU(%) is greater than total cpu(%) utilisation in top command [duplicate]

In a top command instance, the CPU utilisation (100-idle) was 14% but the top most process "Chrome" alone consumes 253%. I am unsure of how the chrome process consumes CPU more than 100%. ...
0 votes
1 answer
33 views

Nagios Core Disabled CFG files

I have multiple host cfg files that we renamed to disabled with the, mv , command. We did this to take them off our dashboard view. When we try to rename them back to regular files, and attempt to ...
0 votes
0 answers
39 views

how to monitor if a file size not change do something in ubuntu

the goal is that if my file.log size does not change in 10 minutes then send two HTTP requests to some servers. something like this: check file.log if not change in 10 min send HTTP request to http://...
1 vote
2 answers
942 views

Automatically copy incoming files to multiple folders then remove the source files [duplicate]

I would like to know automated script for copying source files from directory to multiple directories and after copying files remove the source files from the source directory We have one folder where ...
0 votes
1 answer
124 views

Efficiently get PID's in certain ports from java

I know sudo lsof -t -i:{port} will give the list of PID's involved in that port and I can run this command via java by Runtime.getRuntime.exec() command. But the thing is I have thousands of thread ...
109 votes
6 answers
187k views

How to monitor disk activity?

How do I view my Disk Activity on Ubuntu? For example, How can I monitor what is being written and read from disk as well as the percentage of disk usage? I am looking for an application similar to ...
54 votes
1 answer
181k views

Although GNOME Shell integration extension is running, native host connector is not detected [duplicate]

On a fresh install of 18.10 I attempted to install CPU usage widget https://extensions.gnome.org/extension/120/system-monitor/ on that link it errors showing : Although GNOME Shell integration ...
2 votes
2 answers
824 views

iptraf-ng error floating point exception

I installed iptraf-ng (v1.1.4) on ubuntu 18.04 sudo apt install iptraf-ng But when I try to activate the "logging" option, iptraf freezes and the message comes out Floating Point Exception (...
11 votes
3 answers
22k views

How can I monitor my Samba traffic?

I've got a directory shared on my network, using Samba. People on the netwerk use this Samba share to download files from my share to their computers. I'm interested in what files are downloaded most, ...
0 votes
0 answers
51 views

How do I set up a server to monitor devices like Ubuntu distro laptops? What tools?

I have a number of devices to experiment on, over 20. I would like to have tools that are freely available. I was hoping the community could help me through this process. I want to resurrect the ...
0 votes
0 answers
67 views

How to save folder state so that I can monitor changes in it

I have a folder with 5000 ~10mb files, I need something that would save something like list of all files and preferably their hashes so that it can track file changes/renames, and then later compare ...
-1 votes
1 answer
641 views

Is there any non-root disk IO monitor software available on Ubuntu?

Is there any disk IO monitor software available on Ubuntu that can show what processes are reading/writing at what speed and that I can install and run without sudo? I know there is iotop, but I can't ...
0 votes
0 answers
61 views

Detect new devices on Network / WiFi

I was on Dual boot and Avast detected a new device on the network and notified me with a popup. I was using a LAN cable, yet it was able to detect the router, my PC and other wireless devices on the ...
0 votes
1 answer
106 views

Divergent RAM consumption, which program to trust? | htop | free -m | top | glances | CPU-X

I'm studying about processes and RAM consumption and I noticed differences in the RAM memory consumption information when using different programs. I'm using Kubuntu 22.04.1 LTS (Jammy) fully updated ...
1 vote
2 answers
169 views

Temporary file creation is skipped when moving files from monitored folder

I came to this post (Monitor folder and run command if there is a file there?) about monitoring folders and then execute an action on found files. Everything works, but now I want to add a ".tmp&...
5 votes
1 answer
553 views

Interpreting lm-sensors output

First is my wifi module, second my SSD, third my CPU with individual cores, but what is the last one: "pch_skylake-virtual-0"?
67 votes
5 answers
254k views

How do I monitor power consumption?

The powertop program shows the power usage, but only after about five minutes. Before that, it shows: no ACPI power usage estimate available That's one of the limitations of the powertop program. ...
0 votes
0 answers
22 views

monitor user acrivity

How can we secure and monitor access for an external contractor when accessing an UBUNTU machine? how to track bash history changes (line deletion ..etc) how to track all his activities in general (...
2 votes
1 answer
3k views

View all previous IP logs/connections/etc

I'm not sure if this is a thing or not. I was wondering if for example someone got on my machine (say its on a vpn not on my home network) If someone had access to it somehow if they could view any ...
3 votes
2 answers
5k views

Installation Zabbix [closed]

I am trying to install a Zabbix monitoring system on my Ubuntu. But when I try to install it. I get this error: The following have unmet dependencies: zabbix-server-mysql : Depends: libsnmp15 (>= ...
0 votes
0 answers
101 views

icingaweb2 not reachable

the icingaweb2 is not reachable, although it is running on the server with the apache and icinga2. I already have all the prerequisites, that are documented on the official site set up. However, when ...
727 votes
21 answers
1.8m views

How do I get the CPU temperature?

How do I get the CPU temperature?
1 vote
1 answer
300 views

System Activity Report (sar) - how can I preserve color, but disable extra header lines? (and use less)

If you run sar without parameters, the output is in color, but with extra headers inserted after each page. If you run sar | cat the extra headers are removed, but so is the coloring. If you would ...
0 votes
1 answer
471 views

2 system-performance reporting-tools (dstat, pcp) are proposed by apt - which package is "official"?

When I try to run performance monitoring and reporting tool "dstat", I simply type dstat on the command line. I don't have it installed. Ubuntu 20.04 comes up with this output: > dstat # ...
0 votes
1 answer
284 views

sudo command make child process to zombies

I'm trying to make a program that divides into child and parent processes with fork(). Child executes arguments with execv() and parent traces him with ptrace(). I made almost all parts of the program,...
6 votes
4 answers
17k views

Script to monitor Internet connection stability

I would like it to be reported every time that the my router loses its internet connection. I would like to have my Ubuntu system send me an email every time that the router's system log displays the ...
0 votes
0 answers
98 views

KDE-related processes

Important: I used to have the KDE Plasma DE installed but I removed that months ago. I checked activity monitor like I do a lot, and I decided to check the "all processes" button instead of ...
0 votes
1 answer
1k views

Any way to monitor the resources of my system over time?

Let's say I want to know how much RAM and how much CPU I consumed after an hour of having the system started, but I don't want to have top opened and be looking at it all the time. I want a program ...
0 votes
1 answer
42 views

Dedicated System Monitoring Display Software?

I have a display hooked up to my server which I plan to have an always-on system monitoring readout. Things like system temps, load percentages, console output, the like. Looked for a bit and I can't ...
0 votes
1 answer
466 views

How to install Munin

I need to install Munin on Ubuntu 12.04 for testing purposes. This is my first Munin installation and I have no idea how to get this done. I followed some tutorials, but the lack of instructional flow ...
0 votes
0 answers
27 views

Interfaces monitoring with control

is there any web software that allows you to automatically monitor all interfaces in the local network? And will he allow them to control, need to be suspended? Thank you

1
2 3 4 5 6