lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 25 Dec 2013 20:30:09 -0600
From:	Rob Landley <rob@...dley.net>
To:	linux-kernel@...r.kernel.org
Cc:	Oleg Nesterov <oleg@...hat.com>,
	Martin Schwidefsky <schwidefsky@...ibm.com>
Subject: Question about /proc/uptime

There are two values here, the first is seconds since boot time (which  
is just elapsed time; at one point it was ajusted for suspend and that  
was revered as confusing).

The second value isn't documented but looking at fs/proc/uptime.c I  
think it's idle time? Except, if yo uadd up the idle time from all  
processors wouldn't you get 4x the uptime on a 4-way SMP system that's  
been idle since boot?

Also, is this actual "cpu was on but not doing anything" time, so  
doesn't count suspend as idle? So if you subtract idle from uptime (on  
a uniprocessor system) on a system that spent some of its time  
suspended, what do you get? Amount of time the system "wasn't idle"  
means... Is suspend time idle or not idle?

Confused,

Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