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

0
votes
1answer
49 views

get cpu by user

Working with monit I need create an alert that get cpu usage of system users, so: top -b -n 1 -u user1 | awk 'NR>7 { sum += $9; } END { print sum; }' seems a good solution but I'm not sure about ...
4
votes
3answers
232 views

how to determine how many times pid_max wrapped?

Is it even possible to know that? may be some kind of tests are required to be performed in order to find that information? My system, just after I login, seem to have already wrapped the max_pid, so ...
9
votes
2answers
355 views

Internet connection drop alert

What software is there that will play an alert (PC speaker) when there isn't any internet connectivity for 5 minutes? My switch/router seems to disconnect every few days, and I want to reset it when ...
2
votes
1answer
60 views

how to know the use of my applications?

I want to know how long my programs have been used. For example if I use my web browser I want to know the start and the close time to obtain a total of use time. Basically I want to know when an ...
1
vote
1answer
103 views

SystemTap simple demo fails

Started learning SystemTap using RedHat's manual. Here is the example I'm trying to run. While executing stap open.stp I got the error: [root@ror6ax ~]# stap open.stp semantic error: while resolving ...
1
vote
2answers
37 views

List of files accessed by application

I want to install propertiary AMD driver but I would also like to know which files were created/changed by installer. Is there some application which can observe (probably by inotify) which files were ...
1
vote
1answer
179 views

xentop gives static info about memory usage

I am using CentOS 6.5 and Xen 4.2.4-30 xentop does not change MEM(%) at all. NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO ...
2
votes
2answers
98 views

Is there an auto refreshing graphical text file reader?

So, is there a graphical text reader or editor that automatically refreshes its text if the file is completely changed outside of it? I found that gedit detects file changes but refresh is not ...
1
vote
0answers
125 views

Monitoring Disk Latency

We have quite a few physical machines in our environment, yet we have no trending data over a period of time for disk latency statistics. We can easily run the standard iostat commands to see what the ...
1
vote
1answer
115 views

is there an equivalent to systat in Linux?

Is there an equivalent to the amazing systat command in Linux-based operating systems? For those who don't know about it, the BSD's systat command is just amazing. It displays live graphs of network ...
3
votes
1answer
442 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 ...
4
votes
3answers
316 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
326 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
285 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
136 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
177 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
53 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
516 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
56 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
2k 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
111 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
61 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 ...
3
votes
1answer
1k 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
979 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
42 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
237 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
791 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
41 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
116 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
35 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
275 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
306 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
204 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
1k 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
2answers
191 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 - ...
2
votes
0answers
243 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
138 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
263 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
6k 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
2k 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
284 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
249 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 ...
3
votes
2answers
223 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 ...
4
votes
1answer
128 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
89 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
88 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
33 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: ...
3
votes
1answer
2k 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
450 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
460 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 ...