09-24-06 12:28 AM
In article <1159014008.581142.275940@i3g2000cwc.googlegroups.com>,
Danish <me.linuxadmin@gmail.com> wrote:
>Hi All,
>Can I know, on which terminal a particulaer command was executed....
>
>For eg...was
>
>$ls executed on pts/2 or pts/3
>
>
>Is there any command like
>
>$last etc
If your OS supports process accounting, you can turn it on and it will give
you
this information (using 'acctcom' or its equivalent). Only executable names
are recorded, not arguments.
John
--
John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/
[ Post a follow-up to this message ]
|