People who code: we want your input. Take the Survey

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
0
votes
0answers
24 views

Status(UP/DOWN) of Session based Application hosted on Tomcat server in UNIX

I need to check the status (UP/DOWN) of an application (https://w45ra0377.abc.com:12345) that is hosted on a server in UNIX. This is a session authenticated application. I tried with the below CURL ...
1
vote
2answers
262 views

Get current network utilization via /sys/class/net

Playing around with some low level functions to monitor my system stats. I would like to get the current network utilization the same way like I can get cpu temp cat /sys/class/thermal/thermal_zone0/...
5
votes
1answer
215 views

How to trace DMA?

I am working on software that communicates with a PCI card through direct memory access (DMA) transactions. My programs use a suit of drivers and a library that handles the DMA. Everything runs on a ...
3
votes
1answer
997 views

arch linux hdmi not detected

today I started my laptop, but my external display was not working. I ran the command xrandr: Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 eDP1 connected primary 1366x768+0+0 (...
0
votes
3answers
48 views

File access monitor

If a non-root malware is trying to crack the users' password, which password files or even memory part it has to access? How can I monitor and tell if the password files get accessed by the malware?
0
votes
0answers
8 views

Monitor the resource consumption during a system load and send a report to a file

I would like to monitor the resource consumption (cpu, ram, disk) during a system load and send a kind of report to a file during this load, RHEL7 operating system. Can you recommend any way to do ...
3
votes
1answer
30 views

How can I monitor for processes that take up 80%> of the cpu for more than a minute?

Sometimes I encounter a process that should have been killed, but instead has been using 100% of the cpu for a while (more than a minute). I'd like some way to notify myself if this situation occurs. ...
2
votes
1answer
58 views

AIX command to kick out warning light

I am using very old HMC V7; I cannot upgrade this HMC and I have a problem. I just cannot remove the warning light of my server vio via HMC after a hardware replacement. I heard that there's a ...
1
vote
2answers
48 views

Cumulative resource usage

I'm managing a few compute servers w/ roughly 20 users each. I'm using htop to view current resource usage, however it would be very helpful to have a log of a specific user's cumulative memory and ...
0
votes
2answers
104 views

How to monitor read & write speed to specific device or mount point

How can I monitor the read & write speed to a specific device or mount point in Linux, for example /dev/sdc2 which is mounted to /mnt/data/? Would like to display the speed in MB/s for example and ...
0
votes
0answers
49 views

Monit “Restart Process” action not working

I've created a Monit config file for one of my services. The configuration file is pretty simple: check process myservice matching "myservice" start program = "sudo systemctl start ...
0
votes
0answers
36 views

Why do I get an error when setting monitor mode if the interface is monitor mode capable?

I have these features on my system: iw list Wiphy phy4 max # scan SSIDs: 10 max scan IEs length: 255 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 ...
1
vote
1answer
40 views

How can I see which process does the most writes on a specific partition?

I am using Debian Buster and would like to find out which process does the most writes on a specific partition, just like iotop but limited to a single block device?
1
vote
0answers
82 views

Tell nagios not to warn about non-critical updates

I use nagios to warn if there are apt updates available on my Debian buster server, but I want to use this option: -o, --only-critical Only warn about upgrades matching the critical list. The total ...
0
votes
0answers
13 views

Monitor log files and alert when changed but not when content is added

How can it be technically achieved to monitor log files and alert when the file has been deleted and the contents have been changed, but not in the case bytes were added? Ideally this solution should ...
0
votes
0answers
51 views

Very high kernel procces time usage in new, idle server

We've recently installed a new server, which shows very high process usage in the kernel - as seen here with htop: the cores and memory are reserved - so the usage is normal - but I've never seen ...
0
votes
1answer
33 views

Prometheus Alert Manager error “component=cluster err=”couldn't deduce an advertise address“ and ”unable to initialize gossip mesh"

I'm new to Prometheus and I'm trying to install Alert Manager module. Using Prometheus 2.19.2, Node exporter 1.0.1 and Alert Manager 0.21.0 on Debian 10. Configuration files: Prometheus: alerting: ...
2
votes
2answers
59 views

monitor IO of a running user's executable file read/write

How to monitor IO of file read/write by a running user executable's, just like Windows Process monitor when being set to file-related monitoring only ?
0
votes
2answers
28 views

real time identifying where disk is filling up

I have a 5TB RAID volume mounted as /data and it is always near 100% full. It is currently at 99% full saying 68GB available via du -sh. It hits 100%, user's can't write to it, we clear some data ...
0
votes
1answer
255 views

Start SMBD (Samba) with profiling parameter (For NetData)

I am trying to set up Netdata monitoring on my debian server. Netdata works with everything but Samba. To get it to recognize samba I have to do the following: smbd must be started either with the -P ...
0
votes
0answers
180 views

Installing cadvisor on Isolated containers with a user namespace

Problem: Seeing below error, Command ran as below: [root@testvm]# docker run -d --name=cadvisor -p 8080:8080 --volume=/var/run:/var/run:rw --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/...
0
votes
1answer
341 views

Program to monitor CPU and Memory usage

I was wondering, if there is a program similar to time, but instead of just printing out the time it took to execute the command, it also prints out the average CPU and Memory usage. Alternatively a ...
1
vote
3answers
18 views

Monitor how far the SEQuence has got

I have the following script which has been running for over 3 days: seq -w 1 1000000 | while read i; do (./myscript.pl $i >> output.txt); done Is it possible to find out how far it has got with ...
4
votes
1answer
364 views

Trigger a script when OOM Killer kills a process

I do a lot of work on in the cloud running statistical models that take up a lot of memory, usually with Ubuntu 18.04. One big headache for me is when I set up a model to run for several hours or ...
1
vote
1answer
113 views

Inline tool for Linux process time series for CPU and memory

I have a Ubuntu server. There are some jobs running. I have to monitor their CPU, memory usage over complete time of their execution (time series). I know there are a lot of CLI tools like top, htop ...
1
vote
1answer
140 views

How to see which devices on a network use your unix NTP server?

I'm running a Unix server with NTPD version 4.2.7. I have various clients using this as its main NTP server such as other unix servers, cameras, IOT devices, etc. I want to get a list of which IPs are ...
0
votes
1answer
57 views

How in Linux can I get traffic of every ip address on a single interface, with multiple IP addresses?

In my scenario, my host has a network interface with multiple IP addresses. I want to get the traffic of every IP address. I want to get received and sent packets and bytes, and error packets. My ...
1
vote
2answers
2k views

No monitor mode on Atheros QCA9377?

I'm running Fedora 31 Security Lab updated to the latest on Acer, with wireless driver ath10k_pci. The case is is that when i run airmon-ng there are no captured packets. Does the hardware is ...
0
votes
2answers
379 views

How to get server uptime of AIX server results in seconds

In Linux, I can get the server uptime results in seconds (value) by using below command cat /proc/uptime But in AIX, we do not have uptime in /proc. If I just type uptime, I get results in days, ...
0
votes
1answer
27 views

How to evaluate SAR data?

I know how to collect and make use of the data gathered by the sar tool, but I don't know how to interpret it correctly. For example, PAGING: I can see that my pgpin is 300.000 but how can I tell if ...
1
vote
1answer
120 views

Tl WN722n v3 installation problem

When I use the make all or make command this error appears. I need help..!
0
votes
2answers
245 views

Use inotifywait to build after all files are copied

I am using inotifywait to copy files and the build them. But how do I get it to copy all the changed files and build once? A simple script will build 3 times per file changed (something to do with ...
2
votes
2answers
1k views

Display PPID and output to file using top

I am trying to monitor the CPU, RAM and computing time of a process, and all the children processes that it generates, using the Linux top command. I found that I could store the output of the top ...
2
votes
1answer
263 views

what does htop stand for in Linux?

Can someone please explain to me what htop mean? or refer me to a resource that explains it NOT tell me how to use it?
0
votes
2answers
151 views

Speedtest-CLI output for monitoring

So I'm pretty new to Linux and I really can't figure it how to. So I wanted to make a useful output for our monitoring Tool with speedtest-cli. We have to monitor download and upload speeds for ...
1
vote
0answers
54 views

Detect if button in specific window is visible

I'd like to know if there is any way to detect visibility of some control in some application. I need to periodically monitor if there is specific application opened and visible on screen and if ...
2
votes
1answer
112 views

How to test a disk that does not support SMART for errors?

I have a Raspberry Pi (running Raspbian) that is booting from a microSD card. Since it's acting as a home server, naturally I want to monitor the microSD card for errors. Unfortunately though, microSD ...
1
vote
1answer
1k views

Standard way to check the hard drive temperature without installing additional packages

I want to check the temperature of my hard drive without installing hddtemp or smartctl. Is there a standard UNIX way to do this? For example, to check the CPU temperature one doesn't need to install ...
0
votes
0answers
42 views

How to read/write data to my ttyS0 port on my HMI running on Linux? [duplicate]

I've purchased a HMI running on a stripped down Linux (C compiler missing). I connected the HMI to my network and I'm able to acces it by powershell. What I'm trying to achieve is to write data to ...
1
vote
1answer
1k views

Show CPU, RAM, and Battery values in text in Xubuntu's top panel

I have a fresh install of Xubuntu 18.04 LTS. I'd like to display in text, not in graphical form, the CPU (% used), RAM (% used), and Battery usage (% avail.) in the top panel near the clock. I'm ...
1
vote
2answers
2k views

What is “effective used” memory on Linux? “used” or (“total”-“available”)?

I need to display in GUI for operator used memory vs available on Linux Server So what would be logically correct value to display as usage? [root@host ~]# free total used ...
0
votes
1answer
49 views

background C program monitoring

I'm debugging a C program running on a remote server. This program saves ~3MB data files to a directory and prints strings to the terminal every 10 seconds with an infinite loop. If I ssh into the ...
0
votes
1answer
129 views

monit:3: syntax error '='

I am trying to set up my virtual machine to shut down when my program completes, to stop the charges. I have written the following .monitrc for this purpose: SET DAEMON 30 CHECK PROCESS py MATCHING /...
1
vote
1answer
645 views

No such file or directory: /sys/kernel/debug/usb/usbmon/

I am trying to install wiresahrk on my linux mint 19.2 machine. When executing as root it says: The capture session could not be initiated on interface 'usbmon1' (Can't open USB bus file /sys/kernel/...
-1
votes
1answer
46 views

How to monitor all file writes and reads initiated by a particular application?

How can I monitor in real time, which files an application reads and writes to while it is running? In my particular case I want to monitor korganizer.
0
votes
3answers
681 views

Root “/” directory is consumed 100% and the system restarts, need to find the root cause as after the restart the usage is down to 75% [closed]

I am facing an issue that the system restarts after the following error is encountered and after the restart the usage is down to 75%. dfmon[16139]: CRITICAL: Disk Free Monitor: 102 #Filesystem "/" ...
-1
votes
1answer
27 views

RAM bandwidth activity

I compile sources in /tmp mounted into RAM. I'd like to know fast it is! That's show/monitor I/O activity (MB/s) for this device. If I want to monitor HD bandwidth I would have used tools like iotop ...
0
votes
2answers
1k views

How do I extract current process CPU usage by path/command and print it to the console

I'd like to get current process CPU/memory usage% by process name/path and print it to the console. The command should output one number and not provide an ongoing data flow like ps. ps -p PID doesn'...
3
votes
1answer
815 views

libvirt kvm cpu/memory stats collection

We are running virtual machines in kvm and i am trying to collect metrics and send it to influxdb + grafana for graphing. I can see CPU stats using virsh but its in time in second spend, how do i ...
0
votes
1answer
21 views

Process three lines together and repeat the process when delimiter is found until end of line

We will have a scenario where we check the status of a cluster and if any issues are found, we want to take 3 attributes of the output and send the information to an event management system. This is ...

1
2
3 4 5
14