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
196 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 ...
4
votes
1answer
7k 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 ...
1
vote
0answers
267 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
1k 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
146 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 ...
1
vote
1answer
194 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?
3
votes
1answer
309 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
171 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 ...
11
votes
5answers
18k 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
415 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
426 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 ...
3
votes
3answers
8k 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 ...
4
votes
2answers
10k 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 ...
1
vote
3answers
409 views

Is there a way to find out which webpages are being accessed by clients on a UNIX webserver?

My web server is running CentOS and every time a certain page is accessed on my forum, httpd locks up and I can never seem to pinpoint the exact file. Is there any way to view the pages that ...
1
vote
1answer
332 views

How to know who accessed a file or if a file has 'access' monitor in linux

I'm a noob and have some questions about viewing who accessed a file. I found there are ways to see if a file was accessed (not modified/changed) through audit subsystem and inotify. However, from ...
1
vote
2answers
747 views

Start and monitor process with CRON

There is a stub application written in C. Now I want to run this application periodically, say at 11.30am daily. I thought of using the cron process but I don't know how to do it. Please help. Also ...
4
votes
4answers
939 views

script for logging all the stats for a particular process

I want to monitor CPU usage, disk read/write usage for a particular process, say ./myprocess. To monitor CPU top command seems to be a nice option and for read and write iotop seems to be a handy ...
4
votes
1answer
984 views

Monit daemon interval setting…global or service-level?

I'm configuring monit on Ubuntu 11.04. In monitrc, the following setting controls the interval at which the monit daemon monitors services... set daemon 120 Is this a global setting? If I want to ...
0
votes
1answer
99 views

Is it possible to run ganglias gmetad and ganglia-monitor not demonized on debian?

I wonder is it possible to run ganglias gmetad and ganglia-monitor not demonized, under my own user (me, sudo) on debian? Because while gmond.conf contains something like demonize option I see no such ...
1
vote
1answer
2k views

How to configurate ganglia-monitor on a single debian machine?

Here is what I currently have online, as you can see there is no information about my debian server. (While was installing I tried to follow next instructions) What I have changed in default ...
1
vote
2answers
63 views

How to capture the adress an application contacts?

An application contacts an Internet host on each start of it. It seems to take just an instant. I don't know if HTTP, plain TCP or UDP or what is used but tend to suppose HTTP. What a tool can I use ...
4
votes
1answer
2k views

User's executed commands log file

In Unix based systems, is there a log file that stores user's executed command(s)?
2
votes
2answers
422 views

How to identify the program that uses most bandwidth?

How can I know which application is using the most network bandwidth? I saw some graph from KDE's network monitor, but don't know which process did that.
1
vote
1answer
206 views

How can I monitor if anybody (any process) access is certain file [duplicate]

Possible Duplicate: Access history of a file I know if a file is "being accessed" I can use lsof to see who (which process) is accessing it, but lsof is slow and heavy and I don't think I ...
15
votes
3answers
3k views

Monitor what is being sent to /dev/null?

Just for fun: Is there a way to monitor/capture/dump whatever is being written to /dev/null? On Debian, or FreeBSD, if it matters, any other OS specific solutions are also welcome.
2
votes
2answers
646 views

Can I send auditd logs to another computer?

On a Linux (debian) box, I have a NFS server wich seems to be overloaded by requests. In order to identify the problem, I'm trying to monitor with auditd/auditctl accessed files in the partition ...
3
votes
2answers
988 views

How to check and block processes connecting to internet directly?

Is there a way to find which processes in my system are getting connected to net automatically. Is there a way to select and block net access of some processes permanently? I use mint 11. I use a USB ...
12
votes
3answers
627 views

Maintain 100 instances of a program running

I'm currently using supervisord to maintain 100 instances of a script running at once. If any die then it starts up a new one. However it seems to be struggling maintaining larger numbers (>300 ...
19
votes
4answers
16k views

How to monitor only the last n lines of a log file?

I have a growing log file for which I want to display only the last 15 lines. Here is what I know I can do: tail -n 15 -F mylogfile.txt As the log file is filled, tail appends the last lines to the ...
2
votes
2answers
762 views

How to detect and stop user from deleting particular file on Linux?

Is it possible to monitor user actions on the file system and prevent him from performing particular actions? Can inotify only monitor actions on the file system? What about fanotify? There's very ...
4
votes
2answers
393 views

How to identify if there is some power saving setting that powered down a processor in Linux

I have a linux server that apparently has two Intel Xeon X5670. /proc/cpuinfo shows 12 CPUs but dmidecode shows only one CPU and the other one is in the Unpopulated status like it is showing that ...
15
votes
3answers
40k views

