Questions tagged [monitoring]

Obtaining real-time values of system parameters or events (processor load, server responsiveness, intrusion attempts, …), or getting alerted when certain events happen

Filter by
Sorted by
Tagged with
1 vote
0 answers
24 views

What is the complete list of file functions equivalent to the "strace -e file" options?

According to man strace the -e file option traces all syscalls which take a file name as an argument. What is the whole set? %file file Trace all system calls which take a file ...
user avatar
0 votes
0 answers
14 views

Monitor accumulated disk writes over period of time

Incremental backups of a Ubuntu Server 20.04 VM are unexpectedly large, and I want to find out why. Is there a tool that can monitor disk write activity, and show a summary of accumulated writes to ...
user avatar
  • 141
1 vote
0 answers
24 views

How can I see what programs are communicating with my hardware?

Background: I've been having difficulty controlling my (Ubuntu 20.04) laptop's cooling fans. When the laptop was factory new, it had an app always running which monitored temperature and gave me ...
user avatar
  • 111
0 votes
0 answers
16 views

Aggregate Multiple Alerts into Single Email in Zabbix

I am new to the Zabbix world, but loving some of the cool stuff you can do with the tool. I remember reading something, and I apologize if I am repeating, but I cannot find anywhere. Is there a way ...
user avatar
0 votes
0 answers
242 views

xrandr: Configure crtc 0 failed when setting refresh rate

I have a Alienware m15 R6 laptop with RTX 3070. The builtin monitor is a 1080p 165hz panel. The native refresh rate is not detected what so ever. Not from GNOME Settings, neither from xrandr output ...
user avatar
0 votes
0 answers
13 views

How to monitor systemd timers and path-invoked systemd processes

We used to use cron and switched to systemd timers for a number of scheduled tasks on our machines. With cron, the solution wasn't perfect, but when things broke, we sent emails to a mailing list and ...
user avatar
  • 1,444
0 votes
1 answer
26 views

Monitor how long per day or hour I'm close to my maximuim internet bandwith? So if it makes sense to buy an upgrade

for quite some time I'm working at home now. Recently I questioned if my current internet connection is good enough for my activity on my laptop. For some activities I notice a high internet usage, ...
user avatar
  • 265
0 votes
1 answer
26 views

How can I copy the entire command of a process in `glances`?

The command of each process in glances is chopped by default, e.g. /opt/conda/bin/python: trainman-k8s-job-afe4dad6-d612-4564-979a-89a82594674e-rnnpf Uptime: 31 days, 20:...
user avatar
0 votes
0 answers
8 views

Icinga2: Is ido2db.service and icinga.service required for Icinga2 version 2.13.2?

The icinga2 implementation at my job consists of two masters and two satellites. I have recently taken over the maintenance of these servers, so Icinga is very new to me. On two of these servers I ...
user avatar
0 votes
0 answers
28 views

how to modify/customize email subject of prometheus alerts & generate email separately for each alert

It's observed that prometheus alerts will not include any meaningful subject for the email alert, as showing in below screenshot. Moreover it will send many email alerts related to single host or ...
user avatar
  • 1,601
1 vote
1 answer
77 views

How do I run command hooks when a specific process is started?

Suppose the specific process is a long-running background process A. I wanted to execute a bash script command/script hooks for process A right after process A is started, for example getting its pid ...
user avatar
  • 111
0 votes
1 answer
117 views

How can I list AMDGPU VRAM usage by process?

I've got an AMDGPU on Linux and want to be able to see which processes are utilising my precious 4GB of VRAM I need for gaming. I'd like this to be presented in a similar manner to top listing all ...
user avatar
  • 333
1 vote
1 answer
48 views

Understanding load average on multicore system with a multithreaded app

We have a curious situation regarding load average on our system. It's running an application called ZAG that is idle most of the day. But every 80 minutes or so, it has some sort of activity burst of ...
user avatar
  • 2,249
1 vote
0 answers
14 views

Debugging a virtual machine - should I look at the internal or external network interface?

I've setup a virtual machine, that performs really poorly. It's a VirtualBox controlled Vagrant. I'm trying to understand why it takes somewhere between 5 seconds and 30 seconds for this VM to load a ...
user avatar
  • 145
0 votes
0 answers
24 views

Log Monitoring Script to find a particular error message and send email alert!

I need help with fixing this script to work as desired.. The script is to look for error meesages in the log file and email the error message . How can i use grep to capture the error message line in ...
user avatar
0 votes
0 answers
307 views

Log monitoring shell script to grep a string and send email alert

Here is the grep line that is not working grep -i "`date --date='today' '+%b %e'`"/ora/n003/OSB2/WLS_OSB2-diagnostic.log | awk '{ $3=""; print}' | egrep -wi 'failed' >> $...
user avatar
1 vote
1 answer
68 views

