Obtaining real-time values of system parameters or events (processor load, server responsiveness, intrusion attempts, …), or getting alerted when certain events happen

learn more… | top users | synonyms

0
votes
0answers
23 views

Nginx Performance Monitoring: How to collect CPU, Memory and Disk Utilization data?

I'm relatively new to shell programming and I need to collect statistical data on nginx web server performance running on Linux VMs for further analysis. I have checked some tools and I find dstat ...
4
votes
1answer
53 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, ...
0
votes
0answers
30 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
12 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
16 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
38 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 ...
0
votes
0answers
22 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 ...
3
votes
1answer
41 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 ...
0
votes
2answers
97 views

How to log GPU load?

I wonder how to log GPU load. I use Nvidia graphic cards with CUDA.
4
votes
5answers
288 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
32 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 ...
1
vote
1answer
23 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
21 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 ...
1
vote
0answers
26 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
20 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
0answers
97 views

certificate error while Adding Hosts in Icinga monitoring tool

I am getting certificate error while Adding Hosts in Icinga ! I am very new to it so not able to figure out the error but I have received proper keys and certificates from client ! sh -x ...
0
votes
1answer
24 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. ...
1
vote
0answers
26 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
32 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 ...
2
votes
1answer
72 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
0answers
39 views

Linux, LAMP, & Nagios server

as i'm somehow new in linux, and i'm required to install a monitoring system to our company using CentOS7 with LAMP & the monitoring Application NAGIOS. after installation everything goes well, ...
0
votes
2answers
23 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
48 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
29 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
78 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 ...
1
vote
1answer
66 views

Zabbix: 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
37 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
111 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 ...
0
votes
0answers
14 views

How to monitor system, Database Query Values, and the Existance of Files?

I was looking through an old system today, and it had this monitoring software that could send out email alerts. It's very old, but it still seems interesting and useful. It allowed for monitoring ...
1
vote
3answers
69 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
251 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
10 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
25 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
183 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 ...
2
votes
1answer
47 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: ...
4
votes
3answers
138 views

Show network connections of a process

There is a way to show the connections of a process? Something like that: show PID in which show is a command to do this, and PID is the pid of the process. The output that I want is composed by ...
1
vote
1answer
29 views

How do I read from a Serial Port, without using up its resource?

My boss at work needs to be making a monitoring app for a program they are using. Because of their business needs, I can NOT use any sort of virtual serial port. The data goes in and out of ...
0
votes
0answers
26 views

How do I program a serial sniff that does not redirect data to a different serial port

I need to make a monitoring application for a friend of mine. The thing I need to monitor is a hardware device's program on a Raspberry Pi. However, the program I need to monitor is hardwired to only ...
0
votes
0answers
51 views

Per-process monitoring in cacti

I've read in some question that you are performing a per-process cpu/memory monitoring with cacti. Could you point a how-to I can use to get the same? Many thanks in advance.
2
votes
2answers
51 views

Run and stop a monitoring command as sudo for s seconds every m minutes

I want to run sudo airodump-ng -w myfile every ten minutes or so, for m minutes. It does not matter if the running time shifts (that it, if it runs m minutes later each time). Notice that this is a ...
2
votes
3answers
107 views

How to find out the process(es) that forks a lot?

Recently I got an load-too-high issue on our server. I watched top for like half an hour to find out that it was Nagios that forked a lot of short-lived processes. After bouncing Nagios, everything ...
0
votes
3answers
38 views

Run several commands together, finish if one of them exits?

I have several commands that I run continuously during development of my website - Django development server, SCSS->CSS compiler in "watch" mode and so on. I want to have a convenient command to run ...
1
vote
0answers
238 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 ...
0
votes
0answers
25 views

Monitoring dashboard for a custom application, should also allow custom actions

I have a custom application, for which I need a dashboard which will monitor the application (show if the application is up/down) and allow an operator to start/stop the application from the ...
3
votes
4answers
69 views

How to link a log file to /dev/null and restore the space used automatically

I have a logfile which grows huge. The information that I can get from it is negligible. I want to link it to /dev/null. However, even if it is "deleted" (see below the output of lsof), it consumes ...
0
votes
0answers
24 views

Install orca on redhat

Has anyone successfully installed/ran orca (a performance monitoring tool for Solaris) on Redhat? I see some old posts asking about it but there have been no responses. ...
2
votes
1answer
41 views

Is there a brief way to view the top resource usage(CPU, memory or even bandwidth) of a program after its running?

I know I can use top to view the overall real-time CPU & Memory usage, and nload for overall real-time bandwidth usage. But I wish to view the maximum(or average) CPU, Memory, & bandwidth ...
1
vote
1answer
50 views

How to integrate daemon scripts with sensu?

I have some daemon scripts that run in an infinite loop that do some action if a detected node has failed. For example; in AWS to move an Elastic IP. How can I integrate this script that runs in an ...
2
votes
0answers
24 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 ...
1
vote
1answer
56 views

Network Monitor Tun Interfaces

I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection. I already have logging of openvpn data ...