Sponsored Content
Full Discussion: smit see comand performed ??
Operating Systems AIX smit see comand performed ?? Post 302551076 by prpkrk on Monday 29th of August 2011 10:06:32 AM
Old 08-29-2011
that doesn't show me the command that i had executed?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

smit.script

Can someone tell me what the smit.script file does? I'm having a problem with one of my boxes pointing at the wrong webserver. This is the only place I can find the wrong address, but I'm not sure what the file does so I'm afraid to change it. (1 Reply)
Discussion started by: Barb
1 Replies

2. Forum Support Area for Unregistered Users & Account Problems

smit.script

what is the smit.script file and does it ever need to be cleaned up or deleted (0 Replies)
Discussion started by: PamRainwater
0 Replies

3. AIX

Smit logs

Hi everyone, I'm trying to keep my smit logs in other directory diferent than the user's home. I know with -l and -s you can change this settings but I'm wondering if there is any environment value that I can set. It can be done using alias too ... Thanx. (3 Replies)
Discussion started by: mfons
3 Replies

4. AIX

SMIT on Linux

Hi All, I have a Linux system (RHEL 5). I want to install SMIT of AIX on it. Is it possible? if yes, how it can be done? Appreciate any help from you. Amol. (4 Replies)
Discussion started by: Amol21
4 Replies

5. Solaris

Using dd comand

Hello peolple i have to check a tape with de dd comand and redirect the exit dd if=/dev/rmt/0cn ibs=1024k of=/dev/null i need that the exit from that commando go to a log if a do this dd if=/dev/rmt/0cn ibs=1024k of=/dev/null > x.log don`t send me nothing to the log only in the screen. I need... (1 Reply)
Discussion started by: enkei17
1 Replies

6. AIX

Doubts on SMIT

Hi All, Have a few doubts on SMIT. 1. Is SMIT available in seperate packages if it is not installed by default with the AIX ? 2. how to check the smit version.. is there anything of that kind ? 3. what is the effect of smit.cat file ? 4. What are all the files present in /etc/objrepos/... (4 Replies)
Discussion started by: BalajiUthira
4 Replies

7. UNIX for Dummies Questions & Answers

logs of commands performed by users

Hi, when 2 users are logged as root , how can i find witch one had perform witch command? Thanks, (1 Reply)
Discussion started by: prpkrk
1 Replies

8. Shell Programming and Scripting

How to grep the content performed by an User

I want to grep the content performed by an User from a file. Suppose that i have a following file HYD-HMS-2$ ls -lrt -rw-r--r-- 1 sdfrun sdf 31726356 Aug 1 13:04 journal.03.01082012.19.csv I could able to grep the content performed by a user by "sed" command as follows HYD-HMS-2$... (0 Replies)
Discussion started by: duppalav
0 Replies

9. UNIX for Dummies Questions & Answers

System administration tasks performed from a menu driven interface

I need to write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. Automate the following tasks: • Copy directory tree • Delete files or directories • Output Information But I don't understand the question. What is a "menu... (2 Replies)
Discussion started by: femchi
2 Replies

10. Red Hat

Master logs for all the operations performed on mysql DB

is there any such thing as master logs for all the operations performed on mysql database. thing is i need to find the operations performed on mysql on a linux server running on RHEL 5.7 for the past 2 days. One more thing i found out that the bin logs will be refreshed whenever server goes to... (2 Replies)
Discussion started by: vivek d r
2 Replies
lastcomm(1)						      General Commands Manual						       lastcomm(1)

Name
       lastcomm - show last commands executed in reverse order

Syntax
       lastcomm [command name...] [user name...] [terminal name...]

Description
       The  command gives information on previously executed commands.	With no arguments, prints information about all the commands recorded dur-
       ing the current accounting file's lifetime.  If called with arguments, only accounting entries with a matching command name, user name,	or
       terminal  name  are printed.  The following example produces a listing of all the executions of commands named by user root on the terminal
       ttyd0:
       lastcomm a.out root ttyd0

       For each process entry, the following are printed:

		 The name of the user who ran the process.

		 Flags, as accumulated by the accounting facilities in the system.

		 The command name under which the process was called.

		 The amount of cpu time used by the process (in seconds).

		 The time the process exited.

       The flags are encoded as follows:

		 ``S'' indicates the command was executed by the super-user

		 ``F'' indicates the command ran after a fork, but without a following exec

		 ``C'' indicates the command was run in PDP-11 compatibility mode (VAX only)

		 ``D'' indicates the command terminated with the generation of a core file

		 ``X'' indicates the command was terminated with the signal SIGTERM

See Also
       last(1), sigvec(2), acct(5), core(5)

																       lastcomm(1)
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy