All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How to use the 2nd monitor to only show textmode vt1 with critical log info?

I have one graphics card with 2 OUTPUT ports: VGA and HDMI and 2 led monitors. On the 1st monitor, the HDMI one, I use the graphical environment (Unity/KDE/Gnome etc). Using NVidiaSettings, I can ...
1
vote
1answer
85 views

Is it possible to monitor all write access to the filesystem of all process [closed]

Is it possible to monitor all write access to the filesystem of all process under linux? I've some different mounted filesystems. A lot of them are tempfs. I'm interested in all writes to the root ...
0
votes
1answer
35 views

Debug possible SSL/TLS problem?

I'm running into a couple networking issues which I suspect could be related to SSL/TLS, but I'm not sure how to go about confirming that that's the case. The main problem I'm having is I'm unable to ...
1
vote
0answers
13 views

How Can I Pull Events (One At a Time) from an Active Log File? [closed]

I have a log file which is populated on a Linux system (for which sudo privileges are available). The log file is populated automatically and erratically with either one event per write or numerous ...
1
vote
0answers
26 views

How to initiate process for a script via cronjob, monitor status, and log execution time

How to initiate process for a script that will run via cronjob, then monitor the status, and log start and stop run time. Any code snippet will be helpful... Thanks
0
votes
2answers
2k views

Problem using tail and awk to monitor log and execute a command

I want to monitor a log file in real time, and execute some commands when some sentences appear in the log. I searched this site (and many other sites) and these are what I tried: tail -f /var/log/...
1
vote
1answer
3k views

zabbix action on log file

I use zabbix to monitor a log file, and I want zabbix to send a mail every time a new line coming in the log file. I define the trigger: {xxx:log[/tmp/log,"error"].str(error)}=1 I find that zabbix ...
0
votes
1answer
75 views

Centos 7 --> Track if users attempt to access a folder/directory they do not have access too?

If Bob tries to access something like /home/Code/TopSecret for example. The system wouldn't allow him to access this without having the permission. I would like to know about these attempts. Is ...
0
votes
1answer
443 views

Splunk Forwarder-->Monitoring/Capturing of Specific Events?

Currently Running CentOS7. I am currently running into an issue with Splunk forwarders. I need to be able to monitor the following for all Linux machines. Some of the following may only apply to ...
0
votes
2answers
74 views

How to find which background tasks take most of my memory and CPU time?

While I probably need some kind of monitoring tool like mon or sysstat or something. I am looking for a way to know which tasks take the most of my memory,CPU time etc. While I understand that each ...
0
votes
1answer
92 views

Capture specific string and send notification every time

This is a script in bash. Here Which capture a string "ERROR: your TCP- connection is dead." from a Live dynamic log file. Here the name of a log file "TcpRcpt.log" which contain sample of a log ...
5
votes
3answers
17k views

How to log GPU load? [duplicate]

I wonder how to log GPU load. I use Nvidia graphic cards with CUDA. Not a duplicate: I want to log.
4
votes
4answers
1k views

How to link a log file to /dev/null and restore the space used automatically

I have a logfile which grows huge. The information that I can get from it is negligible. I want to link it to /dev/null. However, even if it is "deleted" (see below the output of lsof), it consumes ...
2
votes
1answer
61 views

Log when program is run

I am running a "kiosk" computer - one for general use for anybody in the room - and I want to know if anyone is actually using it. Is there a log that tells me when firefox, chromium or other ...
3
votes
0answers
2k views

How to capture tail -f output from remote host indefinitely

I am trying to monitor a remote, embedded host that is writing output to a file: /var/log/myapp.log This host may lose power for hours. The app may be killed and restarted. On my local machine, I ...
0
votes
1answer
787 views

How can I track commands executed in a terminal ( without bash_history )

I'm writing a program that tracks user activities, and basically tries to automate things that can be. I'm currently trying to monitor programs that user uses often from command line. But just ...
3
votes
3answers
22k views

How to track/log commands executed on a shell?

Can commands be written to a logfile before they were executed in any shells? I know there is a patch for ssh to log all commands from ssh sessions, but i want to log even commands executed from a ...
3
votes
0answers
2k views

How can I monitor the interactions of an application with dbus?

I have a set of applications, I want to montior any and all interactions of the applications with dbus. The things I've played with don't seem to have a way of focusing on just one application. ...
0
votes
1answer
85 views

Create and report system acivity

I have a set-up a server running several applications. There will be multiple people using these applications in a community situation. I am looking for a way to track and report changes made to ...
2
votes
3answers
771 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 ...
3
votes
4answers
2k 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
95 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 ...
1
vote
2answers
329 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 ...
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.
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),...
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 ...
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 ...
4
votes
1answer
3k views

User's executed commands log file

In Unix based systems, is there a log file that stores user's executed command(s)?
3
votes
2answers
1k 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 ...
104
votes
5answers
283k 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 ...
1
vote
3answers
649 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 ...
9
votes
3answers
4k 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
159 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 ...
32
votes
3answers
50k views

Where can I see a list of kernel killed processes?

Is there some way I can check which of my processes the kernel has killed? Sometimes I log onto my server and find that something that should've run all night just stopped 8 hours in and I'm unsure if ...
16
votes
5answers
2k views

Monitoring activity on my computer.

So recently I found that someone has been using my computer without consent, browsing folders, etc.... I could change all my passwords straight away, but I'm curious as the what the intruding party ...