473,509 Members | 2,918 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Logging all activity on a tty/pty?


Is there a way, using python, to (voluntarily) log all activity in a
given shell, in a way that should work on pretty much all *ix's with a
port of python?

Thanks!

Aug 24 '05 #1
2 1788
On 2005-08-23, Dan Stromberg <st******@dcs.nac.uci.edu> wrote:

Is there a way, using python, to (voluntarily) log all activity in a
given shell, in a way that should work on pretty much all *ix's with a
port of python?


Yes. Assuming the Unix implimentation has ptys.

--
Grant Edwards grante Yow! Excuse me, but didn't
at I tell you there's NO HOPE
visi.com for the survival of OFFSET
PRINTING?
Aug 24 '05 #2
Dan Stromberg wrote:
Is there a way, using python, to (voluntarily) log all activity in a
given shell, in a way that should work on pretty much all *ix's with a
port of python?


If it's just a simple transcript you're wanting see "man script".
--
Benji York
Aug 24 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
10863
by: Ville Vainio | last post by:
Just posting this for the sake of google: Like everyone else, I figured it's time to start using the 'logging' module. I typically want to dump "info" level (and up) log information to...
0
1825
by: Christian.Gruber | last post by:
>Description: It would be nice if general query logging could be switched on and off while the MySQL server is running, and not only at startup time. While debugging an application that uses...
0
1874
by: Moritz Steiner | last post by:
Ok, but this only works for the current session, if I close and restart = the client the settings are reset... -----Urspr=FCngliche Nachricht----- Von: Victoria Reznichenko =20 Gesendet:...
3
1700
by: Thomas | last post by:
Currently we have SQL Server running on a single RAID5 array. The data and the logs are all written to this array. We don't have huge volume of activity, but it is growing. Most activity is from...
2
1713
by: johnm | last post by:
As a refresher, a description of my problem is in the message body below. I could not get answers to all of the questions that were asked below in a previous thread, but here is what I found out:...
5
1707
by: J. Yuan | last post by:
Hi, I am working on a checkout/inventory system. How can I make a button that when pressed, would update the previous fields transaction number to a table (for example, -3 printers, so that...
3
2214
by: gehegeradeaus | last post by:
Is there a way to prevent one user-account from logging in twice on the same system when using sessions? I also put the session of a user in a mysql database : CREATE TABLE `login_sessions` (...
3
1527
by: prakku | last post by:
Hi guys, Can you please give your inputs for this, OS : AIX 5.2 S/W : DB2 ESE 8.1 with fixpak 9.(Partitioned environment)
4
3417
by: lfhenry | last post by:
I am a newbie to HADR and Admin of DB2 (I am websphere guy). My question relates to DB2 logging. I've read that HADR does not allow Infinite logging (-1). I am expecting my Database to grow...
5
2683
by: =?ISO-8859-2?Q?Lech_Karol_Paw=B3aszek?= | last post by:
Hello. I'm trying to make a daemon and I want to log to a file its activity. I'm using logging module with a configuration file for it (loaded via fileConfig()). And now I want to read...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.