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
votes
1answer
21 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 ...
0
votes
3answers
3k views

Console CPU utilisation chart

I need to monitor CPU and network utilisation from a terminal. For network traffic, I have found the perfect tool: slurm. It gives me a moving chart. It gives me an nCurses-like UI I can use from a ...
1
vote
1answer
34 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 ...
7
votes
3answers
14k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
4
votes
2answers
387 views

Is collectd able to send data tagged as a host other than itself?

I log various stats both generic and custom from a lot of different servers using collectd to a single host running a network listener. The setup is pretty simple. All the systems run an instance of ...
6
votes
3answers
529 views

Linux workstation monitoring tools

I am currently working in a company that runs Linux (openSUSE 12.1) on the workstations (about 200 computers). I am looking for a tool or methods that could allow me to monitor them remotely, upgrade ...
3
votes
1answer
2k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
4
votes
2answers
83 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
38 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
52 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 ...
3
votes
3answers
95 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
22 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
45 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
1answer
1k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
3
votes
2answers
55 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 ...
2
votes
1answer
51 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 ...
1
vote
0answers
15 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....
4
votes
3answers
339 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
69 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
40 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 ...
4
votes
4answers
17k views

Linux file access monitoring

Is there any way in unix to find out who accessed certain file in last 1 week? It may be user or some script ftp it to some other place. Can I get a list of user name who accessed certain file? How ...
2
votes
2answers
641 views

Is there a way to get “top” to run exactly once and exit?

I find the output of the shell command top to be a simple and familiar way to get a rough idea of the health of a machine. I'd like to serve top's output (or something very similar to it) from a tiny ...
0
votes
0answers
11 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
20 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
58 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. ...
3
votes
3answers
4k views

Cron job to check if PHP script is running, if not then run

I am wondering if someone might point me in the right direction. I've got little experience working with the Linux command line and recently due to various factors in work I've been required to gain ...
1
vote
0answers
16 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 ...
2
votes
2answers
646 views

How can I prevent smartd from reporting that it cannot find a disk?

I have smartd monitoring my hard drives. It works fine generally, but the following error window has been consistently popping up every 24 hours. This email was generated by the smartd daemon running ...
0
votes
1answer
38 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
38 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 ...
16
votes
7answers
30k views

GPU usage monitoring (CUDA)

I installed CUDA toolkit on my computer and started BOINC project on GPU. In BOINC I can see that it is running on GPU, but is there a tool that can show me more details about that what is running on ...
1
vote
2answers
38 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 ...
7
votes
4answers
22k views

Bash script to detect when my server is down or offline

Background : I need to receive an alert when my server is down. When the server is down, maybe the Sysload collector will not be able to send any alert. To receive an alert when the server is down, I ...
39
votes
6answers
60k views

How to monitor CPU/memory usage of a single process?

I would like to monitor one process's memory / cpu usage in real time. Similar to top but targeted at only one process, preferably with a history graph of some sort.
1
vote
2answers
153 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 ...
24
votes
5answers
20k views

On-the-fly monitoring HTTP requests on a network interface?

For debugging purposes I want to monitor the http requests on a network interface. Using a naive tcpdump command line I get too much low-level information and the information I need is not very ...
5
votes
2answers
370 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
2
votes
1answer
62 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
41 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
58 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 ...
5
votes
4answers
462 views

Needed: A simple way to remotely monitor a process on my server

I have a cloud-based server running a Java process (a POP/SMTP server called davmail, details don't really matter). What is the simplest way to monitor the status of that Java process remotely? I ...
2
votes
8answers
1k views

Linux server monitoring software

The dedicated server I'm looking after started to crash occasionally, I suspect because of overload, so I need some performance/resource based monitoring software, preferably with web interface, ...
1
vote
0answers
48 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 ...
2
votes
0answers
52 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 ...
1
vote
0answers
80 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: ...
5
votes
2answers
9k views

Linux : See CPU usage by a process for the last second

vmstat 1 Above will print virtual memory statistics each seconds. It will also show the CPU utilization for last second. I have a web server at hand which runs httpd and MySQL. I need to find how ...
0
votes
1answer
39 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 ...
3
votes
2answers
311 views

Monitoring process activities using system calls only (without utilities like `top`)

I want to obtain information about memory used by different users and different processes which users are running and statistics about those processes like memory consumption, execution speed, etc., ...
3
votes
1answer
157 views

CUPS and printer security

I would like some help on securing a networked printer. Specifically, I'm interested in the following: Preventing unauthorized access to the printer: I would like only certain laptops that connect ...
1
vote
1answer
37 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. ...