06-12-2007
Logging all console activity to a file - how?
Hi all,
Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via the command line through SSH.
The thing is, I want to be able to log all console activity, basically everything that appears in the window, both my input and the returned output from the system.
How do I do this on a cygwin port? I couldn't find any commands to do it through Google, or maybe I'm not using the right terminology.
Thanks.
H.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to find a way to check the current status of a file. Such as some cron job processes are dependent on the completion of others. if a file is currently being accessed / modified or simply open state I will wait until it is done being processed before attempting the next process on that... (3 Replies)
Discussion started by: Gary Dunn
3 Replies
2. UNIX for Dummies Questions & Answers
Hello All!
Does anyone know of a nice way to log commands in solaris 8.
What I need is a program or script that saves any command that a user does in solaris command prompt. So when Steven logs in on a system, it should record everything he does, from an ls to exit with timestamps. I've been... (6 Replies)
Discussion started by: dozy
6 Replies
3. Linux
I have the need to record some step by step instructions to help with instruction in using Fedora Core 3. I was wondering if there are any ways to capture X or VNC activity to a video file. It can be any of the most common formats (MPEG, DiVX/ViDX, Ogg Theora, etc...) Does anyone know of any apps... (3 Replies)
Discussion started by: deckard
3 Replies
4. Shell Programming and Scripting
is there anyway to tell when an activity is happening on a file.
i'm talking about something deeper than what ls -l can give.
when i say activity, i want to know exactly when any commands was run on a specific file. i.e, did anyone run the mail command on this file. did anyone cat this... (2 Replies)
Discussion started by: Terrible
2 Replies
5. BSD
Hi,
The output of the cat ttys on a free BSD m/c
console none unknown off secure
#
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" unknown on secure
ttyd1 "/usr/libexec/getty std.9600" dialup off
ttyd2... (0 Replies)
Discussion started by: mlalitha
0 Replies
6. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
7. Shell Programming and Scripting
I am trying to figure a way to have a log file and still keep the output in the terminal in a script.
The example below logs to a file nicely but i still want the output in the terminal as well
#!/bin/bash
#Create a log
exec >> /path/to/my/logfile
echo "hello world"
Any help would be... (3 Replies)
Discussion started by: dave100
3 Replies
8. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
9. Solaris
Dear all,
i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1
i want to prevent logging user1 from console directly (5 Replies)
Discussion started by: maxim42
5 Replies
10. Linux
When unlocking a Linux server's console there's no event indicating successful logging
Is there a way I can fix this ?
I have the following in my rsyslog.conf
auth.info /var/log/secure
authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies
LEARN ABOUT DEBIAN
net::dri::logging::stderr
Net::DRI::Logging::Stderr(3pm) User Contributed Perl Documentation Net::DRI::Logging::Stderr(3pm)
NAME
Net::DRI::Logging::Stderr - STDERR Logging Operations for Net::DRI
VERSION
This documentation refers to Net::DRI::Logging::Stderr version 1.01
SYNOPSIS
See Net::DRI::Logging
DESCRIPTION
This class dumps all logging information to STDERR.
EXAMPLES
$dri->new({..., logging => 'stderr' ,...});
SUBROUTINES
/METHODS
All mandated by superclass Net::DRI::Logging.
DIAGNOSTICS
None.
CONFIGURATION AND ENVIRONMENT
None.
DEPENDENCIES
This modules has to be used inside the Net::DRI framework and needs the following composants:
Net::DRI::Logging
INCOMPATIBILITIES
None
BUGS AND LIMITATIONS
No known bugs. Please report problems to author (see below) or use CPAN RT system. Patches are welcome.
SUPPORT
For now, support questions should be sent to:
<netdri@dotandco.com>
Please also see the SUPPORT file in the distribution.
SEE ALSO
<http://www.dotandco.com/services/software/Net-DRI/>
AUTHOR
Patrick Mevzek, <netdri@dotandco.com>
LICENSE AND COPYRIGHT
Copyright (c) 2009 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the LICENSE file that comes with this distribution for more details.
perl v5.10.1 2010-03-25 Net::DRI::Logging::Stderr(3pm)