17597N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
17597N/A<!--ArborText, Inc., 1988-1999, v.4002-->
17597N/A<!--ARC : LSARC 2009/432 ConsoleKit -->
17597N/A<!ENTITY cmd "ck-history">
17597N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
17597N/A%commonents;
17597N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
17597N/A%booktitles;
17597N/A<!ENTITY suncopy "Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.">
17597N/A]>
17597N/A<refentry id="ck-history-1">
17597N/A<!-- %Z%%M% %I% %E% SMI; -->
17597N/A<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>1</manvolnum>
17597N/A<refmiscinfo class="date">22 Oct 2009</refmiscinfo>
17597N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
17597N/A<refmiscinfo class="software">&release;</refmiscinfo>
17597N/A<refmiscinfo class="arch">generic</refmiscinfo>
17597N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
17597N/A</refmeta>
17597N/A<indexterm><primary>
17597N/A&cmd;
17597N/A</primary></indexterm>
17597N/A<indexterm><primary>
17597N/AConsoleKit history
17597N/A</primary></indexterm>
17597N/A<refnamediv id="ck-history-1-name">
17597N/A<refname>&cmd;</refname>
17597N/A<refpurpose>
17597N/AConsoleKit history
17597N/A</refpurpose></refnamediv>
17597N/A<refsynopsisdiv id="ck-history-1-synp"><title>&synp-tt;</title>
17597N/A<cmdsynopsis><command>&cmd;</command>
17597N/A<arg choice="opt"><option>-frequent</option></arg>
17597N/A<arg choice="opt"><option>-help</option></arg>
17597N/A<arg choice="opt"><option>-last</option></arg>
17597N/A<arg choice="opt"><option>-last-compat</option></arg>
17597N/A<arg choice="opt"><option>-log</option></arg>
17597N/A<arg choice="opt"><option>-seat=<replaceable>seat</replaceable></option></arg>
17597N/A<arg choice="opt"><option>-session-type=<replaceable>type</replaceable></option></arg>
17597N/A<arg choice="opt"><option>-user=<replaceable>user</replaceable></option></arg>
17597N/A<arg choice="opt"><option>-version</option></arg>
17597N/A</cmdsynopsis></refsynopsisdiv>
17597N/A
17597N/A<refsect1 id="ck-history-1-desc"><title>&desc-tt;</title>
17597N/A<para>
17597N/A<command>&cmd;</command> is a utility that provides information from the
17597N/AConsoleKit database about what users have logged into the system. It supports
17597N/Aoptions to specify whether to provide information about users who have logged
17597N/Ain most frequently or most recently.
17597N/A</para>
17597N/A
17597N/A<para>
17597N/AThe <command>&cmd;</command> utility is used by
17597N/A<citerefentry><refentrytitle>gdm</refentrytitle>
17597N/A<manvolnum>1m</manvolnum></citerefentry>
17597N/Awhen the GDM Face Browser is enabled to display users in the order of
17597N/Afrequency.
17597N/A</para>
17597N/A</refsect1>
17597N/A
17597N/A<refsect1 id="ck-history-1-opts">
17597N/A<title>&opts-tt;</title>
17597N/A<para>
17597N/AThe following options are supported:
17597N/A</para>
17597N/A<variablelist termlength="wide">
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>-frequent</option></term>
17597N/A<listitem><para>
17597N/AShow listing of logged-in users in the most frequent order.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>h</option>, <option>-help</option></term>
17597N/A<listitem><para>
17597N/ADisplay detailed usage message.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>-last</option></term>
17597N/A<listitem><para>
17647N/AShow listing of all user logins since ConsoleKit began logging, in the most
17647N/Arecent order.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>-last-compat</option></term>
17597N/A<listitem><para>
17597N/AShow listing of logged-in users in the most-recent order. The output is
17597N/Adisplayed in
17597N/A<citerefentry><refentrytitle>last</refentrytitle>
17597N/A<manvolnum>1</manvolnum></citerefentry>
17597N/Acompatible format.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>-log</option></term>
17597N/A<listitem><para>
17597N/AShow full ConsoleKit event log.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>s</option>, <option>-seat=<replaceable>seat</replaceable></option></term>
17597N/A<listitem><para>
17597N/AShow entries for the specified <replaceable>seat</replaceable>.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>t</option>, <option>-session-type=<replaceable>type</replaceable></option></term>
17597N/A<listitem><para>
17597N/AShow entries for the specified session <replaceable>type</replaceable>.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>u</option>, <option>-user=<replaceable>user</replaceable></option></term>
17597N/A<listitem><para>
17597N/AShow entries for the specified <replaceable>user</replaceable>.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A
17597N/A<varlistentry>
17597N/A<term><option>V</option>, <option>-version</option></term>
17597N/A<listitem><para>
17597N/ADisplay the version of the <command>&cmd;</command> application.
17597N/A</para>
17597N/A</listitem></varlistentry>
17597N/A</variablelist></refsect1>
17597N/A
17597N/A<refsect1 id="ck-history-1-exam"><title>&exam-tt;</title>
17597N/A<example role="example">
17597N/A<title>Show most frequently logged in users</title>
17597N/A<para>
17597N/A<screen>
17597N/Aexample% <userinput>&cmd; <option>-frequent</option></userinput>
17597N/A</screen>
17597N/A</para>
17597N/A</example>
17597N/A<example role="example">
17597N/A<title>Show the entire ConsoleKit log.</title>
17597N/A<para>
17597N/A<screen>
17597N/Aexample% <userinput>&cmd; <option>-log</option></userinput>
17597N/A</screen>
17597N/A</para>
17597N/A</example>
17597N/A</refsect1>
17597N/A
17597N/A<refsect1 id="ck-history-1-file"><title>&file-tt;</title>
17597N/A<para>
17597N/AThe following files are used by this application:
17597N/A</para>
17597N/A<variablelist termlength="wholeline">
17597N/A<varlistentry>
17597N/A<term><filename>/usr/bin/&cmd;</filename></term>
17597N/A<listitem><para>
17597N/AExecutable for ConsoleKit history.
17597N/A</para></listitem></varlistentry>
17597N/A<varlistentry>
17597N/A<term><filename>/var/log/ConsoleKit/history</filename></term>
17597N/A<listitem><para>
17597N/AConsoleKit history database.
17597N/A</para></listitem></varlistentry>
17597N/A</variablelist></refsect1>
17597N/A
17597N/A<refsect1 id="ck-history-1-attr"><title>&attr-tt;</title>
17597N/A<para>
17597N/ASee
17597N/A<olink targetdocent="REFMAN5" localinfo="attributes-5">
17597N/A<citerefentry><refentrytitle>attributes</refentrytitle>
17597N/A<manvolnum>5</manvolnum></citerefentry></olink>
17597N/Afor descriptions of the following attributes:
17597N/A</para>
17597N/A<informaltable frame="all">
17597N/A<tgroup cols="2" colsep="1" rowsep="1">
17597N/A<colspec colname="COLSPEC0" colwidth="1*">
17597N/A<colspec colname="COLSPEC1" colwidth="1*">
17597N/A<thead>
17597N/A<row>
17597N/A<entry align="center" valign="middle">ATTRIBUTE TYPE</entry>
17597N/A<entry align="center" valign="middle">ATTRIBUTE VALUE</entry></row>
17597N/A</thead>
17597N/A<tbody>
17597N/A<row>
17597N/A<entry><para>Availability</para></entry>
18745N/A<entry><para>library/xdg/consolekit</para></entry>
17597N/A</row>
17597N/A<row>
17597N/A<entry colname="COLSPEC0"><para>Interface stability</para></entry>
17597N/A<entry colname="COLSPEC1"><para>Volatile</para></entry>
17597N/A</row>
17597N/A</tbody>
17597N/A</tgroup>
17597N/A</informaltable>
17597N/A</refsect1>
17597N/A
17597N/A<refsect1 id="ck-history-1-also"><title>&also-tt;</title>
17597N/A<!--Reference to another man page-->
17597N/A<!--Reference to a Help manual-->
17597N/A<!--Reference to a book.-->
17597N/A<para>
17597N/A<citerefentry><refentrytitle>ck-launch-session</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
17597N/A<citerefentry><refentrytitle>ck-list-sessions</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
17597N/A<citerefentry><refentrytitle>ck-seat-tool</refentrytitle><manvolnum>1m</manvolnum></citerefentry>,
17597N/A<citerefentry><refentrytitle>console-kit-daemon</refentrytitle><manvolnum>1m</manvolnum></citerefentry>,
17597N/A<citerefentry><refentrytitle>gdm</refentrytitle><manvolnum>1m</manvolnum></citerefentry>,
17597N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
17597N/A</para>
17597N/A</refsect1>
17597N/A
17597N/A<refsect1 id="ck-history-1-note"><title>&note-tt;</title>
17597N/A<para>
17597N/AWritten by Brian Cameron, Sun Microsystems Inc., 2009.
17597N/ACopyright (c) 2009 by Sun Microsystems, Inc.
17597N/A</para>
17597N/A</refsect1>
17597N/A</refentry>