users(1) General Commands Manual users(1)NAME
users, u - Displays a compact list of users who are on the system
SYNOPSIS
users
u
DESCRIPTION
The users command lists the login names of the users currently on the system in a compact, one-line format. The usernames are in collated
order.
EXAMPLES
To list the users currently logged in to your system, enter: system> users
The system responds as follows: berg jackson diaz shahuri smith wong
SEE ALSO
Commands: finger(1), last(8), w(1), who(1)users(1)
Check Out this Related Man Page
ruptime(1) General Commands Manual ruptime(1)NAME
ruptime - Displays the status of each host on a network
SYNOPSIS
ruptime [-ar] [-l | -t | -u]
ruptime [-ar] [-l | -t | -u] [machinename]
The ruptime command displays the status of each host on a local network that is running the rwhod daemon.
If machinename is specified, only the status of that machine is displayed.
OPTIONS
Includes all users. Without this option, users whose sessions are idle an hour or more are not included. Sorts the list by the load aver-
age over 5-, 10-, and 15-minute intervals prior to a server's transmission. The load averages are multiplied by 10 to represent the value
in decimal format. Reverses the sort order. Sorts the list by the length of uptime. Sorts the list by the number of users.
DESCRIPTION
The status lines are sorted by hostname unless the -l, -t, or -u option is indicated. The status information is provided in packets broad-
cast once every 3 minutes by each network host running rwhod. Any activity (such as the power to a host being turned on or off) that takes
place between broadcasts is not reflected until the next broadcast. Hosts for which no status information is received for 11 minutes are
reported as down.
EXAMPLES
To get a status report on the hosts on the local network, enter: $ ruptime
Information similar to the following is displayed: host1 up 5:15, 4 users, load 0.09, 0.04, 0.04
host2 up 7:45, 3 users, load 0.08, 0.07, 0.04 host3 up 2:28, 0 users, load 0.01, 0.02, 0.03
host4 up 3+01:44, 1 user, load 0.01, 0.02, 0.03 host7 up 7:43, 1 user, load 0.06, 0.12, 0.11
(Output may be formatted differently on your system.) To get a status report sorted by load average, enter: $ ruptime -l
Information similar to the following is displayed: host2 up 7:45, 3 users, load 0.08, 0.07, 0.04
host1 up 5:18, 4 users, load 0.07, 0.07, 0.04 host7 up 7:43, 1 user, load 0.06, 0.12, 0.11
host3 up 2:28, 0 users, load 0.01, 0.02, 0.03 host4 up 3+01:44, 1 user, load 0.01, 0.02, 0.03
(Output may be formatted differently on your system.)
FILES
Indicates data files received from remote rwhod daemons.
SEE ALSO
Commands: rwho(1), rwhod(8)ruptime(1)
Hi there,
I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM.
I know how I can do this using the name server, but is this possible without a host lookup?:confused:
Thanks,
-ghoti (15 Replies)
Hi All,
I am trying to write a script to list all users and their processes. I cant seem to find out how to link the PID to the user. For example if i run ps -a I get a nice list of all the processes running and their PID, but no information about which user is running them.
If i use w i... (17 Replies)
Thx for all the help so far, I really appreciate it, this is the last task I have to do then I am no longer a trainee ^^, which means I can use whatever utility I want. :O
I need to write a script that does more or less what is shown below.
The Users Name
PID TTY TIME CMD
12345 pts/3... (22 Replies)
Hi guys,
I've a simple linux script (made by my friend), which adds users to the system from userlist file. it also creates user home dir and copies certain files to the directory. To be honest, am a newbie in scripting so am unable to fully understand how the script is working. unfortunately,... (30 Replies)
Hello all:
I will include a "requirement" for an issue I am attempting to solve for my boss. Basically, he would like to know if there is a way to prevent users and owner from editing 'write' script in Vi.
- While working in Unix Vi, users would be able to keep all the previous versions... (15 Replies)
Hi All, my script.sh has the below lines, and i need to run the script as root or wam. please tell me if this will work
#!/bin/bash
sudo -t wam /usr/local/wam/stopwam -r ------- this needs run as wam user
/usr/local/web/stopweb -a --- this needs to run as... (18 Replies)
Our moderators/admins/users are doing great job by sharing knowledge with each other, they do correct/appreciate us in posts.
This poll is to encourage emerging users to go in a better direction, kindly do give your thoughts on same.
1- Giving them a reward/appreciation if they are... (31 Replies)
Hello, I find out that there is a way from putty to pass a command to your shell when trying to log in to a server and bypass .profile. Actually you can do this if you open a bash shell. The command to bypass .profile is the following: ssh -t hostname "bash --noprofile" Is there a way to... (32 Replies)