All Questions
11
questions
0
votes
0
answers
625
views
How to get new generated file name on logrotate?
I want to get new file name generated by Logrotate and run a script on it.
Logrotate has an event called Postrotate() with a parameter called '$1' but it returns the original path file name for ...
0
votes
0
answers
40
views
How do I log the execution of programs within a directory regardless of shell?
I'm curious when exactly a particular directory is being used and when it is loaded into memory. Is there a way to place a low level hook in the linux file system that says when a file with execution ...
1
vote
0
answers
911
views
'su root' succeeded for root on /dev/??? - SunOS logging
I have a log like this in /var/log/authlog :
<date> <server> su: [ID 366847 auth.notice] 'su root' succeeded for root on /dev/???
and in /var/adm/sulog
SU 12/12 11:13 + ??? root-root
...
1
vote
2
answers
1k
views
How to log all commands on a Linux machine?
Good morning,
My collegues have created a script that executes compilation commands on UNIX and Linux based machines. In order to execute that script, Eclipse needs to be installed on that machine.
...
1
vote
1
answer
1k
views
sFTP process ids explained?
Could someone explain to me the process that sftp makes when creating a connection and transferring data, on a control/data level? I know the basics about the ssh authentication and such, but for ...
14
votes
7
answers
28k
views
Piping tail -f into awk
I am trying to pipe tail -f into awk to monitor a logfile in realtime, but according to examples, there should be not problem but I can't get it to work.
here is the command I'm running
tail -f ...
2
votes
2
answers
1k
views
How can I log all my command-line activity?
I just had a Heisenbug that completely disappeared on me. I'm convinced that something funny must have happened when I compiled my program several days or a week ago.
But sadly, my Windows (MINGW) ...
1
vote
1
answer
3k
views
Logrotate says "log needs rotating" and then does nothing
I have the following logrotate configuration, and a 2 GB /var/log/messages:
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /var/log/network {
...
0
votes
1
answer
60
views
Create a logging program
I want to create a program that logs all the processes started by the user and confirms after they are started. I don't want to log all the syscalls and other daemon processes. I have initially ...
1
vote
2
answers
621
views
Is there a open source monitoring package that monitors logs for specific string patterns?
In our current system, we are not effectively monitoring the logs for errors as most of the errors are not serious enough. I want to basically warn users on the important errors. I cannot touch the ...
4
votes
1
answer
4k
views
Where to see the recent changes/actions on a computer?
I log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually ...