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

Filter by
Sorted by
Tagged with
7
votes
4answers
9k 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 ...
2
votes
1answer
2k 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 'smtplib.SMTPServerDisconnected'&...
1
vote
2answers
5k views

How to transparently monitor SSH access/network traffic in Gentoo/general linux?

What's the most effective way to monitor SSH access in Gentoo Linux? My Gentoo box is operating locally behind my broadband router. I have SSH port forwarding on the router and a DNS entry pointing ...
3
votes
1answer
1k views

Script to send mail if there has been no entry in a log file for a certain amount of time

How would I write a script which can send an alert mail if there is no entry in the log file for more than 3 hours.
5
votes
2answers
13k 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 ...
21
votes
3answers
47k views

Getting current TCP connection count on a system

Instead of doing wc -l /proc/net/tcp, is there a faster way of doing it? I just need a total count of tcp connections.
2
votes
3answers
5k views

Can conky monitor other Linux computers on the network?

I know conky can monitor my personal computer, but can it monitor the other Linux servers I have on the network? I'd like to see data on CPU and memory usage and some critical processes each server ...
6
votes
3answers
1k 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 ...
4
votes
3answers
525 views

Monitor hundreds of hosts for basic parameters [closed]

We have several hundred Linux VMs on EC2 and Google compute engine. We want to monitor basic things like disk free space and memory consumption, in the easiest and lightest way possible. Expectedly, ...
0
votes
0answers
24 views

Contradictory information from “top” [duplicate]

As we all know, the top command displays various real-time information about the running system. What I can't figure out is this: top claims that gzip is using 95% CPU. (Not unreasonable, considering ...
1
vote
2answers
2k views

Bandwidth, CPU & Memory stats returned in single line from terminal

I'm trying to create a simple monitoring system that will show a graph of sales that is linked entirely to data of bandwidth, CPU and Memory stats as they relate to sales. So if I sale 1 widget per 5 ...
6
votes
1answer
697 views

How to monitor all executions of an executable over a time period

I know how to monitor a process. Commands like top and so forth can monitor the CPU time and memory usage for a given process instance. But say I expect a given executable to be run several times in ...
1
vote
0answers
217 views

Plotting data from a text file on the desktop

I want to monitor some simulations I run In a way similar to how text monitor display data. I can easily generate a bunch of text files or image files with the data/plot I want to follow. How can I ...
6
votes
2answers
4k views

Is it possible to know who visited my home directory?

Suppose there are many users in a Linux cluster, each of them has his own HOME directory under /home/xxx, with xxx being his user name (or account). If the initial system configuration allows these ...
1
vote
2answers
1k views

How can an I/O stream in a particular Linux directory or file be monitored for bytes read/written?

I have a problem with the monitoring of an I/O stream in a particular directory: the amount of read and written bytes during a specified period. I have been trying to use iostat, inotifywait and ...
3
votes
1answer
5k views

Detect if HDMI Monitor is switched off

I have a Monitor connected to my machine through HDMI. Now if anyone were to switch off the Monitor, through either the Soft Buttons on it, or by removing it's Power Cord, I wish to be notified and ...
3
votes
1answer
1k views

Network bandwidth measurement on Solaris

I want to install pathtest or a program like it in a Sparc server running solaris 10. The purpose is to make a speedtest server to my remote sites. It is mentioned in pathtest FAQ that it only ...
2
votes
2answers
5k views

How to know recently updated files

If I run iostat -x 1 I saw ocassionally large 5MB to 10MB writes. What files are being written? I want to check the recently created files with size over 5MB for example. How would I do so?
6
votes
1answer
1k views

How to know which commands are executed when I do something in GUI

This is for academic purpose. I want to know which commands are executed when we do something in GUI, for example creating a folder. I want to show that both the mkdir shell command and create folder ...
3
votes
2answers
3k views

Filesystem monitoring

A script where we need to come up with a way for the disk space monitoring to be smarter. On smaller file systems, we still want to alert at 90% full, but on larger file sytems, we should only alert ...
0
votes
1answer
522 views

What to do if Cacti monitering server goes down in Centos 6.3?

I have successfully deployed cacti with plugins thold, nectar, realtime. Currently I am monitering my amazon ec2 servers and internal servers in my organization. but I afraid what to do In following ...
3
votes
2answers
247 views

Unix command to find files read by specific user

I would like to find files accessed by specific user (even just read) within a folder tree. I thought the find command had this option, but it actually just searches for owner user. Is there any other ...
2
votes
2answers
810 views

Monitor single process to logfile perodicly

Based on this question, I would like to log the performance of a specific process, with a frequency of say one second, to a csv (comma separated value) log file. Something like: timestamp(unix),...
4
votes
5answers
11k 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 ...
6
votes
3answers
8k views

Monitoring HTTPS traffic using tcpflow

