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

138 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
54 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 ...
6
votes
1answer
6k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
4
votes
0answers
782 views

Program like vnStat that filters for only external (Internet) traffic

I've been using vnStat to monitor the ethernet interface on a Linux computer, but found that it includes all local traffic. I do many file transfers from within the subnet which far exceeds the ...
3
votes
1answer
2k views

nvidia-smi equivalent for AMD APU

Is there something like nvidia-smi for AMD APU GPU? (I have A8-7600 APU) nvidia-smi can show which processes are currently running on GPU, even Xorg/system applications, not only CUDA. I'm using ...
3
votes
0answers
516 views

Nagios - Help with getting NRPE to work with check_fail2ban.sh

I am trying to monitor fail2ban with Nagios so, I found the following check via a Google search: http://nagios.fm4dd.com/plugins/manual/check_fail2ban.htm I am trying to get the check to work on a ...
3
votes
1answer
728 views

How to tell whether a process is network I/O intensive or not in user mode in Linux?

I am currently writing a program in Linux which needs to tell whether a specific process is network I/O intensive or not at runtime. I have tried some tools such as iotop and iftop, but none of them ...
3
votes
0answers
2k views

How to capture tail -f output from remote host indefinitely

I am trying to monitor a remote, embedded host that is writing output to a file: /var/log/myapp.log This host may lose power for hours. The app may be killed and restarted. On my local machine, I ...
3
votes
0answers
2k views

How can I monitor the interactions of an application with dbus?

I have a set of applications, I want to montior any and all interactions of the applications with dbus. The things I've played with don't seem to have a way of focusing on just one application. ...
3
votes
0answers
865 views

Monitor the creation of new processes

I want to get a notification whenever a new process is created. I've tried to use inotify on /proc, but it didn't report any event even though a new directory appeared in /proc. I could list the /...
3
votes
0answers
447 views

monitor running services and ports

What is the best way to monitor running services and ports on a system with systemd? My intent is to alert me, when a service stops running or if a new service is listening on a new port (possibly a ...
3
votes
2answers
4k views

IBM V7000 scripts for monitoring

Hello (I'm no hard core coder:), I try to develop a script to do some very basic monitoring on an IBM SVC. My goal is to get some information about the nodes and my quroum status and then send ...
2
votes
0answers
37 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 ...
2
votes
0answers
199 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 ...
2
votes
0answers
71 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 ...
2
votes
0answers
300 views

How to make strace keep following children after the death of the father/mother:))?

I use this command to trace all the things that are done or started from a shell. sudo strace -e trace=memory -o outm -ff -p <the pid of the terminal instance I want to trace> -f But the ...
2
votes
0answers
224 views

Hardware monitoring on AIX 6.1

We are currently trying to setup and hardware monitoring on AIX 6.1 so that we can interface it with our hypervisor, namely Zabbix. Regarding the detection, I could make up something within a script ...
2
votes
0answers
43 views

Investigating annoying short UI hangs

I just bought a new desktop machine for home (see system details below). It's supposed to be super smooth, but nevertheless I'm experiencing quite frequent UI 'stutters'. It's as in the olden days ...
2
votes
0answers
1k views

Monitoring serial port data between virtual ports

I have a problem with monitoring data transferred between 3D printer and software over TCP. I have 3D printer that is connected to Raspberry pi with usb cable. I'm using ser2net in rasbperry to ...
2
votes
0answers
317 views

How to monitor an HP-UX server for OS or hardware specific problems

It has been a while since I have last dealt with an HP-UX server. Therefore, my memory is not too fresh and I want to consult the public wisdom for this. I have a task at hand to come up with a ...
2
votes
1answer
395 views

Is there a way to monitor disk i/o patterns? (i.e. random or sequential i/o?)

While an application is running, I can monitor disk bandwidth usage using linux tools including dstat. Now I'd like to know how many sequential or random disk I/Os are occurring in the system. Does ...
2
votes
0answers
221 views

Collectd only midterm

I'm using collectd to monitor the status of my server. In my plugin LoadPlugin load, it sends out 3 values: .shortterm .midterm .longterm Is it possible to filter out .shortterm and .longterm so it ...
2
votes
0answers
495 views

htop showing less memory usage

I'm currently trying to benchmark performance improvements when using a RAM disk. So I've been giving my VM 24 of the total 32 GB RAM, and created a 16GB RAM Disk inside. It's beeing used, ...
2
votes
0answers
574 views

Why nvidia-smi's GPU so rarely reaches 100%?

I have logged the GPU utilization of my 3 GPUs (GeForce GTX Titan X) for 5 days with nvidia-smi, every 10 seconds. The GPUs were all being utilized: I count 1307 occurrences of 99 % while only 8 ...
2
votes
0answers
473 views

Per-user GPU usage on a Linux machine (CUDA)

I use the CUDA toolkit to perform some computations on my Nvidia GPUs. How can I see the per-user GPU usage on a Linux machine (CUDA)? nvidia-smi doesn't seem to contain information: I am aware I ...
2
votes
0answers
1k views