Script to monitor and alert for new orphaned pids

How would you go about detecting and alerting about newly orphaned pids? I would like to cron a script that checks once a day for any orphaned pids (PPID = 1) for a specific user and only alert if a ...
user avatar
  • 15
-1 votes
1 answer
32 views

Triggering a script when new TCP connection is established

So I need to run a script whenever a new TCP connection is established. I found the BCC - Tools tcpconnect.py to monitor the TCP connections but I can't find a way to leverage that tool to trigger my ...
user avatar
0 votes
1 answer
30 views

Is it alright to add a disk size monitoring script for NAGIOS, using loop?

I have a process that gets sizes for all disks on server, writes it into a file like this # cat disksize DISK# ACTUAL WARNING CRITICAL disk1 12 20 30 disk2 45 60 75 first row of ...
user avatar
  • 1,601
0 votes
0 answers
23 views

How to measure CPU, MEM usage and more for a short lived process

I've got a program with some compiled sorting algorithms, and I'm trying to use top to monitor its cpu and ram usage. Normally this would be fine, given that the process runs for a few minutes, ...
user avatar
0 votes
0 answers
45 views

Is there a program that will show me the average CPU usage over the last minute for every process?

One feature I miss from Windows is that the Resource Monitor program would show, among other statistics, the average CPU usage over the last minute for each program. On Linux I use either Gnome system ...
user avatar
1 vote
1 answer
28 views

How to add empty new lines in less (log viewer)?

When I monitor some log file with tail -F file.log, I can press enter to add some space between actual log lines and the new ones, for example: some log 1 some log 2 some log 3 some log 4 some log 5 ...
user avatar
  • 599
4 votes
1 answer
163 views

Utility to show disk IO read/write summary for a task/command/program

I'm pretty sure the Linux kernel has a feature which allows to track all the reads and writes (IO) of an application and all its children however I haven't seen any utilities which can calculate it ...
user avatar
2 votes
1 answer
103 views

Get memory/cpu usage by application

What I need I want to monitor system resources (namely memory and cpu usage) by application - not just by process. Just as the Windows Task Manager is grouping resources by the "calling mother ...
user avatar
0 votes
0 answers
23 views

Monitor multiple NGINX server blocks (virtual hosts) connections on one server

I have a LEMP server with 3 virtual host configured, how can i monitor connection status (connection rate, active connections, etc) of each virtual hosts? As i know stub status module is global not ...
user avatar
  • 185
0 votes
1 answer
35 views

I need some service that trigger actions once after any file is created, modified, deleted, copied or moved

The problem is that I'm not being able to keep track of all my files and I'm also tired of not telling which ones are important and which ones are a temporary file that some random programmer decided ...
user avatar
0 votes
1 answer
23 views

need RAM & SWAP Memory monitoring Threshold

I wish to setup monitoring alerts upon used memory percentage. I had setup 0-80% used RAM as Green (good) 81-90% as yellow(acceptable) 91-95% as orange(warning) 96+ as Red(critical) However, i see ...
user avatar
  • 297
2 votes
1 answer
118 views

In bash, is there a way to see how much memory .bashrc and any startup scripts are consuming?

In bash, .bashrc (and various other scripts) can load into memory at shell startup. These can be 10 lines long, but can be hundreds (if not thousands) of lines long. Each export will consume a tiny ...
user avatar
  • 559
0 votes
0 answers
20 views

Monitor system CPU usage in Linux

There are plenty of tools for monitoring user processes' CPU usage but how do you do the same for tasks inside the kernel? I.e. find out how much of the time spent in kernel space is used for ...
user avatar
  • 333
0 votes
0 answers
14 views

how to toubleshoot nagios check_nrpe issues?

Steps done: On Nagios Server (CentOS 7) yum install nagios nagios-plugins-all On Target (CentOS 7) yum install nrpe nagios-plugins-all modified nrpe.cfg and added master IP to allowed_hosts ...
user avatar
  • 1,601
0 votes
1 answer
236 views

How to monitor activity of all WireGuard clients connected to a server?

I've setup a WireGuard server on a Linux server. Is it possible to monitor stuff like bandwidth, DNS requests, websites visited, etc of all wg clients connected to this server?
user avatar
0 votes
0 answers
50 views

inoticoming daemon started as service just vanishes

I'm trying to get inoticoming to start monitor a folder, and it's working if I start it manually, but I can't get it to autostart. I know it starts, because if I enters a non-existant directory it ...
user avatar
0 votes
0 answers
17 views

How to do Monitoring in a restricted network without Proxy

