The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to trace a user salhoub HP-UX 4 08-04-2008 06:05 AM
Trace DHCP - Help! nuGuy UNIX for Dummies Questions & Answers 0 04-27-2008 01:00 PM
Function Trace ajcannon Shell Programming and Scripting 3 10-05-2007 03:55 AM
trace route command jhale123 UNIX for Dummies Questions & Answers 7 05-28-2002 08:34 PM
Trace connections jraitsev UNIX for Advanced & Expert Users 8 03-14-2002 06:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-22-2008
rainbow_bean rainbow_bean is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 82
Which command can trace what I have done on aix?

I remember there is a command can trace what I have done on aix. such as when I run smitty user to add a new user, run any command on aix, install some application software on aix, just like trace every step and every screen out to a file.

I forget what command is, does anyone know it?
  #2 (permalink)  
Old 07-23-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,259
What you did with smit you can see by looking into "~/smit.log". What has last been installed you can see with "lslpp -h" or "rpm -qa --last". For what has been done in the shell you can check the history like in "~/.sh_history".
I don't know about an "ultimate" command to see it all, sorry.
  #3 (permalink)  
Old 07-23-2008
djdavies djdavies is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 22
I'd agree with zaxxon.

history is the command i use the most for checking what i've done in the past.

That or setting set -o vi so that i can cycle through old commands
  #4 (permalink)  
Old 07-23-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
I would like to add the wtmp and utmp files in the /var tree to the list. If you need to know when and from where you have logged into the system this is the place to look.

I hope this helps.

bakunin
  #5 (permalink)  
Old 07-31-2008
amoser amoser is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 1
I believe the command you're thinking of is "script". With no options, it logs everything on the screen to typeset by default.

amoser
  #6 (permalink)  
Old 10-26-2008
masquerer masquerer is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 20
Hey amoser

dnt u think the script command if run with no options will eventually be of a very large size and then will create problems??????
  #7 (permalink)  
Old 10-27-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
Quote:
Originally Posted by masquerer View Post
dnt u think the script command if run with no options will eventually be of a very large size and then will create problems??????
This might be, but then such a tracing tool should not be implemented without some additional measures like log rotating facilities and cronjobs to shorten/file off the resulting logs.

It is advisable to come up with some quantity structure first to know how often to cycle the logs and how much space to provide for them growing in between.

bakunin
Sponsored Links
Closed Thread

Bookmarks

Tags
auditing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0