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
LNSTAT(8) System Manager's Manual LNSTAT(8)NAME
lnstat - unified linux network statistics
SYNOPSIS
lnstat [options]
DESCRIPTION
This manual page documents briefly the lnstat command.
lnstat is a generalized and more feature-complete replacement for the old rtstat program. In addition to routing cache statistics, it sup-
ports any kind of statistics the linux kernel exports via a file in /proc/net/stat/.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). lnstat supports the following
options.
-h, --help
Show summary of options.
-V, --version
Show version of program.
-c, --count <count>
Print <count> number of intervals.
-d, --dump
Dump list of available files/keys.
-f, --file <file>
Statistics file to use.
-i, --interval <intv>
Set interval to 'intv' seconds.
-k, --keys k,k,k,...
Display only keys specified.
-s, --subject [0-2]
Specify display of subject/header. '0' means no header at all, '1' prints a header only at start of the program and '2' prints a
header every 20 lines.
-w, --width n,n,n,...
Width for each field.
USAGE EXAMPLES
# lnstat -d
Get a list of supported statistics files.
# lnstat -k arp_cache:entries,rt_cache:in_hit,arp_cache:destroys
Select the specified files and keys.
# lnstat -i 10
Use an interval of 10 seconds.
# lnstat -f ip_conntrack
Use only the specified file for statistics.
# lnstat -s 0
Do not print a header at all.
# lnstat -s 20
Print a header at start and every 20 lines.
# lnstat -c -1 -i 1 -f rt_cache -k entries,in_hit,in_slow_tot
Display statistics for keys entries, in_hit and in_slow_tot of field rt_cache every second.
SEE ALSO ip(8), and /usr/share/doc/iproute-doc/README.lnstat (package iproute-doc on Debian)
AUTHOR
lnstat was written by Harald Welte <laforge@gnumonks.org>.
This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others).
LNSTAT(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)