We want to monitor Customized Ubuntu 20.04 Kiosk Machines that run continuously in a very restricted Bank Network. For this, we tried to use CheckMK but that does not seem to work because of the ...
user avatar
0 votes
0 answers
31 views

Which Performance Co-Pilot metrics correspond to commonly displayed metrics?

I'm trying to use Performance Co-Pilot (pcp.io) to monitor performance on RHEL 7/8 hosts. A quick run of pminfo shows that I have other 2000 metrics available to me. I'd like to view the metrics that ...
user avatar
0 votes
0 answers
43 views

Create ping monitor with proxy

There are 3 sites. One local and two remote. Local machines can initiate a connection to any site. Sites can initiate a connection between themselves. Remote sites, however, can't initiate a ...
user avatar
0 votes
1 answer
46 views

Sysstat Time Options and Command Differences

I would like to track total CPU and memory use on an Ubuntu 20.04 machine. For that purpose, I am about to install the sysstat library. I read the manuals of and posts on sar and related functions, ...
user avatar
  • 71
0 votes
1 answer
131 views

Why pavucontrol does not save the recording device permanently?

I'm doing recording tests for my streaming, I have enabled and as default "Monitor of Built-in Audio Analog Stereo", in old versions of chrome it works perfect, but in the new ones I have to ...
user avatar
0 votes
1 answer
300 views

What's the right way to monitor systemd services status

I'm trying to figure what's the right way for me to be notified when some systemd service is having problems. Manually checking systemctl status isn't a sustainable option; at the very least I want to ...
user avatar
  • 2,548
2 votes
0 answers
43 views

How to check the accumulated data written by each process

I have pihole running on a single board computer and i'm trying to reduce as much as possible data being written to the sd card. I already have logs and pihole database running in a ramdisk but awk '/...
user avatar
  • 21
0 votes
1 answer
91 views

What do the input device monitor watch?

I open pavucontrol when playing a music on speaker. Click the input Devices ,line in and front microphone ,rear microphone are all unplugged,so What do the input device monitor--Monitor of Family 17h(...
user avatar
  • 35
0 votes
0 answers
43 views

How to get a comprehensive overview of per-proccess GPU, GPU memory, CPU, RAM, IO, Network usage?

Essentially I am looking for Linux' task manager. So far the kde task manager has disappointed me, as has htop. For monitoring IO, I have found iotop and atop, but they feel limited, in part because ...
user avatar
0 votes
0 answers
41 views

htop - why duplicate line when I run program?

I used htop to check the system monitor. I run the program app.py but I saw 2 line display app.py run. Is my app.py duplicate run?
user avatar
0 votes
0 answers
67 views

Is there a commandline monitoring tool integrating the functionality of htop, nvtop. intel-gpu-top?

As the question title may suggest I am looking for a monitoring tool that integrates the functionality of htop and furthermore detects available GPUs and monitors them. Is there a tool like this? (...
user avatar
  • 171
0 votes
0 answers
43 views

use specific part of the monitor

my screen is half damaged, and i can't replace it because of the current condition. i wish to find a way to disable the display from the damaged area, like using the monitor as 1500x1080 float to the ...
user avatar
0 votes
1 answer
46 views

Sysdig does not show exit event for write syscall

I'm trying to capture write to stdout (or stderr), but apparently the actual data is related to the exit event. I wrote a simple C program that writes to stdout and stderr. #include <stdio.h> ...
user avatar
-2 votes
1 answer
72 views

How can i copy a file without being tracked? [closed]

I am a non-root user in a linux server. I want to copy some file in this server. but i dont want anyone to tracked this operation. Can you offer some suggestion?
user avatar
  • 101
2 votes
0 answers
152 views

Which process generated specific DNS query?

Context: I have a few Mac OS laptops, Catalina 10.15. I noticed suspicious DNS requests in our firewall logs (capable of showing DNS queries), and traced the source IPs to these Mac Books. I checked ...
user avatar
  • 151
1 vote
1 answer
34 views

NMON analyze cpu and mem 1 day

I tried to analyze one day's worth of CPU and memory using nmon on AIX, but I have an error -- why? I also want to run it in background. user@host(/home/user)$ nmon -s 900 -c 96 -m 96 -r "nmon ...
user avatar
1 vote
1 answer
52 views

cli real-time monitoring of web server traffic per second over time (ncurses)

Is there a tool that can be used to monitor the traffic a web server is processing in real-time from the command line? I'm looking for a cli ncurses tool like nload, but one that can show the requests ...
user avatar
1 vote
0 answers
386 views

Ubuntu 100% swap usage all the time

I have Ubuntu 16.04 on my VPS. I using server mainly to running web scrapers in python. Other things are django project hosted by Docker, postgreSQL database. I using netdata tool to monitoring usage ...
user avatar
  • 41

1
2 3 4 5
15