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

4
votes
1answer
54 views

simple script for monitoring a mailserver

I would like to use a simple bash script (python would be second best) to monitor regularly (hourly) if my mailserver is online and operating. I know that there are dedicated solutions for this task ...
3
votes
3answers
46 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
2answers
56 views

How to get CPU Percentage as a Counter?

I would like to monitor total CPU utilization percentage as a counter. The reason I would like it as a counter is that data won't be lost between samples (and I can have the graphing side calculate ...
2
votes
1answer
56 views

inotifywait not working when folder is deleted and re-created

I am trying to use inotifywait to monitor a folder: inotifywait -m -r /home/oshiro/Desktop/work_folder The command works and if I create files in that folder, all seems to work correctly. While ...
3
votes
2answers
30 views

Monitor when read/write on metadata or mmaped files hit the disk

On a server hosting a wide range of websites, I often see IO becoming a bottleneck without being able to identify the processes responsible of IO operations with tools such as iotop, iostat or sar. I ...
0
votes
2answers
67 views

System too slow [closed]

My linux system is responding very slowly.I should wait to get the result of my command. How can i investigate to know the problem of his behavior?
0
votes
0answers
33 views

Tracking user CPU hours

I am looking to work out which users on our system are using the most CPU resources. to check this? So I would like to find out: CPU-hours this month, (and % of total) CPU hours this week, (and % ...
3
votes
1answer
56 views

Monitoring Linux user activities and auditing them

var/log/secure provides us below information : Mar 20 08:07:07 testing sshd[29749]: Accepted password for oracle from 10.51.1.12 port 49239 ssh2 Mar 20 08:07:07 testing sshd[29749]: ...
2
votes
1answer
29 views

How might I log my Internet traffic, grouped by IP address/hostname, port, etc?

While I'm going to be switching to a slightly saner plan soon, being stuck on a 5GB monthly bandwidth cap has made me very data-conscious, and I'm looking for a way to log my Internet usage in such a ...
2
votes
1answer
99 views

What is the difference in CPU utilization between 'ps aux' and 'ps -ef'?

I use Ubuntu 12.04.1 Linux. I see a difference between %CPU and C output format of ps command for a process. It is not clearly noted in the ps man page. Man pages says: CODE HEADER ...
1
vote
1answer
87 views

File monitoring to pre-empt hacker

We have a hacker occasionally attempting to hack a site, and so far unsuccessful, but I would like a way to determine if the site has been compromised (i.e., files edited). The type of attacks are LFI ...
2
votes
1answer
43 views

Is monitoring rsync with a pts device possible?

I have a rsync backup script, and I was wondering about methods of monitoring it as it runs. I could have it save a log and use watch and tail, but I had a more elegant solution in mind that might be ...
2
votes
1answer
196 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 ...
3
votes
3answers
173 views

Why does MemTotal in /proc/meminfo change?

I monitor value from /proc/meminfo file, namely the MemTotal: number. It changes if a ram module breaks, roughly by size of the memory module - this is obvious. I know the definition for the field ...
4
votes
1answer
27 views

How to get more accurate feedback about when a program is shutdown?

I am running some software that takes a while to quit. It must write some large database files. I have observed that, if I run the software from within xterm, when pressing "quit", the application's ...
0
votes
1answer
65 views

Monitor CPU Registers

I'm looking for such tool, to see state of CPU registers, eax, ebx, ecx, edx. I've discovered cpuid: eax in eax ebx ecx edx 00000000 0000000d 756e6547 6c65746e 49656e69 00000001 ...
0
votes
0answers
104 views

Why are ifconfig's rx/tx bytes reset?

I save every 30 minutes ifconfig's rx and tx bytes for a given interface (ppp) and I see most of the time a steady increase but there are lots of drops/decreased, as if ifconfig's counter was reset ...
1
vote
0answers
32 views

memory consumption alert

My VPS has reported a memory consumption alert says reached 273% and I cannot access any of my sites. But I checked on the terminal today and it does not look like a memory problem. Am I correct in ...
0
votes
1answer
35 views

Nagios Core Acknowledgement notification (email)

Nagios Core 3.X on RHEL. I want to know how to send an email to the relevant contact group when someone Acks an alert.
0
votes
1answer
32 views

w command: same output with(out) -u option?

According to the manpage for w: -u   Ignores the username while figuring out the current process and cpu times. To demonstrate this, do a "su" and do a "w" and a "w -u". I've tried this ...
1
vote
3answers
146 views

tenshi and logfiles

I'm about to set up Tenshi in order to get important log excerpts. Everything works fine except if I add some apache2 logs, # /etc/tenshi/tenshi.conf ... set logfile /var/log/apache2/error.log I ...
1
vote
3answers
124 views

Detect process if not found then run it

I am running several process at startup using "crontab -e" @reboot tranmission-daemon && python defualt.py && python MonitorService.py But for some reason, those service can ...
-1
votes
2answers
77 views

Bandwidth Management tool

There are tools available like MRTG , Cacti etc through which we can monitor network traffic on network interfaces on a host. The network traffic flow information that is provided by these tools is ...
4
votes
1answer
249 views

how can I retrieve disk IO utilization in percents on HP-UX

I need to collect data about disk utilization for selected disks. I can use glance-plus monitoring tool to display the current data in percents (it looks similar to top), but I need to collect these ...
1
vote
1answer
81 views

how does blktrace work?

I am trying to understand the Linux block layer so I am writing a blog about it: http://www.linuxintro.org/wiki/blktrAce. When calling blktrace like this: blktrace -d /dev/sdg -o - | blkparse -i - ...
1
vote
0answers
120 views

udev rule for bluetooth device(logitec)

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to ...
0
votes
1answer
100 views

What tool to use to monitor network issues? [closed]

I need a network analysis tool that can help me to find if there are some issues regarding: packet transmission sessions any other stuff is welcome. I'm connected to the appliance I need to check ...
9
votes
1answer
219 views

How can I track executables created by my user on Linux?

Using Linux, I would like to track the executables that are executed in my name, including the whole command line (in practice, every exec*() done as my own user). A program I do not control is ...
1
vote
1answer
1k views

iostat: await vs. svctm

In the iostat manpage I have found these two similar columns: await The average time (in milliseconds) for I/O requests issued to the device to be served. This includes the time spent by ...
1
vote
1answer
477 views

No response from remote host for Nagios check_snmp_mem.pl plugin

Trying to setup memory usage monitoring for Nagios using the check_snmp_mem.pl from Nagios SNMP plugin. I could not even get it working from the command line, I mean I go to /usr/lib/nagios/plugins ...
9
votes
2answers
143 views

How do I get the current bandwidth speed of an interface from the terminal?

I want to get the current Bandwidth of an interface say "eth0" from the terminal. It better be as simple as possible. Say up 10 dn 30. Instead of giving out a lot of text like "vnstat" does. ...
2
votes
1answer
83 views

With NIS users, how to find out which users are currently logged in?

I'm using a NIS server to control 100 clients. I'm using NIS for centralized authentication and NFS to share the home directory. The main problem I'm facing is that I cannot find out which users are ...
2
votes
2answers
116 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 ...
3
votes
1answer
58 views

Is there a tool for tracking uptimes across reboots?

A tool such as this might on the surface appear to serve no real useful purpose, but people that take care of systems like to brag, and uptime is just one of those things that they like to brag about ...
2
votes
4answers
67 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
2
votes
0answers
51 views

CUPS and printer security

I would like some help on securing a networked printer. Specifically, I'm interested in the following: 1) Preventing unauthorized access to the printer: I would like only certain laptops that connect ...
0
votes
1answer
23 views

Where can I find hplip debug documentation?

I need to monitor HP printer state (ink, paper, etc). Hplip has hp-info tool with debug-mode and very verbose output. But I can't find any documentation with explanation of its data. For example: ...
2
votes
1answer
346 views

log network activity in ubuntu server

I administer an Ubunu Server exposed to the internet and have the need to monitor and keep track of all the network activity in a manner that allows me to analyze it afterwards. I already tried some ...
3
votes
1answer
239 views

Bind9 — How to find which programs are making which dns lookups?

Using bind9 on a laptop shows lots of nonsense domains when network connectivity is down: Oct 18 19:56:18 lap3 named[1536]: error (network unreachable) resolving './NS/IN': 128.63.2.53#53 Oct 18 ...
2
votes
3answers
171 views

List all open '.log' files in *nix

There are times as a system administrator, you might not be sure of the log file paths of a new application. Depending on the system, there may be multiple ways to find the same. Please share the ...
2
votes
1answer
61 views

starts logging when the limits are hit

/etc/security/limits.conf. The file is responsible to limit resources of users/groups on a Linux server. Unfortunately, the file does not generate any logs (or the case could be that I do not really ...
0
votes
2answers
1k views

CPU usage monitoring in AIX servers

In order to monitor the CPU usage in an AIX server I'm using the following script that is executed every 10 mins. lparstat 2 10 > cpu usage=$(tail -10 cpu | awk 'BEGIN {sum=0;} {sum+=$4} END{print ...
1
vote
1answer
79 views

Linux statistics script (Google analytics-like)

We own a few servers, each with about 100 users on it, some with 1 domain, some with a few. I'm looking for a script which runs in the background which can provide information about which users uses ...
4
votes
1answer
706 views

how to i install zabbix-agent over apt-get

Why is it that on my Ubuntu 13.04 system i can easilly install zabbix-agent by doing apt-get install zabbix-agent. But when i do it in Debian 7.1, it says that the package zabbix-agent can not be ...
1
vote
0answers
144 views

cannot set up lm-sensors propetly

I actually try to get lm-sensors to work as I wish. And my only wish is to see how the cpu is doing. (Optional HDD's, FSB and I'm open your suggestions) So I run Debian wheezy, and did a apt-get ...
0
votes
0answers
27 views

Which of HIDS can do this?

I'm currently in choosing of HIDS ( Host-based intrusion detection system ). I'm discovery etckeeper on my ubuntu. My question is: Which of HIDS can trace each file on the filesystem? E.g. keep ...
1
vote
4answers
274 views

monitoring file changes + process access to files

I would like to see what's happening in my app server folders, which files are changed by process x or which *.war files has been changed (replaced/created) in last x minutes. I am software developer ...
0
votes
2answers
393 views

How to monitor average stats of CPU and memory usage of a Solaris server using scripts?

I need to monitor average CPU and memory usage for a Solaris server. How can I automate the process using scripts to monitor daily CPU and memory usage and give it as an average over a month?
1
vote
4answers
564 views

how to monitor up time and down time of a linux service

How to monitor up time and down time of a linux service. I have created a service for my application using chkconfig (RHEL 6.3). I want monitor when the service is turned started and stopped. I can ...
4
votes
1answer
138 views

Monitor a process in Debian

I want to create a service that monitors the existence of a certain process. I wrote the following shell script: #!/bin/sh while : do w=`ps u -A | grep -P ".+Sl.+/usr/local/MySource/endpoint" -c` ...