UPRECORDS(1) General Commands Manual UPRECORDS(1)NAME
uprecords - provides uptime records
SYNOPSIS
uprecords [ -?abBcfkKMsv ] [ -i <interval> ] [ -m <count> ]
DESCRIPTION
This manual page documents the uprecords program.
uprecords is a program that provides record statistics from the uptimed(8) program.
OPTIONS
-? Show usage
-a Do not print ANSI codes
-b -B Sort by time of bootup, oldest entry first. -B reverses. Option implies -s. Do not print ANSI codes
-c Do not show current entry if not in top entries
-f Run continuously in a loop
-k -K Sort by kernel/system name. -K reverses. Option implies -s.
-M Show next milestone
-s Do not print extra statistics
-i <interval>
Use <interval> seconds for loop instead of 5, implies -f
-m <count>
Show a maximum of top COUNT entries instead of 10
-v Show version information
SEE ALSO uptimed(8)AUTHOR
Rob Kaper <cap@capsi.com>.
This manual page was written by Alan Ford <alan@whirlnet.co.uk>, for the Debian GNU/Linux system (but may be used by others). It was last
modified for uptimed version 0.3.7.
June 20, 2004 UPRECORDS(1)
Check Out this Related Man Page
UPTIMED(8) System Manager's Manual UPTIMED(8)NAME
uptimed - daemon to record uptime records
SYNOPSIS
uptimed [ -?bv ] [ -e <email> ] [ -i <interval> ] [ -m <count> ]
DESCRIPTION
This manual page documents the uptimed program.
uptimed is a daemon that records statistics about a machine's uptime. Use the uprecords(1) program to get uptime record statistics.
OPTIONS
These command-line options override settings in the configuration file /etc/uptimed.conf
-? Show usage
-b Create bootid and exit. This option is ignored on BSD systems, because the BSD kernel keeps a static boot time variable in memory so
Uptimed does not need to cache this value.
-p <file>
Write PID to pidfile <file>
-e <email>
Send mail to <email> at milestones/records
-i <interval>
Use <interval> seconds for loop
-m <count>
Log a maximum of <count> entries
-t <timespec>
Set the minimum uptime to be considered a record
-v Show version information
SEE ALSO uprecords(1)AUTHOR
Rob Kaper <cap@capsi.com>.
This manual page was written by Alan Ford <alan@whirlnet.co.uk>, for the Debian GNU/Linux system (but may be used by others). It was last
modified for uptimed version 0.3.7.
May 28, 2004 UPTIMED(8)
I want to print the value of variables a1, a2, a3 in for loop in the following program:
a1=this
a2=is
a3=printed
for((i=1;i<4;i++))
do
var=a$i
#w=`echo $var`
e=${var}
echo $e
done
But actually I get a1,a2,a3 as the output not the "this is printed"
So the main question is if I... (3 Replies)
Hi,
I am using for loop as follow:
for n in `ls`
do
echo "$n"
done
The code is running fine and aI am getting valid output as:
jick
zenny
assi
yogi
But 1also want to print count in front of each output like this:
1 jick
2 zenny (4 Replies)
Hi guys :D
I am still playing with my C handbook and yes, as you can see I have small problem as always :cool:
I wrote a C code
#include <stdio.h> #define MESSAGE 100 int main(void) { char input_mes - Pastebin.com
And when I try to compile it I get following errors from gcc
... (1 Reply)