Tagged Questions

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
1answer
667 views

SSH alerts for outside IP addresses

So i have a script that emails me if a login is from anything besides an ip address that starts with "10.1.": #!/usr/bin/python import smtplib, os server = "10.10.10.10" From = ...
3
votes
3answers
374 views

Is there any way to see how much data I sent via Internet?

A big German ISP (Telekom) recently decided to volume limit their DSL internet connection to 75GB per month. Now I would like to know how much I download / upload. I use Linux Mint 14 Nadia and I ...
0
votes
1answer
121 views

How can I see the rate of my wireless card?

I am setting manually the bit-rate of my wireless card ! sudo iwconfig wlan0 rate 54M Where can I see if it is applied, because the command does not give any feedback !!!
0
votes
0answers
47 views

High Availability of Services

I want to monitor a couple of services in linux. In case they go down I want to restart them. I'm writing a crontab which will get the name of the services using jps command every 60 seconds, and if ...
0
votes
1answer
50 views

Does IPTraf includes its own activity in the report?

Does IPTraf includes its own activity in the report? If it does how do I exclude it?
7
votes
1answer
474 views

How can I make tmux monitor a window for inactivity?

I've switched from GNU Screen to tmux. They're both similar, except that tmux is still maintained. GNU Screen has a C-a _ ("silence") command. This command makes GNU Screen monitor the current ...
3
votes
1answer
466 views

Writing triggers for mcelog

Just starting to look into mcelog for the first time (I've enabled it and seen syslog output before, but this is the first time I'm trying to do something non-default). I'm looking for information on ...
3
votes
1answer
593 views

Power consumption monitoring problem

I used powertop v.2.1 under Ubuntu 12.04 but it missed the power est. column.It's the same situation as described https://bugzilla.redhat.com/show_bug.cgi?id=796068‎ and that bug is supposed to be ...
1
vote
3answers
325 views

Was my CPU kinda broken?

Today I've received some message from mcelog utility, Processor 3 heated above trip temperature. Throttling enabled. Please check your system cooling. Performance will be impacted It happens when I ...
0
votes
0answers
1k views

IBM V7000 scripts for monitoring

Hello (I'm no hard core coder:), I try to develop a script to do some very basic monitoring on an IBM SVC. My goal is to get some information about the nodes and my quroum status and then send ...
1
vote
2answers
364 views

Monitoring script started by rc.local

We have a C program which is started using rc.local´. We added a line like this: /usr/local/bin/pc to the rc.local file. pc is a compiled C program. Everything is working fine at the moment. What ...
3
votes
5answers
200 views

find which system is transmitting through a particular port

I am using command nc -lu <port no.> to find on given port any data is receiving or not. I am getting data if there is transmission going on (but don't know from where!). Is there any way that ...
1
vote
1answer
203 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 ...
1
vote
1answer
954 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 ...
1
vote
2answers
687 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 ...
2
votes
1answer
167 views

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

I am new to shell scripting. 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.
4
votes
1answer
6k 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 ...
5
votes
2answers
8k 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
1k 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
2answers
434 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
222 views

Monitor hundreds of hosts for basic parameters

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
21 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
0answers
252 views

How to setup an audio/sound output monitor/listener? [closed]

I am working with an Arduino and am trying to get it to respond to sound when it is played on my computer. I'm communicating with it over a serial port. I need to know if there are any audio/sound ...
0
votes
2answers
535 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 ...
5
votes
1answer
182 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
98 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
856 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
776 views

How can be monitored I/O stream in a particular Linux directory or file?

I have a problem with monitoring of i/o stream in the particular directory(amount of read and written bytes during specified period). I have been trying to use iostat, inotifywait and inotifywatch, ...
2
votes
1answer
520 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 ...
1
vote
2answers
1k 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?
3
votes
1answer
343 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
993 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
201 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
180 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
281 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: ...
0
votes
2answers
2k 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 ...
2
votes
3answers
1k 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 ...
6
votes
3answers
12k 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 ...
1
vote
1answer
257 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 ...
4
votes
2answers
165 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
87 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
959 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 ...
5
votes
5answers
914 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
177 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 ...
1
vote
3answers
643 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 ...
2
votes
2answers
685 views

Bandwith 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
362 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.
5
votes
2answers
4k 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
171 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
195 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 ...