Tagged Questions
2
votes
1answer
73 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.
1
vote
2answers
113 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:
...
1
vote
3answers
169 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 ...
1
vote
2answers
3k 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
515 views
User's executed commands log file
In Unix based systems, is there a log file that stores user's executed command(s)?
1
vote
2answers
401 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 ...
9
votes
3answers
2k 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
200 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
3answers
606 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
75 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 ...
10
votes
3answers
6k 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 ...
9
votes
5answers
698 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 ...