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
3answers
16 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
32 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 ...
3
votes
3answers
37 views

Is there a way of listing all the instances when a particular file was modified/edited?

I currently have a file abc.txt. I am curious to know if it is possible to see all the instances when this file was edited, from the date it was created? Q: How can I make it possible [if I would ...
0
votes
0answers
10 views

Measure data submited to a blocked ip adress in iptables

With: sudo iptables -A INPUT -p all -d $ip -j DROP One can drop all packets submitted to an ip adress (or a range of ip adresses). This method is useful if you want to prevent applications from ...
1
vote
0answers
14 views

Passing a parameter to a dstat plugin

I wrote a simple plugin (dstat_externalBackup.py) for dstat to monitor the filesystem free space and placed it in /usr/share/dstat and it works as intended. € dstat --externalBackup 3600 extern free ...
2
votes
2answers
50 views

How can I start a file-processing daemon? [closed]

How can I run a script-based tool which will process files continuously downloaded to given directory as they arrive? I'd like to minimize delay (~1 second is OK), script can have own infinite loop. ...
1
vote
0answers
10 views

Is the perfmon2 tool obsolete due to the same functionality being included in the current Linux kernel?

I was having some issues with the PAPI tool and multiplex and this answer by the PAPI creator led me to check out perfmon2: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/2008-April/000900.html ...
0
votes
1answer
31 views

How many interrupts and context switches good for the server?

Munin has chart 'interrupts and context switches on the system'. As far as this is a monitoring tool I assume these values are important for the server performance. So, the question is: how can I ...
1
vote
1answer
33 views

Monitor a hard disk partition

I need to monitor a partition on a CentOS server (/, to be exact) and would like to be alerted when it is full or full to a certain percentage. What is a simple way (using built-in tools) to ...
1
vote
2answers
35 views

Log and plot temperature-time curve over given time intervall

How can I log and plot a graph of all available hardware temperatures (CPU, SSD, etc). CPU load over a given time (say a day or a week) in linux? The CPU is i7 haswell if this matters, I have ...
1
vote
2answers
85 views

In Linux 'top' command, is there any way to keep track of values?

I'm using the Linux "top" command to monitor %CPU of particular process. As the values keep on changing every few seconds, is there any way to keep track of values in a separate file or as a graphical ...
1
vote
0answers
21 views

Does orca + RICHPse work on Solaris Containers or local zones?

I have just attempted to get RICHPse version 3.4 running on a Solaris version 10 Sun M5000. It seems to run on the global zone but not on the local zones. On the local zones RICHPse just fails ...
1
vote
0answers
29 views

How can I get read/write instant speed of a Hard Drive using /proc/diskstats data?

I know that the proc/diskstats file presents these data columns: 1 - major number 2 - minor mumber 3 - device name 4 - reads completed successfully 5 - reads merged 6 - sectors read 7 - time spent ...
0
votes
1answer
41 views

How does the proc/diskstats work to present that values? And for proc/stat and meminfo?

I am trying to get the diskstats data by same way that the file does. Is there any way to reach that values without reading that file? How the values are placed there? Is there any ".c" file that ...
2
votes
1answer
51 views

How to track down the source of I/O spikes?

I am using Linux as a desktop, and keep getting seemingly random I/O Spikes. The machine becomes unusably slow. At first I thought it was just that I don't have enough memory. But looking at the ...
1
vote
0answers
30 views

Program like vnStat that filters for only external (Internet) traffic

I've been using vnStat to monitor the ethernet interface on a Linux computer, but found that it includes all local traffic. I do many file transfers from within the subnet which far exceeds the ...
1
vote
0answers
42 views

Why doesn't monit like this syntax

I am trying to setup monit for my debian server. I have a main monitrc file in /etc/monit which at the end has include /etc/monit/conf.d/*. In conf.d I have two files for my apache and mysql servers: ...
2
votes
0answers
44 views

How can I monitor the interactions of an application with dbus?

I think the title says it all. I have a set of applications, I want to montior any and all interactions of the applications with dbus. The things I've played with don't seem to have a way of focusing ...
0
votes
1answer
38 views

Create and report system acivity

I have a set-up a server running several applications. There will be multiple people using these applications in a community situation. I am looking for a way to track and report changes made to ...
1
vote
1answer
32 views

Total data usage history with SNMP

I am working on a project to monitor the network devices by the help of SNMP and MRTG, RRDTool. As part of bandwidth monitoring, I can be able to get the maximum used bandwidth per time resolution. ...
1
vote
0answers
33 views

mrtg configuration

I installed mrtg and want add CPU, Memory graphs of local machine (not router) . Traffic graphs page working properly.Tried to find tutorial how to do that but: I do not have mrtg dir on /etc to ...
1
vote
1answer
44 views

Monitoring tool without web interface

I need to monitor a Linux server. I'm searching for a monitoring tool able to store system information (CPU, RAM disks usage, Apache and Postfix status, etc.) throughout the day and send an email ...
3
votes
1answer
126 views

How to find which process is currently writing to the disk?

For some unknown reason there is no space left on my /, even 5 minutes after removing 300 MBs of junk packages, there is no space left again. So I've come to conclusion that there is some process that ...
0
votes
2answers
21 views

file creation and acces monitoring app [duplicate]

I remember long time ago I had some antivirus on windows which had wile accesses monitor, and could tell you if any process accesses a file.I need to monitor every file in my home folder(or any other) ...
3
votes
2answers
55 views

How does one determine when a process or machine is IO bound?

I have a node.js process which writes to many different sqlite databases. Sqlite can handle only one concurrent write per database, which is fine since there will be only one write per database at a ...
2
votes
1answer
74 views

monitor multiple pids with top

I want to monitor memory usage for several processes and came up with a command like this: ps aux |grep -e postgres -e unicorn -e nginx|cut -d' ' -f2|for i in $(xargs); do echo $i; done 16112 16113 ...
1
vote
1answer
56 views

How can I plot disk io per process over time

I would like to analyze and visualize the disk through put of certain processes over time to see how much data is written to disk and to see at which times a process does not utilize the whole disk ...
2
votes
1answer
83 views

Linux: monitor my own internet usage page by page

I have a monthly broadband subscription which rolls over on the 23rd of each month. I had arrived near the end of my usage so I was carefully checking that I didn't go over my limit - they crucify you ...
0
votes
0answers
15 views

logging file system events (like read, write, access file/directory) [duplicate]

I want to get file system events on my arch linux local host, and don't get how to make it. I want to tail throw the logs of file system events to see what processes making changes to my system in ...
4
votes
3answers
463 views

Run command automatically when files are copied into a directory

I have two folders called: A and B, in different paths on the same computer. When I add any new file(s) into folder A, I want to copy it to folder B automatically. My folders: /auto/std1/nat1/A ...
-1
votes
1answer
52 views

Alternative for psutil for ARM processors (raspberry pi) and python3

As I am unable to install psutil to work on raspberry pi on python3, I am looking for any alternative (or a proper way to install it). What I want is to be able to see what's the status of the ...
0
votes
1answer
25 views

Historical bandwidth data in a console? (save/load statistics)

So, I found that nload and iftop displays the amount of data that passed and how fast. Now, is there anything like those that can save/load statistics? I want to measure the amount of data I download ...
1
vote
0answers
33 views

loggedfs crashes system with “access: Transport endpoint is not connected”

I'm trying to use loggedfs to monitor my system changes, and it works great for some time, but then, eventually, it crashes and my fish shell starting to output "access: Transport endpoint is not ...
0
votes
0answers
18 views

Cycle http requests monitor

How I can monitor cycle http requests by linux and store IP which scan my site? I need to find all scanners with copies of my site content. example. If IP 192.168.1.1 open index.php every 1 minute, - ...
0
votes
1answer
29 views

Solaris prstat - definition of “recent” time used in percentages

The man page for prstat (on Solaris 10 in my case) notes that that CPU % output is the "percentage of recent CPU time". I am trying to understand in more depth what "recent" means in this context - is ...
1
vote
1answer
68 views

How much can a bash script interact with a running web browser? [closed]

Here is what I have so far: initiate when a web browser is running download all content from current webpage and scan for "content of interest" output summary/details of said "content of interest" ...
0
votes
0answers
18 views

iotop layout help

my iotop is displaying some columns really closely, how do I space them out? Total DISK READ: 0.00 B/s | Total DISK WRITE: 3.57 K/s PID PRIO USER DISK READ DISK WRITE SWAPIN IO> ...
2
votes
1answer
53 views

How to record network throughput per port for long period of time

I have come across vnstat recently, and am enjoying it's simplicity, low resource usage, and its ability to record network history long term. However, I am looking for a similar tool (for long term ...
2
votes
1answer
96 views

How can I find the CPU resource utilization of a process and all its children [duplicate]

If I have a process that spawns child processes, is there a good way to get a single number representing the combined CPU use of that process and its children? i.e is there a simple shell command ...
1
vote
0answers
112 views

Monitor the creation of new processes

I want to get a notification whenever a new process is created. I've tried to use inotify on /proc, but it didn't report any event even though a new directory appeared in /proc. I could list the ...
0
votes
0answers
9 views

dns dsc auto refresh

I installed the DNS traffic monitoring tool DSC in the centos6.4, but the DSC Apache page is static, how to set up to automatically refresh? For example, each minute refresh time
6
votes
2answers
536 views

Move file but only if it's closed

I want to move large file created by external process as soon as it's closed. Is this test command correct? if lsof "/file/name" then # file is open, don't touch it! else if [ 1 -eq ...
1
vote
1answer
57 views

How to monitor create a txt file without using incron?

I know I can use incron or inotify to monitor file creation 1- how can I monitor only the creation of .txt files using incron? 2- Is there any other ways or scripts I can use to monitor .txt ...
2
votes
1answer
102 views

Equivalent command for ``time`` for memory usage?

by using time we can easily get the information about how long a program run, I was wondering if there is any equivalent command I can use for memory usages? Like how many memory are allocated for ...
1
vote
0answers
19 views

run a certain file (e.g. a .py) when a certain image, .wav or excel file get opened [duplicate]

Recently, me and my friend have purchased a Palm Vein Scanner. the goal was using it in a mini-project as a new door lock system. we are connecting it to a Raspberry Pi to run the software on it. ...
0
votes
1answer
113 views

How to monitor bunch of machines for CPU usage from another machine?

I have couple of machines as shown below which are running Ubuntu 12.04 and I need to find out the process name along with its pid whose CPU usage is greater than 70%. Below are the machines as an ...
0
votes
0answers
45 views

Ejabberd monitoring in ZenOSS problem?

I have installed a Ejabberd chat server in server with IP 192.168.1.52 and also i have installed SNMP version 3 at this server. Now i want to monitor it with ZenOSS in server with IP address ...
0
votes
1answer
42 views

CPU time that accton (psacct) records - recorded time relationship between parent and children processes

I've had 'accton' (in package psacct-6.3.2-63.el6_3.3.x86_64) turned on as I want to be able to report on a particular process (so I've written a script that will take the psacct file and get the ...
0
votes
0answers
31 views

Why does reading from a symlink to network location cause local disk activity?

I am running RHEL 6.4 and have a symbolic link in my home directory to a large file stored elsewhere on a network. My home directory is a network location as well. I've noticed that when I run a ...
2
votes
3answers
179 views

Is it possible to detect when a file has been downloaded?

We have a server where another script sFTPs and downloads files everyday. Question: Is it possible to detect that the file was downloaded and then for me to automatically archive the file after they ...