1
vote
2answers
25 views

aoss is preventing file logging - logging argument commands

I am using an application which requires aoss. The results are required to be appended to a file. When I write these commands, the file is always empty: aoss multimon -a DTMF | tee test.txt aoss ...
2
votes
3answers
5k views

Remove first N lines from an active log file

Is there a way to remove the first N lines from a log that is being actively appended by an application?
2
votes
0answers
327 views

LogRotate use regex for filename

I have a custom logging class that creates a log for each instance of the process and adds a unique id to the log file name, example: process.1234.log process.1235.log Also I can add a date/time ...
0
votes
0answers
100 views

Monitoring text file and adding edit time on every line [Windows]

We have special measurement devices which connect through USB to a Windows PC. There's very limited software for those devices which only lets you configure the .txt file where the measured values are ...
4
votes
1answer
584 views

GnuCash delete backup and log files

Is it possible to auto delete gnucash backup and log files? Maybe at least I can specify another location for such files? Edit I've found a related issue in project's Bugzilla: ...
4
votes
3answers
950 views

Tail multiple files while piping one of the files through grep

I want to use tail follow two log files, but one of the log files has too much data, so I want it filtered with grep. tail -f file1 file2|grep mySearch The issue with this is that both files are ...
2
votes
1answer
257 views

How to determine if file on another machine is being accessed

I would like to determine if a file on another computer (or network) is currently being accessed. Ideally, I want to perform this task in a batch file, but other methods of performing this feat is ...
2
votes
4answers
3k views

How to print Linux command output to a file?

I am creating a script to sync my important documents between two system. I want my script to generate a log file for the last action. can you suggest me a way to achieve this. Question: If I execute ...
2
votes
2answers
3k views

SQL Server 2005, Huge LDF file

I have a database running on SQL Server 2005. The database is 20Gb and the LDF file is 35Gb ! I'm now running low on disk space and want to shrink the log file. How can I do this and how can I stop ...