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
188 views

monitor simple process output

On my system I can check a job's status using qstat: $ qstat 2048930 Job ID Name User Time Use S Queue ------------------------- ---------------- ------------...
0
votes
2answers
1k views

How to find processes which uses the most RAM in last X seconds?

Could you please help me to sort this out? I'm trying to write a bash script which will monitor ram usage (not only ram but cpu and network as well) and show me 3 processes which use the most ram in ...
0
votes
1answer
63 views

Network monitor - delay

I am currently running Kali Linux on Raspberry Pi 2 and using it as network monitor. I have developed my own C application with libpcap and I am getting average delay on LAN about 300 microseconds, ...
0
votes
1answer
1k views

Count number of tcp connections per second

I have a service which can only handle a max of 10 requests per second and I need to monitor how often this is exceeded. I have seen various solutions with tcpdump, ss, netstat, ntop but none seem to ...
1
vote
2answers
632 views

Tracking/Monitoring Short-Lived CPU-Intensive Process on one CPU

So I've been working with this issue for some time now, and I'm having trouble finding the tools to troubleshoot this problem, which I have to imagine exist. So here's the basics of my problem: We ...
0
votes
1answer
92 views

Capture specific string and send notification every time

This is a script in bash. Here Which capture a string "ERROR: your TCP- connection is dead." from a Live dynamic log file. Here the name of a log file "TcpRcpt.log" which contain sample of a log ...
0
votes
1answer
2k views

FileSystem monitoring using a config file

I am trying to monitor filesystem space using a shell script. That script should refer a config file that has alert status constraint. The config file is as below FileSYSTEM WARNING CRITICAL /...
1
vote
2answers
769 views

How to detect which process filled up disk space

During weekend my Debian based proxy crashed due to insufficient free space. After reboot it was fine again, so on monday I went hunting for logs and/or explanations for saturday hang but I couldn't ...
0
votes
1answer
982 views

nagios SSL handshake

I have nagios client which gave sudden error after an upgrade. I reinstalled nagios-plugin and nrpe agent again but unable solve error. This version uses nrpe under xinetd. # /usr/local/nagios/...
0
votes
2answers
4k views

Memory usage and space disk on Solaris 11

How can I monitor Memory Usage: 33/512MB (6%) Disk usage: 4.2/20GB (23%) CPU Load: 0.01 on a Solaris 11 System? I want to make a script to monitor my desktop resources.
21
votes
4answers
21k views

Monitor hard disk activity [duplicate]

In a Ubuntu 14.04 server I am experiencing a massive hard disk activity which has no apparent justification: it comes as a burst, it lasts a few minutes and then disappears. It consumes system ...
1
vote
2answers
4k views

Monitor and limit internet bandwidth per network client

On a linux server with dhcpd that acts as the internet gateway for all clients of the LAN: how can I monitor the internet usage based on IP/MAC address, and deny internet access if a certain bandwidth ...
5
votes
3answers
708 views

How can strace monitor itself?

I have a hypothetical situation: Let us say we have two strace processes S1 & S2, which are simply monitoring each other. How can this be possible? Well, in the command-line options for strace, -...
1
vote
1answer
98 views

Connect gnome-system-monitor to another (headless) machine

This might be a shot in the dark, but I am wondering if there is a way that I can connect my system monitor on my computer to my headless box. It would be awesome to somehow use that interface ...
2
votes
0answers
219 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 ...
1
vote
2answers
49 views

How much was uploaded in the last five minutes?

I do not need some kind of realtime visual status of my ethernet - I want to run my script when last five minutes I uploaded less than X. So I need to get only one number from some command. What can ...
3
votes
2answers
4k views

How to detect and warn if a process is using 100% CPU for a long time?

Every now and then (every few days) I notice that a process is using 100% CPU. The process is avrdude started by the Arduino IDE which, under certain circumstances that I haven't been able to ...
-1
votes
1answer
1k views

Unable to see client on Uchiwa dashboard (Sensu Monitoring)

I have a Sensu SERVER setup and a Sensu CLIENT. Services sensu-server, sensu-client, uchiwa, sensu-api are running on SERVER. Services sensu-client is running on CLIENT. All the checks I described ...
6
votes
1answer
3k views

The sum of % in the CPU column doesn't match the total CPU % row [duplicate]

I don't understand why the sum of % in the cpu column in top doesn't match the total CPU % row: Text version with slightly different values: ubuntu@server:~$ top top - 23:20:21 up 5:18, 3 users, ...
2
votes
0answers
483 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, ...
1
vote
0answers
30 views

How can I see file events of all processes matching those with keyword in path?

How can I see file events of all processes matching only those with keyword in path ? Here is my typical usecase. I'm investigating why Docker can't authorize with 3rd-party service using credentials ...
0
votes
0answers
84 views

List the GPU utilizations for each screen

How can I list all screens launched with screen along with their GPU utilizations? (screen -ls gives the lists of screens but not their GPU utilization) By GPU utilization of a screen, I mean the sum ...
0
votes
1answer
327 views

List the CPU utilizations for each screen

How can I list all screens launched with screen along with their CPU utilizations? (screen -ls gives the lists of screens but not their CPU utilization) By CPU utilization of a screen, I mean the sum ...
2
votes
0answers
534 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 ...
4
votes
1answer
5k views

How to pipe a sample log message manually to logstash for processing

I have set-up an ELK server in testing environment. I intend to send log messages from different clients to ELK, but first i want to test it from localhost to verify it running properly. Previously ...
5
votes
3answers
17k views

How to log GPU load? [duplicate]

I wonder how to log GPU load. I use Nvidia graphic cards with CUDA. Not a duplicate: I want to log.
7
votes
6answers
10k views

