The who command gives time when the user logged in.
The following script display informations about users who logged in since n minutes (n can be specified as a parameter of the script, the defaut value is 5).
Output:
i am new to unix shell program,
please someone hint me how to get the names of users who make logouts in last 4 minutes?
i dont need complete script, but only the guide (2 Replies)
Discussion started by: jax_anchal
2 Replies
3. Post Here to Contact Site Administrators and Moderators
Guy's
I'm looking for command to kill all the loged in users in AIX server
Is there specific command can help us to kill any loged in users
I have this command who -u it'll show me the process ID of all the users but I want command to kill all the users including to root without... (1 Reply)
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Hi all,
System Ubuntu 16.04.3 LTS
i have the following log
INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042
INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies
LEARN ABOUT HPUX
whodo
whodo(1M)whodo(1M)NAME
whodo - which users are doing what
SYNOPSIS DESCRIPTION
The command produces merged, reformatted, and dated output from the and commands (see who(1) , ps(1) and acctcom(1M)).
If user is specified, output is restricted to all sessions pertaining to that user.
The following options are available:
Suppress the heading.
Produce a long form of output. The fields displayed
are: the user's login name, the name of the tty the user is on, the time of day the user logged in (in hours:minutes), the
idle time - that is, the time since the user last typed anything (in hours:minutes), the CPU time used by all processes and
their children on that terminal (in minutes:seconds), the CPU time used by the currently active processes (in minutes:sec-
onds), and the name and arguments of the current process.
EXTERNAL INFLUENCES
Environment Variables
determines the order in which the output is sorted.
If is not specified in the environment or is set to the empty string, the value of is used as a default. If is not specified or is set to
the empty string, a default of ``C'' (see lang(5)) is used instead of If any internationalization variable contains an invalid setting,
behaves as if all internationalization variables are set to ``C'' (see environ(5)).
FILES
SEE ALSO
ps(1), who(1), acctcom(1M).
STANDARDS CONFORMANCE whodo(1M)