[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

[TEKNIK] Logning af antal sekunder siden sidste boot via syslogd



Hej ssluggere

Har behov for at lave et script der en gang i døgnet laver et log-entry med
oplysninger om antal sekunder siden sidste boot.


Logningen i sig selv er ikke det store problem

/bin/logger -t $0 <antal-secs>

Der hvor jeg har det store problem er at finde ud af hvor mange sekunder
der er gået siden maskinen er blevet bootet.

Findes der et lille program der hurtigt kan fortælle mig hvornår maskine
sidste har været bootet ??

Det drejer sig om følgende OS:

- United Linux 1.0
- Suse Linux Enterprise Server 8
- Suse Linux Enterprise Server 9 (32/64 bit)

 
Med venlig hilsen / Regards
 
Frank Larsen
Kimik IT A/S
PO Box 740
3900 Nuuk
Greenland
Mail : sslug@sslug
Phone: +299 34 20 00
Fax  : +299 34 20 01
Skype: larsen_frank
Gmail: franklarsen19xx


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-04-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *