Sponsored Content
Top Forums UNIX for Advanced & Expert Users Understanding output of "last" command Post 302936298 by kitykitykity on Tuesday 24th of February 2015 12:49:16 PM
Old 02-24-2015
Computer Understanding output of "last" command

Hello,

Been looking through Google, and I don't see a direct answer to this:

Code:
# last
...
abcd             pts/1             srever02        Mon Feb 23 07:56 - 07:56  (00:00)
abcd             sshd              server02        Mon Feb 23 07:56 - 07:56  (00:00)
klmn             sshd              1.2.3.4         Mon Feb 23 06:33 - 06:48  (00:15)
reboot           system boot                       Mon Feb 23 03:03
reboot           system down                       Mon Feb 23 03:00
bbcc  pts/67     server01                          Mon Feb 23 02:30 - down   (00:32)
rstu  pts/28     server02                          Mon Feb 23 02:30 - down   (00:32)
pqrs  pts/53     server02                          Mon Feb 23 02:30 - down   (00:32)
...

What does the "down" statement mean on the last three lines?

Thanks in advance Smilie
Susan

Last edited by Scott; 02-24-2015 at 01:51 PM.. Reason: Please use code tags for code and terminal output
 

10 More Discussions You Might Find Interesting

1. Debian

Debian: doubt in "top" %CPU and "sar" output

Hi All, I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel). For my application: <sar -U ALL> CPU %user %nice %system %idle ... 10:58:04 0 153.10 0.00 38.76 0.00 10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
Discussion started by: jaduks
0 Replies

2. UNIX for Dummies Questions & Answers

Explanation of "total" field in "ls -l" command output

When I do a listing in one particular directory (ls -al) I get: total 43456 drwxrwxrwx 2 root root 4096 drwxrwxrwx 3 root root 4096 -rwxrwxr-x 1 nobody nobody 3701594 -rwxrwxr-x 1 nobody nobody 3108510 -rwxrwxr-x 1 nobody nobody 3070580 -rwxrwxr-x 1 nobody nobody 3099733 -rwxrwxr-x 1... (1 Reply)
Discussion started by: proactiveaditya
1 Replies

3. Shell Programming and Scripting

"Join" or "Merge" more than 2 files into single output based on common key (column)

Hi All, I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations: 1. I am restrained to 2 input files only. 2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
Discussion started by: Katabatic
1 Replies

4. AIX

Problem in understanding the output of errpt -d H -T PERM -s `date +"%m%d%H00%y"`

Its very critical and 'm in need to schedule this on my crontab so that the output can be monitored by a tool I have written the command below to redirect the error which has the output redirected to the file gincle_lol.log. Code: echo "---" >>/gingle/gincle_lol.log date... (0 Replies)
Discussion started by: Sounddappan
0 Replies

5. Shell Programming and Scripting

problem in understanding the output of errpt -d H -T PERM -s `date +"%m%d%H00%y"`

Its very critical and 'm in need to schedule this on my crontab so that the output can be monitored by a tool I have written the command below to redirect the error which has the output redirected to the file gincle_lol.log. echo "---" >>/gingle/gincle_lol.log date... (1 Reply)
Discussion started by: Sounddappan
1 Replies

6. Shell Programming and Scripting

Retrieve RAM memory size from "top" command output

Hi, I am trying to get the system RAM size from "top" command's output by the following but it is not working. top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Discussion started by: royalibrahim
10 Replies

7. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

8. HP-UX

Understanding "top" command

Hi all, I need a clarification about the top command in HP-UX. If I run: top -s300 I see the screen refresh every 5 minutes. From the "man top" I understand that the values displayed every 5 minutes are instantaneous, not average on the previous 5 minutes. Is this interpretation correct? ... (3 Replies)
Discussion started by: Evan
3 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. Programming

Redirecting output to new file for command "perldoc perllocal"

Hi, I have to redirect output of the command "perldoc perllocal" to new file which contains all the perl module installed. Currently using perldoc perllocal >> mod_data This does not contain all perl modules installed locally on machine, and each character is doubled. Please... (3 Replies)
Discussion started by: asak
3 Replies
condor_updates_stats(1) 				      General Commands Manual					   condor_updates_stats(1)

Name
       condor_updates_stats Display - output from condor_status

Synopsis
       condor_updates_stats [ -- help - h] [ -- version]

       condor_updates_stats[ -- long - l] [ -- history=<min>-<max>] [ -- interval=<seconds>] [ -- notime] [ -- time] [ -- summary - s]

Description
       condor_updates_statsparses the output from condor_status, and it displays the information relating to update statistics in a useful format.
       The statistics are displayed with the most recent update first; the most recent update is numbered with the smallest value.

       The number of historic points that represent updates is configurable on a per-source basis. See	COLLECTOR_DAEMON_HISTORY_SIZE  in  section
       3.3.16.

Options
       --help

	  Display usage information and exit.

       -h

	  Same as --help.

       --version

	  Display Condor version information and exit.

       --long

	  All update statistics are displayed. Without this option, the statistics are condensed.

       -l

	  Same as --long.

       --history=<min>-<max>

	  Sets	the  range of update numbers that are printed. By default, the entire history is displayed. To limit the range, the minimum and/or
	  maximum number may be specified. If a minimum is not specified, values from 0 to the maximum are displayed. If the maximum is not speci-
	  fied,  all  values  after the minimum are displayed. When both minimum and maximum are specified, the range to be displayed includes the
	  endpoints as well as all values in between. If no sign is given, command-line parsing fails, and usage information is displayed.  If	an
	  sign is given, with no minimum or maximum values, the default of the entire history is displayed.

       --interval=<seconds>

	  The  assumed	update	interval, in seconds. Assumed times for the the updates are displayed, making the use of the --timeoption together
	  with the --intervaloption redundant.

       --notime

	  Do not display assumed times for the the updates. If more than one of the options --notimeand --timeare provided, the final  one  within
	  the command line parsed determines the display.

       --time

	  Display assumed times for the the updates. If more than one of the options --notimeand --timeare provided, the final one within the com-
	  mand line parsed determines the display.

       --summary

	  Display only summary information, not the entire history for each machine.

       -s

	  Same as --summary.

Exit Status
       condor_updates_statswill exit with a status value of 0 (zero) upon success, and it will exit with a nonzero value upon failure.

Examples
       Assuming the default of 128 updates kept, and assuming that the update interval is 5 minutes, condor_updates_stats displays:

       $ condor_status -l host1 | condor_updates_stats	--interval=300
       (Reading from stdin)
       *** Name/Machine = 'HOST1.cs.wisc.edu' MyType = 'Machine' ***
       Type: Main
	 Stats: Total=2277, Seq=2276, Lost=3 (0.13%)
	   0 @ Mon Feb 16 12:55:38 2004: Ok
	  28 @ Mon Feb 16 10:35:38 2004: Missed
	  29 @ Mon Feb 16 10:30:38 2004: Ok
	 127 @ Mon Feb 16 02:20:38 2004: Ok

       Within this display, update numbered 27, which occurs later in time than the missed update numbered 28, is Ok. Each  change  in	state,	in
       reverse time order, displays in this condensed version.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright  (C)  1990-2012  Condor  Team,  Computer  Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012					   condor_updates_stats(1)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy