Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
25 views

Monitoring solution wihtout client-install

I already wasted days to look for a very minimalist (cpu/ram/ping/ssh/disks) monitoring tools that discover hosts by itself instead of installing a client application on each host. (I can accept ...
1
vote
0answers
14 views

System statistics from different utilities don't agree

I am running an Aliyun instance with 8 vCPUs to do some high performance computing, so I want to make full use of the machine. In other words, extremely high CPU usage is not a problem; instead it is ...
0
votes
1answer
62 views

Print the output of an interactive command in a shell script

I am writing a CGI script to monitor the system state, so the information must be outputted to the terminal with echo or cat. The problem is, systat is an interactive command, so it doesn't print ...
0
votes
0answers
7 views

How increate KsysGuard exit process grayed out timeout?

When a process exits, ksysguard make it gray for just a second before removing it from the process list. I would like for it to keep showing for the next 10 minutes, so I can easily see old processes ...
2
votes
0answers
27 views

Run Command When IO Load Average is Low?

I have a bash script which calls an external program I cannot modify. The first stage of this program uses high IO and the second stage uses almost no IO, instead it uses a lot of CPU, it does not ...
1
vote
1answer
38 views

What makes my disk spin? [duplicate]

TL;DR Is there a way under Linux to know which file access caused an hard disk to spin up? Full story My laptop has a NVME disk, which contains the operating system and my home dir, and a spinning ...
0
votes
0answers
11 views

How to use the 2nd monitor to only show textmode vt1 with critical log info?

I have one graphics card with 2 OUTPUT ports: VGA and HDMI and 2 led monitors. On the 1st monitor, the HDMI one, I use the graphical environment (Unity/KDE/Gnome etc). Using NVidiaSettings, I can ...
0
votes
1answer
189 views

Record and later check running services

In a presentation, I saw a command line tool mentioned that is able to record the running services (and the listening ports opened by them) as a baseline and later check against that baseline and ...
0
votes
0answers
26 views

monitoring hardware

I have a laptop with a fingerprint reader that is currently doesn't seem to be supported by linux (integrated in lenovo yoga 920). But I am quite curious if it is at all possible for me to listen to ...
0
votes
0answers
15 views

Proxy Java requests Burp

I am monitoring a website which asks the user to download a jnlp file which requests and executes some jar files. Using the GUI, I set a proxy in the java network settings to 127.0.0.1 8080 for every ...
0
votes
1answer
43 views

How to monitor cron maintenance scripts?

My home server runs a couple of shell scripts regularly for maintenance tasks - mostly backup, but also other stuff. I would like to be alerted in case anything fails but also keep a log of when it ...
0
votes
0answers
19 views

SER2NET “Tee or Wedge”

I am successfully using SER2NET on a Raspberry Pi to translate RS-232 data to Ethernet. But I would like to "watch" the data coming from the serial port for a certain string, and if there is a match, ...
0
votes
1answer
66 views

Monitor traffic by ip

I have machines with one interface eth0 with multiple different IP addresses attached to it (255) to be exact, interfaces look like this eth0:1, eth0:2 ...eth0:254. I want to monitor the traffic for ...
6
votes
1answer
84 views

Monitoring CPU% of Tabs in Firefox

Sometimes, when I have numerous tabs open in Firefox, one of those tabs will start consuming a lot of CPU%, and I want to know which tab is the culprit. Doing this is a very manual process for which I'...
1
vote
0answers
55 views

Best way to get precise measure max memory usage and cpu time [duplicate]

I need to test huge amount of applications that will run mostly about 100ms to 1s(pretty fast). I need to measure max memory usage and cpu time on each of them. because they fast I can't just check ...
0
votes
1answer
52 views

Is it possible to check the connectivity between 2 linux machines by pinging from a third machine?

What is the ping and traceroute command option to use in order to check the connectivity between 2 machines (machine A and machine B) using my machine (machine C) ? How do I specify the source machine ...
1
vote
0answers
14 views

can dstat sum network and disk activity?

i'm setting up a simple perf log using dstat as a systemd daemon that dumps to a csv file. i got it working but noticed that it only records what appears to be moving averages over the given interval. ...
2
votes
1answer
201 views

Send sar series to grafana [closed]

sar of sysstat package produces a lot of useful information about system usage regarding various resources; My question (since after a brief query I was unable to find a useful suggestion / solution) ...
1
vote
1answer
79 views

Aggregate usage stats by user

I'd like to look at the aggregated usage information at a user level. Basically hoping for a tool similar to htop but with the option to sum up all the processes for a user, for every user.
1
vote
1answer
134 views

How do I use jpnevulator to capture and log the serial traffic between an application and hardware serial port?

OK, I've been googling for hours so I obviously have not been able to understand the answers to the various questions that have already been asked about this subject. I am hoping that, by asking the ...
3
votes
1answer
90 views

Get latest output of a running command

I have a command running for a long time, which I don't want to disturb. However, I would like to keep check on the process (most of the time remotely). I am constantly monitoring the process via ...
5
votes
1answer
158 views

Monitor network traffic of a process and its entire subprocesses tree

I want to know the amount of the network traffic (inbound and outbound) in a time period, generated a specific process and all subprocesses that it spawns. I have developed a software that contains a ...
1
vote
1answer
60 views

How to log a process's uptime and restarts

I know that I can check a process's uptime with the following: ps -o etime= -p "PID" where PID = pid number. I would like to write to a log when this process ends, and include it's uptime. The ...
0
votes
1answer
80 views

Automatically restarting a process when it dies?

I have a process running on a raspberry pi. After ssh ing into in to the process is started like this: nohup .../blah/blah & IIUC this allows me to log out of the pi and the process keeps ...
4
votes
0answers
39 views

How can I see queries to gpg-agent?

I am using gpg-agent together with a Yubikey to securely store my GPG keys. In addition I've enabled so that whenever a authentication, sign or decryption request happens I must physically push the ...
3
votes
3answers
70 views

Is there a program that can log network traffic by the process and domain names?

I would like to figure out which processes are communicating with which websites over a period of time. All what I found programs like ss that list the connections that open this instant and then exit....
0
votes
2answers
108 views

Monitoring of disk space on multiple Linux server using expect script

I'm trying to write a script using Expect for monitoring multiple servers; the connections will be through ssh using a password. My basic loop is self failing, I'm not sure whether Expect TCL ...
1
vote
0answers
48 views

Weird issue with network tap [closed]

I have googled this to death and can not find an answer that works. Basically, I am mirroring a port on a Nexus switch to a server. The server receives a bunch of packets, no big deal. The issue is ...
0
votes
0answers
116 views

Why does iotop not show some processes with high disk IO? And what tool will?

My disks are being read from at their maximum rates, but iotop shows nothing accessing the disks except a few blips here and there. I've tried iotop -o and -ao and barely anything is accessing disk. ...
1
vote
3answers
132 views

What do “writes / reads issued” refer to in atop's DSK label?

Context: I'm writing a script that calculates a service's I/O usage from atop history for the last 2 minutes (where atop's sampling is configured to be per 1 minute). I'm using the following command ...
-3
votes
1answer
25 views

Setup a monitoring server to get alerts when hw/sw failure and wanted to define certain rules to monitor in server activity [closed]

Setup a monitoring server to get alerts when hw/sw failure and wanted to define certain rules to monitor server activity. Also I wanted to get alerts when something get crashed or when sensitive files ...
1
vote
2answers
116 views

How to pause command when it output some string?

I need a tool that monitors output of other command, and when it prints specified string, eg. "error", stops monitored command. Then I modify some environment and files and continue job. Is it ...
0
votes
0answers
955 views

omiagent: is stopped showing stop state

I am getting the error while running the scxadmin service on RHEL 6.9. ~]# scxadmin -status omiserver: is running omiagent: is stopped I have checked logs but logs are showing empty. ]# pwd /var/...
2
votes
1answer
78 views

Writing CPU Temperature to Port 0x80 Bios Debug Card with Bash Script

I have a port 0x80 BIOS post debug card installed in a PCI slot. I want to use it purposefully after booting by having the CPU temperature displayed on the card. The address takes one byte and is ...
0
votes
0answers
14 views

OSSEC-agent include GPS geolocation with alerts

I am trying to add geolocation to my log alerts based on actual GPS data, NOT IP address. Let's say my current location is stored in /var/local/gps file. Would it be possible to read that file and ...
1
vote
1answer
70 views

Is it possible to monitor all write access to the filesystem of all process [closed]

Is it possible to monitor all write access to the filesystem of all process under linux? I've some different mounted filesystems. A lot of them are tempfs. I'm interested in all writes to the root ...
0
votes
0answers
17 views

How can attempts to create or modify on th local file system file and get a file via the web from a specific address be monitored in real-time?

My web server got hacked and after not being able to tell what executable it was running I inquired as to how to detect the file name, which I asked about earlier at How can I diagnose a process which ...
0
votes
1answer
362 views

Error opening device /dev/sysdig0: make sure sysdig-probe module is loaded [closed]

I'm running Linux 4.16.8-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux. I've installed the sysdig package, and trying to run it, I see: $ sudo sysdig Unable to load the driver error opening device /dev/...
0
votes
0answers
156 views

Finding User With High Resource Utilization Of System Using Sar

Ok sar is a great tool, you can check into history of cpu utilization by processes, or atleast that's what so far I've explored. On live systems, load averages are supposed to get high peaks, so I ...
0
votes
1answer
389 views

How to redirect service email notifications sent to root

How can a linux box be set up to send service emails from ' "service name" @ "machine id" ' to a non-root email account? Example1: to: manager@mail.com from: cron@machine**1**.com Example2: ...
0
votes
0answers
24 views

How to stop nagios from initially pulling a report?

I work with the nagios webapp with a rather large number of machines; so many in fact that when I pull up the report window the window times out when it does it's inital "today" query. If I'm fast ...
2
votes
0answers
129 views

What is “cooked mode” wifi monitoring?

The following is an excerpt from iw's help page: dev <devname> set monitor * Set monitor flags. Valid flags are: none: no special flags fcsfail: show frames with ...
0
votes
1answer
31 views

Debug possible SSL/TLS problem?

I'm running into a couple networking issues which I suspect could be related to SSL/TLS, but I'm not sure how to go about confirming that that's the case. The main problem I'm having is I'm unable to ...
0
votes
1answer
29 views

Hide / ignore the packets you are creating in iptables firewall when connected with ssh into a Linux machine?

If I'm using SSH to remote into a machine and I'm running a command like: sudo iptables -L -v -n how do I get a packet hit count that excludes the packet traffic I'm creating by using SSH? I mean I ...
1
vote
1answer
329 views

Monit alert/exec when host is back to normal

I use Monit to quick check uptime of Elasticsearch service. Here is my configuration: check host [Elasticsearch]-test with address 1.2.3.4 if failed port 9200 protocol http ...
1
vote
1answer
57 views

Using one PC on LAN to monitor traffic usage on other PC's on same LAN

I have a cisco epc3825 cablemodem that provides internet to a number of PC's via Wifi. I'd like to add Linux PC on the LAN to monitor traffic usage on all PC's on the same LAN. Is this possible? Would ...
0
votes
0answers
67 views

how to convert vnstat database to bits base 1000

My server have 10 TBytes data-traffic. How can I convert the vnstat DB from base 1024 to base 1000 ?
1
vote
0answers
584 views

Prometheus and InfluxDB as long time storage

I'm trying to connect prometheus to influxdb to store data longer than 15 days. Grafana and Prometheus are working if promehteus isn't connected to influxdb. Following I posted my error and all the ...
0
votes
0answers
904 views

monit and run script

I want monitor MariaDB with monit tools. my monit script is : check process mariadb_pid with pidfile /var/lib/mysql/db1.pid check program telnet with path "/root/telnet.sh" if status eq 99 then ...
2
votes
0answers
59 views

Available disk space drops, while used space stays almost still

Recently I found out that on one of my servers (Ubuntu 16.04) I get significant drops on free disk space, at nights: zooming to the last 1h (from right now): one can see this happens abruptly. Just ...