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
2answers
198 views

Is there any parseable process monitor?

I'm looking for a process monitor that produce an easy to parse output to stdout. Is there any tool like that in unix? Something like htop or top, but mean to be consumed by another program. To be ...
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 ...
6
votes
1answer
207 views

How to find what programs are reading my file?

I have a configuration file and want to learn what executables are using it (if any). I want to catch who is the reader of this file. If I watch with some interval, I miss it, because the read ...
1
vote
1answer
81 views

How can a shell script perform actions if the file creation time has passed 5 minutes?

I want to write a script which could be scheduled to run after fixed intervals in such a way that every time when this script runs, it checks the creation timestamp of another file called HOSTNAME_FA....
3
votes
4answers
6k views

How to run “source .bashrc” automatically after I edit and save it?

Is it possible to automatically run "source .bashrc" every time when I edit the bashrc file and save it?
4
votes
3answers
7k views

Best/Good tool for monitoring a server, with web interface? [closed]

I'm pretty new to Linux and I'm looking for a monitoring tool that has a web front end. Specifically looking for stats on the following: Storage space, Used/Free CPU Activity CPU Temps RAM Usage ...
2
votes
2answers
958 views

Network monitoring tool for Linux

I am using my ubuntu system as an internet gateway. I am searching for a Network monitoring tool (Web based or command line based) with which I can see which computers from my network are ...
2
votes
1answer
592 views

Monitor disk io for most writers

I need to find out which process if likely responsible for damaging SD card on raspberri pi due to excessive io. So far sudo iotop -aoP almost cut it. Got it from the answer on How can I monitor disk ...
1
vote
1answer
1k views

atop peak memory usage from log

I have atop logs stored on a dayly basis with 10 min interval and I can read them with atop -r <path_to_log>, but how can I find a peak memory usage in this log?
1
vote
1answer
124 views

How do I monitor resource consumption of a process starting up?

I am trying to figure out how to monitor or figure out how much memory/cpu/time it takes to start a specific process in linux. Many tools I have looked into such as pipstat, perf and atop all require ...
2
votes
1answer
664 views

How to monitor whether a file was created?

I need to monitor if, for example, file /tmp/somefile123 was created after some events. I tried to use inotifywait but here is a problem: # inotifywait -q -e create /tmp/somefile?* Couldn't watch /...
2
votes
1answer
575 views

monitor disk writes by directory

I am trying to track where excessive disk writes are coming from whether by mail coming in, db writes, logs or another source. There are about 75 accounts on the server, some active and some not. Is ...
15
votes
5answers
2k views

How to check which line of a bash script is being executed

Is there a way to check which line number of a bash script is being executed "right now"?
0
votes
1answer
82 views

How can I view which files are being read or written at a time in Linux?

I am running a corporate-issued remix of Red Hat Enterprise Linux 6.7. Every now and then, my hard drive will slow down to a crawl due to non-sequential file reading activity, and I believe it might ...
0
votes
1answer
389 views

What are the differences between Port-mirroring and Ping-echoing?

I am building a communication network using Ethernet between a mobile platform and a base/controller station. So packets shall be sent from the mobile platform to the base station only. So, I need to ...
0
votes
0answers
377 views

Glances' sensors plug-in: “No such file or directory: '/sys/class/hwmon/hwmon0/device/name'”

I use Glances (mirror) to monitor on my computer (Ubuntu 14.04.5 LTS x64 + Glances==2.8.5. Upgrading to the latest version Glances==2.8.8 did not help). After installing the sensors (mirror) plug-...
4
votes
1answer
154 views

How can I monitor in real time the changes to the browser's WM_NAME

I need to check how the browser's WM_NAME (let's say google-chrome) is changing in real time. How can I do that ?
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
3
votes
1answer
414 views

How to monitor CPU voltage for a Dell XPS15 9550 (Skylake i5-6300HQ) under Linux

I've been using Linux for 99% of the time on my Dell XPS15 9550. It has an Intel i5-6300HQ (Skylake) CPU. On Windows, I can monitor the voltage of the CPU using a plethora of different software: ...
2
votes
1answer
700 views

What if I set DPI bigger than monitor's PPI in gnome using xrandr?

I have a monitor with resolution 1440x900, 19 inch, whose PPI is 89.37. I can set the screen DPI with command: # xrandr --dpi 100 But the problem is my monitor's PPI is only 89.37, how can xrandr ...
3
votes
1answer
77 views

Can kernel know when a file being read?

I would like to know when a specific file is being read and logs the process ID and executable name and also notify me by sending an email using mail. Can kernel module do this? Is kernel module the ...
1
vote
2answers
519 views

Why does iotop not show the same as iostat? Why is there a difference?

On my Raspbian 8 (Jessie) system iostat -dzp 5 |grep -v "k0 " shows me : Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk0p2 0.80 0.00 3.20 ...
1
vote
1answer
260 views

Monitoring Power Supply on Lenovo system x3650 m5 (8871) on RHEL7

This question is related to Monitoring CPU fan speed on Lenovo system x3650 m5 (8871) on RHEL7. After the monitoring of the Fan i need to monitor the status of the Power Supply. Here ipmitool doesn't ...
1
vote
1answer
661 views

Monitoring CPU fan speed on Lenovo system x3650 m5 (8871) on RHEL7

I need to monitor an Lenovo system x3650 m5 (8871) server. Unfortunately lm_sensor just show the CPU temperature. Do anyone have an advice, how I could monitor the fan speed with an commandline tool? ...
1
vote
2answers
105 views

Has linux got some kind of monitoring or alerting infrastructure build into itself

In our company there are around 30 to 40 virtual linux machines. Every linux vm has maybe 3 partitions. And every now and then, somehow, a partition gets full and brings one or more applications to a ...
2
votes
1answer
327 views

