1
vote
1answer
42 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 ...
0
votes
1answer
96 views

Piping tail -f into awk

Greeting, 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 ...
2
votes
1answer
109 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) ...
0
votes
2answers
204 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 { ...
1
vote
1answer
147 views

Setup mail on unix, to send logs to gmail

I'm using logwatch to send email logs, but I'm having a hard time understanding how to set up a simple MTA to actually send them to my gmail. Most information I've found is on creating a full blown ...
0
votes
1answer
39 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 ...
2
votes
1answer
1k views

Configure a UNIX server to send its logs to a remote syslog server?

Is it possible? If so, how is it done exactly? The syslog.conf file doesn't help too much.
1
vote
2answers
577 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 ...
1
vote
1answer
679 views

Log all http and https traffic that goes to the router in OSX

My router has ip 192.168.0.1. How can I log all the traffic it receives under http and https(port 443)? I think using tcpdump should do the trick but I'm not sure how to run it
4
votes
1answer
2k 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 ...
7
votes
3answers
8k views

How do I log all UNIX shell commands submitted by all users?

Is there an elegant way to log every command submitted in all shells on a machine? This is in the context of an infrequently-used Ubuntu server, of which I am the only human user. (There are several ...
0
votes
2answers
360 views

Can I link log files to my web directory var/www?

Can I link log files to my web directory var/www ? so I have var/www/logs And then remove reading permission to others in my unix link preferences ? By the way can I change links preferences ?