01-16-2012
is there a command to see when the last time a user has been online if they arent?
When I use who it shows who is online and from what time they logged in but is there a way I can see the last time someone was logged on if they aren't online? Is it with the who command?
thx
5 More Discussions You Might Find Interesting
1. Programming
hello,
Can anyone please tell me how can i check the availability of the online user in a client-server environtment.
This is for a program where lakhs of client are connected to the server and the server has to check the availability of the every client in every minute.
So polling every client... (0 Replies)
Discussion started by: shushilmore
0 Replies
2. Shell Programming and Scripting
I decided to delete the first post since it was againt the forum rules (4 Replies)
Discussion started by: Necrologist
4 Replies
3. UNIX for Advanced & Expert Users
in a multi user system of 3 users X,Y,Z, if i know that X is presently online, is it possible to determine for how long has he been online? i mean the time duration (3 Replies)
Discussion started by: arindamlive
3 Replies
4. Shell Programming and Scripting
HTML Code
archive_history() { HISTORYOLD=${HISTFILE}.archive CURTIME=`date` CURTTY=`tty` IP=$(echo $SSH_CLIENT | awk '{print $1}') if ; then echo "#-${HOSTNAME}-- ${CURBASHDATE} - ${CURTIME} ($CURTTY) ${USER} ${IP}----" >> $HISTORYOLD history... (2 Replies)
Discussion started by: rehantayyab82
2 Replies
5. Shell Programming and Scripting
HTML Code:
archive_history() { HISTORYOLD=${HISTFILE}.archive CURTIME=`date` CURTTY=`tty` IP=$(echo $SSH_CLIENT | awk '{print $1}') if ; then echo "#-${HOSTNAME}-- ${CURBASHDATE} - ${CURTIME} ($CURTTY) ${USER} ${IP}----" >> $HISTORYOLD history... (0 Replies)
Discussion started by: rehantayyab82
0 Replies
LEARN ABOUT HPUX
systemd-networkd-wait-online.service
SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8) systemd-networkd.service SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)
NAME
systemd-networkd-wait-online.service, systemd-networkd-wait-online - Wait for network to come online
SYNOPSIS
systemd-networkd-wait-online.service
/lib/systemd/systemd-networkd-wait-online
DESCRIPTION
systemd-networkd-wait-online is a one-shot system service that waits for the network to be configured. By default, it will wait for all
links it is aware of and which are managed by systemd-networkd.service(8) to be fully configured or failed, and for at least one link to
gain a carrier.
OPTIONS
The following options are understood:
-i, --interface=
Network interface to wait for before deciding if the system is online. This is useful when a system has several interfaces which will
be configured, but a particular one is necessary to access some network resources. This option may be used more than once to wait for
multiple network interfaces. When used, all other interfaces are ignored.
--ignore=
Network interfaces to be ignored when deciding if the system is online. By default, only the loopback interface is ignored. This option
may be used more than once to ignore multiple network interfaces.
--timeout=
Fail the service if the network is not online by the time the timeout elapses. A timeout of 0 disables the timeout. Defaults to 120
seconds.
SEE ALSO
systemd(1), systemd-networkd.service(8)
systemd 237 SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)