Hi all
I want to know the commands executed a by particular user .. for the whole day on my machine.
I have checked out with the commad
$lastcomm <user>
It is throwing an error called: ..
/var/adm/pacct: No such file or directory
Can u help me in this regard..
Thank U... (3 Replies)
Hi all,
I am new to unix OS.
Commands(external commands) given by the user are examined by shell and later executed by kernel.
Now I want to know how the internal(built in) commands are executed.
Please clarify whether they are executed directly by shell or by kernel.
Thanks in... (2 Replies)
Hi,
I have executed a set of commands on the linux server and later rebooted the server. Is it possible to get the details of the commands I executed prior to the reboot? If yes please let me know how?
Thanks. (1 Reply)
Dear friends,
Whenever I do logout from a session initiated by ssh/su, I need to print a small report which says the login time, logout time, commands got executed..
How can it be done?
I know when doing ssh, .profile file will get executed. Shall we do something with the help of it. (1 Reply)
hi,
Do anybody know, how to list out all the commands & scripts used by the user & root along with the timestamps under ksh & csh shells.
Thanks in advance
Regards
BS (1 Reply)
Here is two time I have:
Jul 12 16:02:01
Jul 13 01:02:01
and how can I do a simple match to get difference between two time which is 09:00:00
Thanks in advance. (3 Replies)
Hi,
I have cleared the commands by using >$HOME/.sh_history.
But if i issue HISTORY it shows some reference numbers but not the commands executed.
But i want to truncate those line numbers too.
May i know how i can achieve this?
Thanks (1 Reply)
On Solaris 10 server the system date won't match with the timestamp on files created by a cron jobs, Please help
here is what i get when i check for system date
infodba-ie10ux014:/tcpdv1_ie10/tcadmin/bin\n\r-> date
Tue Apr 24 15:27:43 GMT 2012at same time i executed a cron job, and checked... (4 Replies)
Discussion started by: karghum
4 Replies
LEARN ABOUT HPUX
time
time(1) General Commands Manual time(1)NAME
time - time a command
SYNOPSIS
command
utility [argument ...]
DESCRIPTION
When a specified command or utility completes execution, prints the elapsed time during the command or utility, the time spent in the sys-
tem, and the time spent executing the command or utility. Times are reported in seconds.
Execution time can depend on the performance of the memory in which the program is running.
The times are printed to standard error.
Note that the shell also has a keyword that times an entire pipeline if used anywhere in the pipeline. This action is different than the
command which times a particular command if used in a pipeline.
Options
recognizes the following options:
command The command to be executed and timed.
Writes the timing statistics to standard error.
utility The name of a utility to be invoked and timed. If the utility operand names any of the shell special built-in utilities,
the time results are undefined. See csh(1) and ksh(1) for information about special built-in utilities.
argument Any string that is an argument to the utility.
SEE ALSO csh(1), ksh(1), sh(1), timex(1), times(2).
STANDARDS CONFORMANCE time(1)