Lennart Poettering
ed757c0cb0
util: unify line caching and column caching
2012-10-19 00:07:55 +02:00
Lennart Poettering
28917d7dc7
util: simplify column caching logic
2012-10-19 00:07:55 +02:00
Václav Pavlín
2f29c419b0
cgtop: missing '-'
...
Return codes in systemd are negated and
if (r < 0) if (r == ENOENT)
was never true.
2012-09-21 16:04:25 +02:00
Shawn Landden
1421211924
continue work with error messages, log_oom()
...
Adds messages for formally silent errors: new "Failed on cmdline argument %s: %s".
Removes some specific error messages for -ENOMEM in mount-setup.c. A few specific
ones have been left in other binaries.
2012-08-06 16:37:01 +02:00
Zbigniew Jędrzejewski-Szmek
0d7e32fa0a
cgtop: add --version option
2012-07-26 23:32:03 +02:00
Zbigniew Jędrzejewski-Szmek
11f96fac8f
cgtop: use full terminal width
2012-07-26 23:32:01 +02:00
David Strauss
e66bb58bed
Add a 'b' option to cgtop, equivalent to the same option in top
...
[zj: use static]
2012-07-26 20:25:51 +02:00
David Strauss
a152771af1
Add an 'n' option to cgtop (equivalent to top)
2012-07-26 20:25:49 +02:00
Shawn Landden
0d0f0c50d3
log.h: new log_oom() -> int -ENOMEM, use it
...
also a number of minor fixups and bug fixes: spelling, oom errors
that didn't print errors, not properly forwarding error codes,
few more consistency issues, et cetera
2012-07-26 11:48:26 +02:00
Shawn Landden
669241a076
use "Out of memory." consistantly (or with "\n")
...
glibc/glib both use "out of memory" consistantly so maybe we should
consider that instead of this.
Eliminates one string out of a number of binaries. Also fixes extra newline
in udev/scsi_id
2012-07-25 11:23:57 +02:00
Lennart Poettering
b7def68494
util: rename join() to strjoin()
...
This is to match strappend() and the other string related functions.
2012-07-13 13:41:01 +02:00
Shawn Landden
63210a15e1
cgtop: work even if not all cgroups are available
...
cgtop quits on startup if all the cgroup mounts it expects are not available.
Just continue without nonexistant ones.
2012-05-29 21:59:10 +02:00
Lennart Poettering
30edf11616
cgtop: change default depth to 3
...
https://bugs.freedesktop.org/show_bug.cgi?id=49778
2012-05-22 01:48:40 +02:00
Kay Sievers
9eb977db5b
util: split-out path-util.[ch]
2012-05-08 02:33:10 +02:00
Kay Sievers
dce818b390
move all tools to subdirs
2012-04-12 17:54:42 +02:00