Systemd/src
Lennart Poettering 2fa4092c28 util: make time formatting a bit smarter
Instead of outputting "5h 55s 50ms 3us" we'll now output "5h
55.050003s". Also, while outputting the accuracy is configurable.

Basically we now try use "dot notation" for all time values > 1min. For
>= 1s we use 's' as unit, otherwise for >= 1ms we use 'ms' as unit, and
finally 'us'.

This should give reasonably values in most cases.
2013-04-04 02:56:56 +02:00
..
ac-power unit: add ConditionACPower= 2012-12-31 21:24:26 +01:00
activate activate: do not leak envp on error 2013-03-31 19:01:57 -04:00
analyze util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
ask-password util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
binfmt util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
boot bootctl: fix help text 2013-03-29 15:47:43 +01:00
bootchart Always use our own MAX/MIN definitions 2013-04-01 23:43:48 -04:00
cgls pager: introduce "jump to end" option 2013-03-07 21:16:04 +01:00
cgroups-agent build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
cgtop util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
core util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
cryptsetup util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
delta pager: introduce "jump to end" option 2013-03-07 21:16:04 +01:00
detect-virt build-sys: drop all distribution specfic checks 2013-01-04 23:26:21 +01:00
efi-boot-generator efi: various cleanups 2013-02-13 00:12:58 +01:00
fsck Do no isolate in case of emergency or severe problems 2013-04-01 23:43:48 -04:00
fstab-generator Always use errno > 0 to help gcc 2013-03-29 10:12:41 -04:00
getty-generator honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
gudev licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
hostname hostnamectl: if somebody invokes 'hostnamectl set-hostname' with a valid internet hostname unset the pretty name 2013-04-03 22:06:16 +02:00
initctl initctl: fix return from unitialized memory in error path 2013-03-21 22:39:23 -04:00
journal util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
kernel-install kernel-install: rename the loader entry filename 2013-02-26 15:21:23 +01:00
libsystemd-bus Always use our own MAX/MIN definitions 2013-04-01 23:43:48 -04:00
libsystemd-daemon Always use errno > 0 to help gcc 2013-03-29 10:12:41 -04:00
libsystemd-id128 update .gitignore 2012-04-13 21:58:01 +02:00
libudev Remove some dead code 2013-03-31 14:28:36 -04:00
locale shared: rework env file reader 2013-04-03 20:12:57 +02:00
login util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
machine-id-setup build-sys: drop all distribution specfic checks 2013-01-04 23:26:21 +01:00
modules-load modules-load: there's really no point in mentioning that a certain modules is already loaded 2013-03-26 03:13:41 +01:00
notify env: considerably beef up environment cleaning logic 2013-02-11 03:54:50 +01:00
nspawn util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
nss-myhostname nss-myhostname: do not use _cleanup_ 2013-04-02 13:57:32 -04:00
python-systemd systemd-python: allow retrieval of single fields 2013-03-21 23:05:09 -04:00
quotacheck honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
random-seed random-seed: fix error message typo 2012-10-19 17:31:33 +02:00
rc-local-generator build-sys: make rc-local support part of SYSV compat 2013-01-04 23:26:20 +01:00
readahead util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
remount-fs service: add options RestartPreventExitStatus and SuccessExitStatus 2012-08-14 14:46:03 +02:00
reply-password build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
shared util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
shutdownd util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
sleep util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
stdio-bridge stdio-bridge: rework stdio bridge to use libsystemd-bus 2013-04-01 03:29:30 +02:00
sysctl util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
system-update-generator log.h: new log_oom() -> int -ENOMEM, use it 2012-07-26 11:48:26 +02:00
systemctl util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
systemd update TODO 2013-04-02 17:47:59 +02:00
test util: make time formatting a bit smarter 2013-04-04 02:56:56 +02:00
timedate util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
timestamp build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
tmpfiles util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
tty-ask-password-agent Revert "log_error() if inotify_add_watch() fails" 2013-02-13 16:25:33 +01:00
udev util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
update-utmp utmp: read the right timestamp 2012-09-17 17:48:19 +02:00
vconsole util: rename write_one_line_file() to write_string_file() 2013-04-03 20:12:56 +02:00
.gitignore move libsystemd-id128, libsystemd-daemon to subdir 2012-04-12 15:26:39 +02:00
Makefile relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00