Uptime

Ihre Sprache: Diese Seite in deutsch

Contents: Description | Usage | System Requirements | Download and Installation | License | Contact | Changes | Localisation

Description

Uptime retrieves the up time of the specified Microsoft Windows NT/2000/XP computer. The up time is the time gone since the last system boot. The time output can be printed into multiple lines so that it can be processed by other applications, i.e. in PHP-Scripts. The application contains English and German texts and adopts to the operating system language. NEW: It's possible to specify a user defined output format which makes it more flexible to use.

Hint: For retrieving the systems up time the application uses the operating systems system log. If the system log is overwritten automatically, it may be not possible to retrieve the up time.

Usage

Syntax: uptime {[/a | /f <Format>] [/s <Computer>] | /?}

/a (optional) Specifies that the output time is written in separate lines. This is especially useful when the output has to be processed by other applications.
This argument cannot be combined with /f.
/f Specifies a user defined output time format. Wildcards and escape sequences can be used:
%Y=years, %D=days, %H=hours, %M=minutes, %S=seconds, %%=percent character, \n=new line, \r=line feed, \t=tab, \\=backslash
This argument cannot be combined with /a.
Tip: You may have a look at the C-funktion printf because the format is validated similar.
/s (optional) Specifies the name of the target computer <computer>. You can name it by NetBIOS name, DNS name or IP address. You may not enter leading \\.
/? Shows uptime help information. This argument must be set alone.

Try the following examples to get known to the application.

uptime /a Retrieves the up time of the local computer and prints it in multiple lines.
uptime /s 127.0.0.1 Retrieves the up time of the computers with the IP address 127.0.0.1 (localhost).
uptime /a /s Compi12 Retrieves the up time of the computers with the NetBIOS name Compi12 and prints it in multiple lines.
uptime /f "%Y+%D %H:%M:%S" Retrieves the up time of the local computer and prints it in the user defined output format.
uptime /? Shows uptime help information.

System Requirements

Download and Installation

Download the ZIP archive and unpack it into any folder on your hard disk. There ist no installation necessary.

Tip: For checking the downloaded file against the MD5 hash you may use MD5 Fingerabdruck by Carstens & Co.

License

Copyright ©2003-2006 Michael Berthold

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Original (engl.) license text.

Contact

If you have problems with the application, errors to announce, suggestions or you simply want to express your thanks, you will reack me as follows:

Michael Berthold
Doehlener Strasse 34
01159 Dresden
Germany

E-Mail: software@bertel.de
WWW: http://www.bertel.de/software/uptime/

Changes

Localisation

I would appreciate any help in localizing the application. If you speak a language in which the application is not available jet, please use the rtf document or the word document with all the applications texts where you can put in the translation. Furthermore I need your help in localizing these websites. If you are known to html al little bit or you have a good html editor you may download this archive with the English websites. The translation templates are also available in German, if this is more comfortable to you.

Last change of page 2006/01/27, Copyright ©2004-2006 Michael Berthold

Navigation: Back to software overview | To start of page

Valid XHTML 1.0! Valid CSS!