Can I change root's email address or forward it to an external address?

I'm getting a lot of mail in my root user's mail account. This appears to be mostly reports and errors from things like cron scripts. I'm trying to work though and solve these things, possibly even ...
3
votes
3answers
253 views

Track daily directory changes (and email them)

I have a Debian powered NAS server (ReadyNAS) with a deep file hierarchy. I'd like to get notified daily about what has changed in some of its directories and their subdirectories. So if someone ...
1
vote
3answers
405 views

Is there a way to beep when tail -F stops to fetch new results?

A few days ago I asked Is there a way to make tail -F beep? Now I want to know if there is any way to use *nix utilities, to beep when a tail -F stops returning new lines for a while! I know, I ...
2
votes
2answers
383 views

Is there a log of past threads that are now closed?

Sometimes, I have a rogue Java process which takes up 100% of my CPU and makes it jump about 30C in temperature (usually resulting in a crash if not killed). Problem is, I can never really identify ...
14
votes
5answers
27k views

Script to monitor folder for new files?

How do I detect new files in a folder with a bash script? I would like to process the files as soon as they are created in the folder. Is this possible to do so or do I have to schedule a script with ...
8
votes
3answers
2k views

How to run a command when a directory's contents are updated?

There is a directory A whose contents are changed frequently by other people. I have made a personal directory B where I keep all the files that have ever been in A. Currently I just occasionally ...
3
votes
2answers
438 views

Measuring CPU and Memory per user to distribute “cost” of a server [closed]

How should I implement approximately correct per-user monitoring on a server? I want a way to split the cost of a server between the users based on their usage. On newer machines (RHEL6) I would use ...
3
votes
1answer
1k views

How to enable nagios user created by yum to use check_by_ssh

I've used yum install nagios on an Amazon Linux instance, and it created a nagios user with shell /sbin/nologin and homedir /var/spool/nagios. This is the behaviour on EC2. I want to use check_by_ssh ...
9
votes
2answers
2k views

How can I list the top IO consuming files?

My document management software is doing a lot of IO and I would like to know which files it is accessing the most. Is there a Linux tool that would give me the list of the top IO consuming files, ...
4
votes
1answer
2k views

What is the difference between /proc/self/stack and output from pstack?

I have been looking through the documentation for /proc and the "stack" object being a new'ish object in proc, I have also looked through the kernel commit to create it -- however the documentation ...
2
votes
2answers
2k views

Make iotop show only the most disk-intensive item

My laptop (no VM, just plain Ubuntu with encrypted home) freezes for 3 minutes a few times per day. During these 3 minutes, the disk LED indicates intense disk activity, and I can't even move the ...
2
votes
2answers
1k views

What do the three values mean on network monitoring tools

Often in network monitoring tools there are three values for one measure. Ex rx: 2.0 kb/s 40 kb/s 10 kb/s Are these similar to how cpu load works, they are taken at different length time spans. ...
11
votes
5answers
449 views

Which application should I blame for compulsively creating a directory again and again?

There's an application on my system which keeps creating an empty ~/Desktop directory again and again. I can't stand capital letters in my home, nor I can stand this “desktop” thingy. So, as picky as ...
5
votes
1answer
1k views

Getting disk i/o statistics for single process in Linux

I need to monitor the I/O statistics of a process that writes to disk. The purpose is to avoid write rates too high for long periods. I know there's iostat tool to accomplish this task on a ...
5
votes
1answer
358 views

DTrace to trap any chmod applied to certain files

Underneath the Mac OS X directory /audit I have certain files which users can access and chmod to their liking. I need to audit any chmod done on any files by recording the time, user and file being ...
2
votes
0answers
136 views

What is the recommended way of start and supervise daemons on Arch Linux? [duplicate]

Possible Duplicate: Ensure a process is always running At the moment I use a quick and dirty nohup ... & to start application and database servers. E.g. su - foo -c "nohup php-cgi -b ...
2
votes
3answers
2k views

Is it fine to use tail -f on large log files

I would like monitor a large log file (close to 1 GB) for errors. I want this to be close to real time (few seconds delay is fine). My plan is to use tail -f | grep. Is there any performance issues ...
2
votes
1answer
110 views

Reporting Network and Vital Statistics and writing to db and image

I am looking for a versatile tool that can write either to a MySQL db, or possibly simply even just write some image charts (that i can display on a PHP dashboard) to monitor my network health. Is ...
6
votes
4answers
16k views

How to monitor incoming http requests

How can I monitor incoming HTTP requests to port 80? I have set up web hosting on my local machine using DynDNS and Nginx. I wanted to know how many request are made on my server every day. Currently ...