uprecords 命令详解

| 选择喜欢的代码风格  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

uprecords 命令安装:


-bash/zsh: uprecords command not found

#Debian
apt-get install uptimed

#CentOS
yum install uptimed

#Ubuntu
apt-get install uptimed

#Alpine
apk add uptimed

#Arch Linux
pacman -S uptimed

#Kali Linux
apt-get install uptimed

#Fedora
dnf install uptimed

#OS X
brew install uptimed

#Raspbian
apt-get install uptimed

#Docker
docker run cmd.cat/uprecords uprecords

uprecords 命令补充说明:


uprecords 命令提供 uptimed 程序中的记录统计信息。

uprecords 命令语法:


uprecords [ -?abBcfkKMsv ] [ -i <interval> ] [ -m <count> ]

uprecords 命令选项:


-?
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

uprecords 命令实例:


uprecords 显示前 10 个正常运行时间记录的摘要:

uprecords

uprecords 显示前 25 条记录:

uprecords -m 25

uprecords 显示两次重启之间的停机时间,而不是内核版本:

uprecords -d

uprecords 显示最近的重启:

uprecords -B

uprecords 不要截断信息:

uprecords -w

uprecords 命令扩展阅读:




uprecords 命令评论

共收录到 491Linux 命令