I would like to use tcpflow to monitor https requests. I have read tutorials on how to monitor http traffic but when I connect to a host using https the output is garbled. I am using tcpflow in the ...
17
votes
4answers
89k 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 ...
2
votes
1answer
394 views

Bandwidth usage monitoring [duplicate]

Possible Duplicate: Find out network traffic per IP I want to monitor my bandwidth usuage for wired as well wireless devices on my network. Is there any tool, preferably one that does not use a ...
4
votes
2answers
265 views

Determine which process is taking most of disk bandwidth?

When the HDD indicator is blinking (for a long period), how could I know which process is taking most disk bandwidth?
1
vote
2answers
113 views

Is there a way track bandwidth over time like days, months?

I would like to know how much bandwidth is being used on my server. Not HTTP bandwidth, but all protocols. Basically iftop data over time continuously logged. Then I could write a simple python script ...
3
votes
4answers
4k views

Tools that monitor the network bandwidth based on IP?

In a networked environment, such as SOHO, is there any tools that can monitor the network bandwidth usage based on the computer's IP or mac address? So that we can know which user has the highest ...
9
votes
6answers
10k views

How to see the commands executed in another shell?

Is there a way to watch what commands are being executed in another shell, as they're being executed? Both shells are bash, and I have root access, if that matters. I can't install any extra software, ...
1
vote
2answers
258 views

How to monitor specific files in unix [duplicate]

Possible Duplicate: How to run a command when a directory’s contents are updated? Any one know how to monitor files in Unix. I want to take backup of that files when its modified and store it in ...
3
votes
3answers
2k views

What logs would be written if file system is full in UNIX?

I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to ...
3
votes
2answers
827 views

Bandwidth monitoring in Linux

I just need to get how much bandwidth is used in 3 or 4 days. Do you have any application in the terminal to do it? I'd prefer if it didn't use SNMP. I found iptraf, wireshark, cacti, but they were ...
10
votes
2answers
405 views

Linux program to look into what you're downloading

Is there a linux program that allows you to look into your current download traffic? Something that can list all the addresses I am currently connected to and downloading from.
6
votes
2answers
11k views

Monitor mode wifi only seeing broadcast packets

I have pretty much exhausted every link I have found on google regarding this topic, and I'd like some of the most experienced eyes on the problem, because something obscure must be going on. Systems ...
1
vote
1answer
208 views

Can we use history file for auditing purpose

We have a common testing environment on AIX for all 15-20 persons. There might be chances that somebody deleted the files mistakenly. In such scenarios, it is very difficult to know who deleted files ...
1
vote
1answer
491 views

How to read the temperature of Tesla M2050?

NVML(nvidia-smi) does not support the temperature for this videocard nvidia-settings does not work, because it is a cluster node(with 3 gpus) and there is no X lm-sensors does not show gpus ...
8
votes
2answers
19k views

Tracking what commands were executed after sudo to another user

I have provided sudo to ten users to become another user like nsup. I want to track which user executes which command after they become nsup. If there is a way to store the log files in a common file ...
4
votes
2answers
1k 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 ...
4
votes
3answers
3k views

Any way to list wireless clients in range

I'm looking to see whether it's possible to implement a staff 'in office/out of office' facility by tracking the active wifi (phones/tablets/laptops) in the building. Is it possible to return a list (...
3
votes
1answer
181 views

Efficient mechanism to determine if open file has been externally modified?

For example, the IDE I'm using at the moment (Aptana Studio) notifies me as soon as a file's contents it has open have been changed by some external program. I can imagine having a periodic loop run ...
2
votes
1answer
621 views

Monitoring interface changes with udev, especially if a route is set

Is there a way to monitor interface up/downs, especially to check if a route is setup or removed, with udev?
5
votes
1answer
2k views

Live program output monitoring tool

I would like to know if there is a tool that would enable you to watch how the program output changes live. Something like tail -f but instead of monitoring the file changes, it would repeatedly call ...
2
votes
1answer
252 views

How to find what's hogging what resources? [closed]

I've found lots of similar questions, but nothing that's exactly right. I'm trying to figure out what's making one server run slower than another. I'm hoping for something that would say something ...
210
votes
16answers
372k 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
0answers
692 views

Add blinking network-monitor icon to GNOME / XFCE

I'd like to see if I have incoming or outgoing network traffic via a little blinking network-monitor icon in my system tray, similar to the network system tray icon in Windows XP and Android. I would ...
7
votes
3answers
2k views

What are some good profiling tools for Linux?

I'm looking for some good profiling tools for Linux like OProfile. What I would like to see is how the operating system manages the interrupts, cache, read/writes, etc (lots of other intricate ...
20
votes
4answers
40k views

Find out network traffic per IP

We have one central server which functions as an internet gateway. This server is connected to the internet, and using iptables we forward traffic and share the internet connection among all computers ...
13
votes
4answers
37k 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 ...