Skip to main content

All Questions

Tagged with
0 votes
1 answer
354 views

Linux network audit

I have a server with Linux Red-hat Enterprise Edition 5.4 installed. and a client/server application that permits connection at the port 6000, but it doesn't offer connections log. I want to know ...
Ould Abba's user avatar
  • 201
1 vote
2 answers
8k views

How do I configure rsyslog to write to /var/log/{hostname of sender} when receiving remote logs?

My ADSL modem supports remote logging via syslog. I have set up my server, running rsyslog, to accept the log messages from the modem and they are being show in /var/log/syslog along with the messages ...
x-x's user avatar
  • 495
1 vote
4 answers
6k views

How sync files with s3cmd to Amazon S3, check if sent and remove locally?

I'm trying to use Amazon S3 service to store logs from my applications. Given /user/bin/s3cmd --help tells me what I need to know how send the files: s3cmd --help usage: s3cmd [options] COMMAND [...
Valter Silva's user avatar
  • 1,381
1 vote
2 answers
493 views

Find the differences between versions of a log file

Is there a utility that will show you a difference in a directory of log files at one point of time and at the current moment? Current a method in debugging applications is to remove all of the logs ...
monksy's user avatar
  • 1,741
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 ...
quick-'s user avatar
  • 1
3 votes
2 answers
4k views

How to make `script` command loaded automatically on terminal login

script command allows to log gently everything that was put to console during session (like history but also displays results of commands). Everything is logged to file typescript.xxx Now I want to ...
dfens's user avatar
  • 141
0 votes
1 answer
203 views

3rd party tool for log rotation in Linux?

I want an auto archive all of my log files for an application on my Linux distro. Also after the log files have been archived, the actual log files should be deleted (not the archived ones). I know ...
user avatar
3 votes
4 answers
16k views

How to grep logfile via SSH on multiple servers?

Sometime, I need to find out specific log content(such as api call) from log files, those log files exists in several Linux servers. I have to use SSH to login every server and use grep searching the ...
user avatar
2 votes
2 answers
127 views

Efficient environment for viewing logs [closed]

Currently I am using tail -f for viewing logs. Is there any more efficient/readable/better way of viewing logs?
Marcin Szymczak's user avatar
4 votes
1 answer
10k views

logrotate configuration and execution

I'm trying to configure logrotate to rotate and delete log files every day at midnight, but have never used it before. So: (a) I want to confirm that my configuration is correct, and (b) I need help ...
pnongrata's user avatar
  • 2,882
7 votes
3 answers
11k views

logging RAM memory high-water mark of a Linux process

I would like to log the RAM memory high-water mark of a Linux process (kernel 3.2.0-36) by the time the process finishes. I am calling the process inside a Perl script. Something like: my $cmd = "...
719016's user avatar
  • 4,457
1 vote
1 answer
946 views

Figuring out how my /etc/ folder got deleted [closed]

I was playing around with my sendmail configuration in the /etc/ folder, and then, somehow, the contents of my /etc/ folder went away, and I'm unsure of how. From /var/log/auth.log: Nov 8 10:28:42 ...
neubert's user avatar
  • 7,232
1 vote
3 answers
2k views

How to find what is written to filesystem under linux

How can i find out what processes write to a specific disc over time? In my particular case I got a little homeserver running 24/7 and I included a script in the crontab to shutdown all drives that ...
bardiir's user avatar
  • 225
0 votes
1 answer
707 views

How do I save log files to another partition?

I have the following : uname -a : 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
ThinkCode's user avatar
  • 115
3 votes
2 answers
9k views

Redirecting output from syslog to own log

I'm following this tutorial: Using Fail2ban To Block Wrong ISPConfig Logins, but rsyslog won't redirect the output from a file to another: /etc/rsyslog.d/12-ispconfig.conf: if $programname == '...
w0rldart's user avatar
  • 3,003

15 30 50 per page
1
10 11
12
13 14
16