Collectd: How to sum cpu-user and cpu-system metric

I have the challenge to feed some metrics to our central metric collection infrastructure, and one of those is the total CPU usage of the system. I'm using collectd to do so. By default, collectd ...
2
votes
0answers
45 views

Smokeping list only systems down

I'm using smokeping to monitor our 400+-systems. Everything works and functions as it should. Only i want to make a view or a filter that only shows the lines that are down, or that match a certain ...
2
votes
0answers
147 views

loggedfs crashes system with “access: Transport endpoint is not connected”

I'm trying to use loggedfs to monitor my system changes, and it works great for some time, but then, eventually, it crashes and my fish shell starting to output "access: Transport endpoint is not ...
2
votes
0answers
437 views

monitor a process by matching the full cmdline

I'm looking for a software that can monitor a process (specified as a partial string/regexp match (e.g. grepping) in its full command-line) in terms of cpu and memory usage. If any of those processes ...
2
votes
1answer
76 views

Track HDD access?

How can I track HDD access? Not in a monitoring sense of MB/s like iotop. My internal mass storage HDD gets permanently woken up and I want to find the evil process with an absolute list of accesses.
2
votes
1answer
2k views

tcpdump not capturing http or tcp/ssl traffic

I have been trying to learn tcpdump and I am using this command to attempt to monitor my network: sudo tcpdump -I -i en1 But this gives me a bunch of stuff I don't want, so I used this version to ...
2
votes
2answers
727 views

Is there an auto refreshing graphical text file reader?

So, is there a graphical text reader or editor that automatically refreshes its text if the file is completely changed outside of it? I found that gedit detects file changes but refresh is not ...
2
votes
1answer
148 views

How might I log my Internet traffic, grouped by IP address/hostname, port, etc?

While I'm going to be switching to a slightly saner plan soon, being stuck on a 5GB monthly bandwidth cap has made me very data-conscious, and I'm looking for a way to log my Internet usage in such a ...
2
votes
1answer
162 views

Is monitoring rsync with a pts device possible?

I have a rsync backup script, and I was wondering about methods of monitoring it as it runs. I could have it save a log and use watch and tail, but I had a more elegant solution in mind that might be ...
2
votes
1answer
3k views

udev rule for bluetooth device Logitech

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to ...
2
votes
1answer
95 views

starts logging when the limits are hit

/etc/security/limits.conf. The file is responsible to limit resources of users/groups on a Linux server. Unfortunately, the file does not generate any logs (or the case could be that I do not really ...
2
votes
0answers
730 views

cannot set up lm-sensors propetly

I actually try to get lm-sensors to work as I wish. And my only wish is to see how the cpu is doing. (Optional HDD's, FSB and I'm open your suggestions) So I run Debian wheezy, and did a apt-get ...
2
votes
1answer
2k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'&...
2
votes
1answer
1k views

API Monitoring and Hooking

I am currently reading the "Malware Analyst's Cookbook and DVD". There is a chapter "Dynamic Analysis" and there are also some recipes about hooking and monitoring API calls of process but it is for ...
1
vote
0answers
33 views

VAAPI usage monitoring

I have Intel Core-i7 8650U processor. I transcode video with ffmpeg. I take attempts to accelerate it. Now I use VAAPI codecs in ffmpeg (h264_vaapi) and vaapi rescaling (scale_vaapi) in filters. And ...
1
vote
0answers
21 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 ...
1
vote
0answers
28 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. ...
1
vote
1answer
92 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 ...
1
vote
1answer
480 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
0answers
714 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 ...
1
vote
0answers
32 views

PMU and tracepoints

I am searching for information about the mechanism of creation of tracepoints. From this topic What are Kernel PMU event-s in perf_events list? and this blog brendangregg I've got that tracepoints are ...
1
vote
0answers
31 views

Aws how to read cloudwatch graph?

I have one instance on AWS and here is the graph from cloudwatch but those Network (in) and Network (out)? How do i calculate how much bandwidth my instance eating? They are in Bytes
1
vote
0answers
155 views

Why is `iotop` failing to show me small disk writes?

I noticed iotop is not showing me small disk writes. It completely omits them in its report. To show you what I mean, here is a little bash script: #!/bin/bash sudo echo '' # ask for the sudo ...
1
vote
0answers
135 views

auditd misses execution on some commands

I've placed an auditd rule on the jcmd command as follows: auditctl -w /usr/bin/jcmd -p x -k jvm_debug However, when I execute it, it writes nothing to log. Looking at guides and previous questions ...
1
vote
0answers
26 views

How to initiate process for a script via cronjob, monitor status, and log execution time

How to initiate process for a script that will run via cronjob, then monitor the status, and log start and stop run time. Any code snippet will be helpful... Thanks
1
vote
0answers
103 views

NSClient CheckEventLog gives no entries for id

We have a Red Hat server that runs Icinga2 with NSClient++ 0.5.0.62 to monitor some devices and services in our network. Everything works perfectly fine except for one new check I'm trying to use. I ...