How to log Internet connection drops

I need to execute a script as soon as my raspberry pi gets connected to the Internet. However I was wondering if there was a better way than just pinging Google every minute or so. My problem is that ...
1
vote
1answer
1k views

How do I find out the window name of fullscreen internet content (eg Flash)?

--- The context --- I'm using Openbox to create a dedicated workspace/desktop for my browser -- the browser only opens on that workspace, and any other windows created on it get kicked onto a ...
2
votes
1answer
867 views

Monitoring GPU memory I/O

Is there any way to monitor GPU memory I/O from the shell, with Nvidia graphic cards used with CUDA? I use nvidia-smi to see the current memory utilization, but I would prefer to see the deltas ...
0
votes
0answers
42 views

What utilities will allow me to see how much network data a process has used in a session?

I need to know how much network data each program/process are using on my machine. There are great tools (like nethogs) to give me information on current usage. However, it does not give me ...
5
votes
1answer
3k views

GPU usage per process on a Linux machine (CUDA)

I use the CUDA toolkit to perform some computations on my Nvidia GPUs. How can I see the per-process GPU usage on a Linux machine (CUDA)? nvidia-smi does list all processes for each GPU, but doesn't ...
1
vote
1answer
828 views

How to put the percentage of use of each core from cpu

I use the Zabbix Server to monitor my environment. The metrics used by Zabbix to view the CPU are too confusing, so I would like to simplify. Is there a way to get the percentage of use of each core ...
0
votes
1answer
67 views

mysql monitoring tool

Is there any monitoring tool for mysql which will send a notification mail to mentioned email ID ? It must monitor below parameters. 1. mysql more than 500 concurrent connections. 2. mysql deadlocks. ...
2
votes
0answers
459 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 ...
0
votes
1answer
103 views

How to Find Non-Responding Applications in Linux

I'm looking to migrate a monitoring script from Windows (Powershell) to Linux (Shell script). One of the things I check in Windows is whether an application is 'Not Repsonding'. (e.g. Open Task ...
15
votes
1answer
9k views

iotop showing 1.5 MB/s of disk write, but all programs have 0.00 B/s

I don't understand iotop output: it shows ~1.5 MB/s of disk write (top right), but all programs have 0.00 B/s. Why? The video was taken as I was deleting the content of a folder with a few millions ...
0
votes
2answers
642 views

How to find out contention

I'm looking for an easy tool, to graphically show the amount of resources being used realtime. Something like htop but with disk IO, memory and network usage as well. I tried ganglia and the fact ...
2
votes
1answer
2k views

Is there a way to detect whether a screen is in on/off/standby mode from within Linux?

The screen in question is HDMI. The power off/on action is initiated by clicking on the on-screen capacitive button. I just need to know if there is a way to get events like "now the screen is on", "...
1
vote
1answer
165 views

Linux - wrapper to monitor an application's file access?

Are there any user-level wrapper-like scripts/programs that can watch what files an application accesses, without impacting performance? I'm trying to capture what files are produced by an automated ...
2
votes
3answers
1k views

How to list all linux processes that had any network activity during some period of time (past or future)?

I'd like to know which processes use the network: To inspect if any unknown to me (and potentially malicious) programs on my system use the network; To learn the amount of network traffic by the ...
2
votes
1answer
2k views

Zabbix claims that HTTP service is down

I'm configuring Zabbix to monitor our servers. Zabbix is new to me. It is up and running, and monitoring works for some services. One of our Centos servers has http running, so it seems logical to ...
0
votes
1answer
78 views

Accounting of filesystem accesses

Is there any way to keep track of number of times each file system is accessed through system calls? I know that the super block will contain the details about the file system. But how can we access ...
1
vote
2answers
3k views

See progress in Files (Nautilus)

I am trying to copy a directory containing multiple subdirectories and files to an external drive. It is taking a long time (24+ hours). I copied in Files on Fedora 23 instead of cp -v on the terminal....
1
vote
2answers
395 views

Bash script to monitor server security?

I am using a shared server at HG and I want to automate a bash script that will run hourly once and notify me to my gmail account with details of authorized/non-authorized users who have logged into ...
4
votes
2answers
284 views

Monitor a program's I/O

I have a program which spawns several child processes. I want to know which files this program and its children are creating, deleting, and modifying. inotifywait can tell me which files are being ...
1
vote
1answer
29 views

What is the proper way for a sysadmin to be notified about each user connection and disconnection?

In order to watch a machine, I'd like to be notified for example by e-mail each time any user connect to or disconnect from the machine (even root)? It is a Linux machine, but I am also interested if ...
0
votes
1answer
97 views

SystemTap simple demo fails - Ubuntu 14.04

Started learning SystemTap using RedHat's manual. Here is the example I'm trying to run. While executing stap open.stp I got the error: [root@ror6ax ~]# stap open.stp semantic error: while resolving ...
0
votes
1answer
233 views

Files getting reverted to older version

One of my site was infested with malware once and since then I am seeing every alternate day the header.php files are getting reverted back to older versions (possibly by a script) and a malicious ...
0
votes
2answers
286 views

How to launch i7z_GUI?

I tried many ways to launch an application i7z_GUI on Debian, but it just won't start. I tried it both as root as shown below and as a user. su-to-root -X -c /usr/sbin/i7z_GUI gksu -u root /usr/sbin/...
3
votes
1answer
220 views

How would I monitor the running i/o statistics of an application?

In windows I find it incredibly useful to monitor total I/O read bytes to give myself an idea of how long a command line process is taking/will take to execute a task. For example, for capinfos: How ...