* bin/users, screen-profiles.1: when counting users, count remote ssh

sessions


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-04-29 18:50:47 -05:00
commit f949c93890
3 changed files with 5 additions and 3 deletions

View file

@ -25,4 +25,4 @@ if [ "$1" = "--detail" ]; then
exit 0
fi
printf "\005{= wr}%d#\005{-} " `who | wc -l`
printf "\005{= wr}%d#\005{-} " `pgrep -f "sshd:.*@" | wc -l`

4
debian/changelog vendored
View file

@ -3,8 +3,10 @@ screen-profiles (1.53) unreleased; urgency=low
* screen: some users gripe about the default launched window being
called "motd+shell", LP: #369397
* motd+shell, screen: clean up temp file
* bin/users, screen-profiles.1: when counting users, count remote ssh
sessions
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 16:11:29 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 18:49:47 -0500
screen-profiles (1.52-0ubuntu1) karmic; urgency=low

View file

@ -53,7 +53,7 @@ The menu provided by the \fBscreen\-profiles\fP should be self-explanatory.
\fBuptime\fP \- the total system uptime since last boot; displayed in the lower bar toward the right in blue text on a grey background
\fBusers\fP \- the number of users logged into the system; displayed in the lower bar toward the right in red text on a grey background with a trailing '#' sign
\fBusers\fP \- the number of users logged into the system via sshd; displayed in the lower bar toward the right in red text on a grey background with a trailing '#' sign
\fBwhoami\fP \- the name of the user who owns the screen session; displayed in the upper bar toward the far right in bold black text on a grey background