Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It all depends on what you want to monitor. Do you want to monitor terminal access? Or what they are doing? Please provide more detail in regards to what exactly you want to monitor since there are so many things and options to do so.
It all depends on what you want to monitor. Do you want to monitor terminal access? Or what they are doing? Please provide more detail in regards to what exactly you want to monitor since there are so many things and options to do so.
Kind regards,
Eric
Thanks for reply.
yes i want their terminal access.can i find from starting o end session?
at the prompt as root and you'll see something like this:
Code:
12:51:24 up 61 days, 2:46, 1 user, load average: 0.71, 0.45, 0.43
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 por1040.tradisa. 12:51 0.00s 0.00s 0.00s w
It shows you who, on what terminal, from where, when they logged in, what they are doing and some cpu usage.
Run
Code:
man w
to see options.
Kind regards,
Eric
Thanks for reply.
Is it possible to create the file ie what are the commands they executed.?can i use the history for that.after the user exit from the terminal,the history file automatiaclly send to mail id.
Last edited by nagavinodh; 11-23-2009 at 06:24 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.