Sponsored Content
Operating Systems AIX How to find the log for executed command in IBM AIX? Post 302666537 by admin_xor on Wednesday 4th of July 2012 04:16:47 PM
Old 07-04-2012
I do not think without the auditing subsystem if this is possible. But, if your users are honest and if you are root or have root like privileges, you can find /home/username/.sh_history file which contains the executed commands history.
 

10 More Discussions You Might Find Interesting

1. AIX

Analogue of Format Command in AIX for IBM

I need to install AIX 5.3 on an RS/6000 Server. When i boot from an AIX 5.3 CD i get an option to upgrade to 5.3 from 5.2(existing OS). Is there a way by which i can force AIX to perform a new install with creating new partitions. I am looking for the analogue of 'Format' command in AIX that... (2 Replies)
Discussion started by: bestoption
2 Replies

2. UNIX for Dummies Questions & Answers

how to find the exit status for the last executed command

I am executing a find command in my script i.e find $2 -type f -name '*.gif' -mtime +$1 -exec rm {} \; how do i check that this command is executed properly.. i would lke t trap the errror and display my error message kinly help.. this is an urgent issue. (1 Reply)
Discussion started by: vijay.amirthraj
1 Replies

3. Cybersecurity

Help Required: Command to find IP address and command executed of a user

Hi, I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this. Thanks Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies

4. AIX

Command for changing date in IBM AIX

Hello everybody, plz tell me the command for chaging the date paramater in IBM AIX.. (3 Replies)
Discussion started by: oracle_rajesh_k
3 Replies

5. UNIX for Dummies Questions & Answers

HP Tru 64 & IBM AIX -- Few How to find

Anyone of you , Could you pls give me the command on HP Tru64 and IBM -AIX for below ? 1) How to find number of CPU & Number of core 2) Free RAM 3) How to get previously executed commands from history 4) Which process consumes more cpu resource? ( Similar to TOP in Linux/Solaris) (1 Reply)
Discussion started by: johnveslin
1 Replies

6. UNIX for Advanced & Expert Users

Using SCP command in IBM AIX to download file from remote to local system

Hi, When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code. Please give some resolution. SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies

7. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

8. Shell Programming and Scripting

I want a script to view the complete log information of data stage job from UNIX IBM AIX.

Hi, I am working on data stage 8.7 version and I want a script a to view the all log information of the data stage job from UNIX environment. Can you please help me out by give the script. Thanks in advance... (7 Replies)
Discussion started by: victory
7 Replies

9. UNIX for Dummies Questions & Answers

Set Command to output a log of every command executed in the script

Hi Guys, I like to output every command executed in the script to a file. I have tried set -x which does the same. But it is not giving the logs of the child script which is being called from my script. Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies

10. UNIX for Beginners Questions & Answers

Find Original user who executed the command

Hi Team, Please help me with the below question. SunOS 5.10 Shell: -bash I am trying to find the original user who executed a command on my development server. In my dev server users login using their personal id and sudo to a common id using 'sudo -u commonid -i'. Once logged in as... (6 Replies)
Discussion started by: sam99
6 Replies
TIMEDC(8)						      System Manager's Manual							 TIMEDC(8)

NAME
timedc - timed control program SYNOPSIS
timedc [ command [ argument ... ] ] DESCRIPTION
Timedc is used to control the operation of the timed program. It may be used to: o measure the differences between machines' clocks, o find the location where the master time server is running, o enable or disable tracing of messages received by timed, and o perform various debugging actions. Without any arguments, timedc will prompt for commands from the standard input. If arguments are supplied, timedc interprets the first argument as a command and the remaining arguments as parameters to the command. The standard input may be redirected causing timedc to read commands from a file. Commands may be abbreviated; recognized commands are: ? [ command ... ] help [ command ... ] Print a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized commands. clockdiff host ... Compute the differences between the clock of the host machine and the clocks of the machines given as arguments. trace { on | off } Enable or disable the tracing of incoming messages to timed in the file /usr/adm/timed.log. quit Exit from timedc. Other commands may be included for use in testing and debugging timed; the help command and the program source may be consulted for details. FILES
/usr/adm/timed.log tracing file for timed /usr/adm/timed.masterlog log file for master timed SEE ALSO
date(1), adjtime(2), icmp(4P), timed(8), TSP: The Time Synchronization Protocol for UNIX 4.3BSD, R. Gusella and S. Zatti DIAGNOSTICS
?Ambiguous command abbreviation matches more than one command ?Invalid command no match found ?Privileged command command can be executed by root only 4.3 Berkeley Distribution November 17, 1996 TIMEDC(8)
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy