Sponsored Content
Full Discussion: who
Top Forums UNIX for Dummies Questions & Answers who Post 15228 by guest100 on Tuesday 12th of February 2002 08:17:03 AM
Old 02-12-2002
I see, thanks for that.

Below basic help for the command "who" can be seen. If I do a "who -d" to see all the dead processes, this is what I get :

# who -d|sort
LOGIN network Feb 4 21:07
LOGIN network Feb 10 09:21
LOGIN network Feb 11 13:33
LOGIN pts/1 Feb 8 12:25
admin network Feb 4 17:56
admin network Feb 5 14:44
admin network Feb 7 17:36
admin network Feb 7 20:23
admin network Feb 8 14:18
admin network Feb 8 16:57
admin network Feb 8 18:00
admin network Feb 9 16:22
admin network Feb 11 12:33
admin network Feb 11 15:39
admin network Feb 11 17:09
admin network Feb 11 20:08
admin network Feb 12 09:12
admin network Feb 12 09:33
admin network Feb 12 11:53
admin network Feb 12 12:03
admin network Jan 30 12:57
admin network Jan 30 18:25
admin network Jan 31 18:26
admin ttyp1 Feb 12 09:44
admin ttyp2 Feb 12 08:13
admin ttyp6 Feb 12 10:03
admin ttyp7 Feb 11 18:22
admin ttypf Feb 11 17:09
admin ttyq0 Feb 11 14:35
bcheckrc . Jan 30 11:49
cat . Jan 30 11:49
rc . Jan 30 11:50
sh . Feb 12 08:58
sh . Feb 12 08:58
sh . Feb 12 08:58
sh . Jan 30 11:49


What I want to do is get rid of all the sessions before today(12/02/02), how can I do that ?

Cheers !


Usage: who [-rbtpludAasHTqRm] [am i] [utmp_like_file]

r run level
b boot time
t time changes
p processes other than getty or users
l login processes
u useful information
d dead processes
A accounting information
a all (rbtpludA options)
s short form of who (no time since last output or pid)
H print header
T status of tty (+ writable, - not writable, x exclusive open, ? hung)
q quick who
R print host name
 
time-admin(1)							   User Commands						     time-admin(1)

NAME
time-admin - Basic configuration of system time, date, timezone and NTP client. SYNOPSIS
time-admin [gnome-std-options] DESCRIPTION
time-admin enables the user to configure the default timezone and current date/time on the system. It also enables the user to turn on auto-synchronisation of this using NTP. OPTIONS
The following options are supported: gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more informa- tion. EXAMPLES
Example 1: Running the main application. example% time-admin EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/time-admin Executable for time and date configuration. /var/spool/setup-tool-backends/backup/time Backup directory for files that are modified. /var/run/setup-tool-backends/debug/time Debug logs can be found under here. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-system-tools | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. users-admin(1), shares-admin(1), services-admin(1), network-admin(1), gnome-std-options(5), rtc(1M), ntpdate(1M), xntpd(1M), attributes(5) NOTES
Written by Darren Kenny, Sun Microsystems Inc., 2006. SunOS 5.11 6 Nov 2006 time-admin(1)
All times are GMT -4. The time now is 02:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy