|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi I'm new to Shell scripting .Can anyone please help me how to capture user's login and logout details and load them into a table...
we are using Oracle DB on UNIX ![]() |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
What do you mean by "details"? The time?
If so: you can use the last command, which reads the contents of a file maintained by the system ( /var/log/wtmp ) and displays this in tabular form. See man last for details. You might want to read this thread, where the usage of "last" and its inner workings were being discussed in-depth. I hope this helps. bakunin |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
also I have a script, I need to capture the user IDs which are running that script
|
|
#4
|
|||
|
|||
|
Quote:
Code:
ps command might help you out |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIX Syslog login/logout User | hankBuck | AIX | 5 | 05-23-2010 11:48 PM |
| setup a logfile for user login/logout ??? | pwd | UNIX for Dummies Questions & Answers | 3 | 04-02-2007 03:10 AM |
| setup a logfile for user login/logout ??? | pwd | HP-UX | 0 | 03-28-2007 03:45 AM |
| detecting login or logout | nortypig | Shell Programming and Scripting | 8 | 08-27-2006 08:30 PM |
| Login and logout script | jhansrod | UNIX for Dummies Questions & Answers | 1 | 06-06-2005 06:54 AM |
|
|