last reboot -F shows overlapping timespans

I just found some odd behaviour on one of our servers that I can't explain myself. It is about both middle lines. I would assume that the timespans for the boot user must not overlap, however, they do:...
0
votes
2answers
2k views

Problem using tail and awk to monitor log and execute a command

I want to monitor a log file in real time, and execute some commands when some sentences appear in the log. I searched this site (and many other sites) and these are what I tried: tail -f /var/log/...
1
vote
0answers
96 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 ...
-1
votes
2answers
2k views

Adding timestamp to TOP command output [closed]

I need to monitor CPU and memory utilization/user by date/timestamp(hourly). In below 'TOP' command I need to add date/timestamp field also, so that I can prepare hourly rpeort of CPU usage Can ...
4
votes
2answers
5k views

How to monitor tcp traffic between my localhost and IP adress

I would like to know how to monitor tcp traffic between my localhost and IP address keeping activities in a file. I tried iftop and tcptrack but I can not keep activities in a file. These tools don't ...
2
votes
1answer
65 views

Use head command or similar to determine when bytes change in a file

If we use the tail command we can listen for events representing changes to the files length (in bytes). I am looking for a way to listen for events when the content of the file changes but the ...
0
votes
2answers
456 views

remote server monitoring without public ip

Hello I have a set of raspberry pi installed on a client location. The RPis has internet access but not public ip. I was looking for an opensource solution to monitoring the devices some kind of ...
0
votes
1answer
871 views

Automatically screenshot capture of Zabbix

Is it possible to have a automatic screenshot capture of Zabbix CPU & Memory Graph Is there any 3rd party tool which can be implemented with Zabbix for capturing the screenshot. As a status ...
1
vote
1answer
679 views

How to monitor paging activity per process?

I found that vmstat gives: si: Amount of memory swapped in from disk (/s) so: Amount of memory swapped to disk (/s) (and here I understand that swapping and paging are being used interchangeably) ...
1
vote
1answer
181 views

Do the figures on /proc/<pid>/io include paging and swapping I/O?

I know that: paging and swapping is done to/from the disk /proc/io gives information of disk I/O However, I am not sure if /proc/<pid>/io includes I/O that was expected to be done on RAM but ...
1
vote
1answer
73 views

How to get list of touched files between 2 points of time? [duplicate]

I need to get a full list of files modified, and if possible files accessed too, by a complex script, as well as all files accessed at the same time of the script running by any other process. So i ...
-1
votes
1answer
80 views

Monitor all ressources use? [closed]

Is there a program to monitor all ressource utilzation at once for a personal computer : CPU, memory, hard drives ?
0
votes
1answer
811 views

How to specify nrpe port in icinga / nagios

I have 2 servers behind NAT, both have same public IP and NRPE is listening on non-standard ports. I would like to monitor them both using my central icinga server, but I can't find where can I ...
1
vote
2answers
682 views

Reset vmstat statistics without rebooting

Running vmstat will give you the average virtual memory usage since last reboot. The si and so values give the average virtual memory I/O. For example: root@mymachine# vmstat procs -----------...
1
vote
2answers
86 views

Monitor accesses to directory on a Linux machine [duplicate]

How would you monitor a directory on a Linux machine to check if there was a user (or someone from the network) who attempted to access it?
1
vote
1answer
63 views

How can I view the state of and control a python script running regularly on a server?

I have a python scraper on a server which runs a few times per day and also writes some logs. What's the best and easiest way to know what's going at any given time: is it running, everything working ...
1
vote
0answers
63 views

Nagios/SNMP - devices alerting when ppp/tun connections cycle

Sorry if this is a repeat. I searched, but with no luck. I'm using SNMPd on an openwrt/wr host with some ppp and tun connections. These connections get IDs in the if table, and will actually get a ...
9
votes
1answer
3k views

How do I interpret the output of intel-gpu-top and intel-gpu-overlay?

I have these commands compiled and running but their contents are a bit of a mystery to me. The processes from intel-gpu-overlay read something like: 15R, 16B, 41ms waits. What is an R, what is a B,...
0
votes
1answer
473 views

Remotely monitor network traffic of servers

Is it possible to remotely monitor network traffic of a server or more and log their result if necessary? The reason why I'm looking for a tool to capture my servers' network traffic, is that I was ...
3
votes
3answers
2k views

Monitor chmod progress

I'm currently changing the permissions and ownership on a 4TB HDD filled with files. Is it even possible to monitor the progress of commands such as chmod and chown?
7
votes
2answers
2k views

How can I monitor the length of the accept queue?

I have a hypothesis: sometimes TCP connections arrive faster than my server can accept() them. They queue up until the queue overflows and then there are problems. How can I confirm this is happening?...
1
vote
1answer
76 views

Fcs synchronization error monitoring

On the server for everyday there will be a file with name "xxxx_xxx_2016-11-08_0.log" on the lcoation /usr/logs the date changes every day in the file name but format is same, there is one file per ...
7
votes
4answers
5k views

Linux tool to monitor bandwidth consumption of a specific process (PID)

Is there tool or a command that helps capture the bandwidth consumption of specific process (PID), just like the System Monitor does, but for a single specific process, as shows the following ...
0
votes
1answer
132 views

Creating alert notification if process stops touching file

I have set up a very simple script so that I can test whether a process is running or not and if so then it will touch a file and everything will be fine. However if process is not running and file ...
1
vote
1answer
554 views

Where does vmstat get it's “used memory” statistic from?

If you run vmstat -s, it displays statistics about your system. I am wondering what it does to calculate the used memory statistic (highlighted below). This is not a statistic that I can find in /...