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

1
vote
2answers
215 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
18 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
84 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
254 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
11 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
39 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
193 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
55 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: ...
5
votes
3answers
493 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
52 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
37 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
86 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
66 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
150 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
42 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 ...
2
votes
0answers
371 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
30 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
105 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
35 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
47 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
79 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
29 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
74 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 ...
5
votes
4answers
190 views

How do see the memory used by a program in ubuntu?

How can I see the raw memory data used by an application ? Like , suppose I have a file name something.sh . Now I run the command ./something.sh , and then I want see all the data its accessing in ram ...
4
votes
3answers
1k views

Log monitoring using shell script

I would like to monitor a log file for errors and then send an email to administrators. The log file contains data like below 11 Aug 02:30 Service1 restarted 11 Aug 05:35 Service1 restarted 11 Aug ...
0
votes
1answer
77 views

server monitoring / intrusion detection for home NAS

I'm looking for some kind of monitor or intrusion detection to monitor my NAS. The following things I would like to monitor: Incoming network traffic (source -> Router -> NAS) from another country ...
1
vote
2answers
100 views

Monitoring CPU usage by user

I'm looking for a tool which monitors the CPU usage (or CPU time) of all real/logged-in users and which provides some kind of graphical representation of the accumulated data, e.g., a graph of CPU ...
1
vote
0answers
79 views

conntrack -E - traffic counter reporting

I'm currently in the process of writing small solution which would continuously receive output from conntrack -E command and along with some other stats, it would count/monitor traffic. The only ...
4
votes
2answers
189 views

Stop writing to a capture file after it reaches a specific size

I'd like to monitor my network traffic of an specific interface to file. Then I would like to stop the interface if the traffic counts over 60mb total. Is there a possible way to do that?
5
votes
1answer
185 views

Running Deamon Involving GPIO on Pi

I have a daemon that monitors various things using the GPIO ports. I have used python to write the code for this using the RPi.GPIO module. I would like to ensure that the daemon is always running, ...
2
votes
1answer
37 views

Log when program is run

I am running a "kiosk" computer - one for general use for anybody in the room - and I want to know if anyone is actually using it. Is there a log that tells me when firefox, chromium or other ...
2
votes
3answers
163 views

Monitor processes trying to access non-existent file or directory

We're moving websites from one server configuration to a new configuration and the websites will live in different paths than previously. We're planning to diligently go through and replace old paths ...
1
vote
0answers
173 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 ...
0
votes
1answer
1k views

Cannot add host to icingaweb2

I installed Icinga2 and icingaweb2. I have the dashboard, view of hosts, services, etc. I can log in, log out, etc. Ok, now I want to monitor something. So I added a host to ...
0
votes
2answers
86 views

Is there a good resource monitoring tool in linux?

I've been looking for a good resource monitor in linux for a couple of hours and all I have found is conky. Specifically I've been looking for something to monitor my core clock speeds. I've found ...
3
votes
1answer
133 views

Resource (CPU time and memory) limitation and termination of a process upon violation in Linux

The problem: Given a process, limit the resources it and its child-processes can use. I.e. set CPU time and virtual memory quotas. When the process group exceeds one of the limits, terminate it, ...
0
votes
0answers
39 views

Monitor application usage over time

I would like to monitor over time: the number of times applications are launched the time duration of the process the commands I have launched in the shell This is so as to have a rough estimate ...
2
votes
1answer
45 views

Is there a process logging tool for solaris?

Is there an existing tool for solaris/unix that keeps a history trail of the list of running processes. I'd like to be able to review backwards in time what processes were active/running. I can ...
-1
votes
1answer
51 views

Monitor Cpu & Ram Uasge Via Web

Sorry about that newbie question. But does anyone know how to make or where to find a script that will monitor CPU and ram usage, so i will be able to use it at my admin panel on web? I'm running a ...
4
votes
2answers
223 views

how to execute a script everytime any USB get mounted

I use a script that writes all mountpoints of my devices to a textfile using df. How can I execute my script everytime any device (especially USB) is mounted? script to execute: #!/bin/bash # save ...
0
votes
1answer
186 views

CentOS 6 apcupsd Trouble Shooting

I'm having issues with the recommended UPS monitoring software apcupsd. It installed ok but when I run it and check the error messages it is getting spammed with all these messages and doesn't seem ...
2
votes
1answer
184 views

Is it possible to track bash commands in real time?

I'd like to know if I can track commands entered by user in a bash shell, in real time. What I'm trying to do is something similar to thefuck, but I need to prompt the user as and when he enters new ...
2
votes
3answers
10k views

How to restart (or reset) a running process in linux

I have two Linux systems communicating over sockets (Desktop and ARM-based development board). I want to restart (or reset) my client application (running on a development board) when server sends a ...
1
vote
0answers
59 views

FreeBSD: Control operational and administrative status of virtual interface

I'm looking for a way to freely control the administrative and operational status of a virtual interface as seen by a snmp get requests: $ snmptable -c public -v 2c myserver iftable SNMP table: ...
0
votes
1answer
161 views

How can I track commands executed in a terminal ( without bash_history )

I'm writing a program that tracks user activities, and basically tries to automate things that can be. I'm currently trying to monitor programs that user uses often from command line. But just ...
1
vote
0answers
44 views

Sample monitoring of ZFS using mrtg

Was wondering if anyone has a quick and simple mrtg hack to monitor a ZFS file system, thought it would be wise to ask before writing one up myself....
2
votes
1answer
157 views

How to monitor the opening and closing of files?

I'm writing an AI personal assistant. One part of the software is a monitor daemon. A small process that monitor's user's active windows. I'm using python( with libwnck and psutils for obtaining info ...
3
votes
2answers
339 views

What is stopping our UDP packets (how does it know the route is down)?

We have a server (camera) sending RTSP video packets via UDP. At a customer site it travels over several hops, one of which may be an unreliable WiFi link that drops the odd packet or five. Usually ...
5
votes
3answers
649 views

On a Linux system, see how busy is file system

I want to know of a command that will show me how (currently) busy is the file system. I'm assuming there exists such a command that will show me this. With such command, are there specific arguments ...
0
votes
4answers
970 views

How to track/log commands executed on a shell?

Can commands be written to a logfile before they were executed in any shells? I know there is a patch for ssh to log all commands from ssh sessions, but i want to log even commands executed from a ...