summaryrefslogtreecommitdiff
path: root/src/cgtop
AgeCommit message (Collapse)Author
2013-06-06cgroup: the "tasks" attribute is obsolete, cgroup.procs is the new replacementLennart Poettering
2013-04-08cgtop: print absolute CPU times with format_timespanLennart Poettering
2013-04-04util: make time formatting a bit smarterLennart Poettering
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-03util: rename parse_usec() to parse_sec() sinds the default unit is secondsLennart Poettering
Internally we store all time values in usec_t, however parse_usec() actually was used mostly to parse values in seconds (unless explicit units were specified to define a different unit). Hence, be clear about this and name the function about what we pass into it, not what we get out of it.
2013-04-02cgtop: add % as key to toggle time/percentageZbigniew Jędrzejewski-Szmek
2013-04-02cgtop: optionally show CPU usage as time and become stdout sensitiveUmut Tezduyar
2013-03-29cgtop --help: default depth is 3 not 2Maksim Melnikau
use default depth from variable for --help
2013-02-14honor SELinux labels, when creating and writing config filesHarald Hoyer
Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
2012-10-19util: unify line caching and column cachingLennart Poettering
2012-10-19util: simplify column caching logicLennart Poettering
2012-09-21cgtop: missing '-'Václav Pavlín
Return codes in systemd are negated and if (r < 0) if (r == ENOENT) was never true.
2012-08-06continue work with error messages, log_oom()Shawn Landden
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-07-26cgtop: add --version optionZbigniew Jędrzejewski-Szmek
2012-07-26cgtop: use full terminal widthZbigniew Jędrzejewski-Szmek
2012-07-26Add a 'b' option to cgtop, equivalent to the same option in topDavid Strauss
[zj: use static]
2012-07-26Add an 'n' option to cgtop (equivalent to top)David Strauss
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn Landden
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-25use "Out of memory." consistantly (or with "\n")Shawn Landden
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-13util: rename join() to strjoin()Lennart Poettering
This is to match strappend() and the other string related functions.
2012-05-29cgtop: work even if not all cgroups are availableShawn Landden
cgtop quits on startup if all the cgroup mounts it expects are not available. Just continue without nonexistant ones.
2012-05-22cgtop: change default depth to 3Lennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=49778
2012-05-08util: split-out path-util.[ch]Kay Sievers
2012-04-13build-sys: add stub makefiles to all subdirs to ease development with emacsLennart Poettering
2012-04-12move all tools to subdirsKay Sievers