Skip to main content

All Questions

Tagged with
69 votes
8 answers
52k views

How can I log all process launches in Linux?

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?
Brandon DuRette's user avatar
62 votes
6 answers
10k views

Alternative for "tail -f" that follows filename

I have some logs being generated using a timed rotating file logger. This logs to a file called tool.log, and at midnight, moves this to tool.log.<date> and starts a new tool.log. I have a tail ...
Hugh's user avatar
  • 1,211
24 votes
5 answers
31k views

How do I log file system read/writes by filename in Linux?

I'm looking for a simple method that will log file system operations. It should display the name of the file being accessed or modified. I'm familiar with powertop, and it appears this works to an ...
cmcginty's user avatar
  • 3,289
17 votes
7 answers
20k views

Logging lock-screen events

Problem See the exact date & time a user locks and unlocks his work station - running Fedora 18. Question Is there any way to log an event of a user entering and exiting "lock-screen" on fedora ...
tutuDajuju's user avatar
3 votes
1 answer
10k views

OpenWrt logging: how to find out "wifi deauthentication"

If someone starts to use the wifi, i can see that with logread: Jan 23 21:04:47 router daemon.info hostapd: wlan0: STA XX:XX:XX:XX:XX:XX IEEE 802.11: authenticated But how can i see, that he/she's ...
LanceBaynes's user avatar
  • 4,110
3 votes
3 answers
6k views

access windows log files from linux

I'm trying to remotely access windows log files from linux. So far I've found two different approaches. Install syslog server on windows machine and let windows send log files to linux, read those ...
damir's user avatar
  • 205
42 votes
4 answers
221k views

Where Linux places the messages of boot?

I want to find place to where Linux writes all boot messages. You know: facility one [STARTED] facility two [STARTED] facility three [FAILED] I searched with find . -print0 | xargs -0 grep -...
Rodnower's user avatar
  • 2,209
17 votes
3 answers
64k views

Rsyslog outputting to custom log file

Can anyone tell me what I did wrong here? Here is the ultimate question: Why when I use the logger command can I not get it to output to a custom log file in /var/log? In my script: logger -i -t ...
Atomiklan's user avatar
  • 637
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 ...
gimpycpu's user avatar
  • 241
13 votes
5 answers
24k views

Text / log editor with auto-refresh support [closed]

I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes. I have a single target log file (e.g. current.log) that is overwritten ...
Mark McDonald's user avatar
8 votes
5 answers
17k views

Writing a CPU/RAM usage log over a period of time to file on CentOS

I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file. I've been trying with variations of ...
keponk's user avatar
  • 218
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
4 votes
3 answers
1k views

Pipe kernel messages to another process as they occur

I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an ...
TuxRug's user avatar
  • 1,806
3 votes
2 answers
14k views

Name of log file where boot process is logged

I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services ...
ant2009's user avatar
  • 3,135
2 votes
1 answer
4k views

Log rotation with compression?

I'm running a process on Linux (CentOS 7) which produces a lot of output on stdout. Sending it all to a file will result in a file size greater than 1 TB. But happily the output is quite compressible -...
LangeHaare's user avatar

15 30 50 per page