Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-08 | Change the TNAME behavior to "Show parent argv[0]. If that's blank, showour ↵ | Rob Landley | |
argv[0]. If that's blank, show [stat2]." That way threads show their parents, parents show themselves, and kernel threads show the [stat2] name. | |||
2016-06-07 | Izabera pointed out that cmp -ls are contradictory. | Rob Landley | |
2016-06-05 | Fix TOYBOX_VERSION | Paul Barker | |
The latest tagged version is 0.7.1. | |||
2016-06-04 | Basic success/failure return from pgrep/pkill. | Elliott Hughes | |
The man page says they also return 2 for syntax errors and 3 for "fatal error: out of memory etc", but I don't know how to implement that and don't need it (or have any reason to believe anyone needs it). Bug: 29092208 | |||
2016-06-04 | ps: Show [stat2] for any otherwise blank process name field, expand TNAME to 27, | Rob Landley | |
use generated constant for stat field parsing loop. | |||
2016-05-31 | In cp -a, don't complain if non-root user can't chown, failure is expected.0.7.1 | Rob Landley | |
2016-05-30 | Add output path to cp error message filenames. | Rob Landley | |
2016-05-27 | Add -o TNAME for android, fix display of last field (retain left justifification | Rob Landley | |
when trimmed for screen width), make ARGS path trimming logic work with spaces in path. | |||
2016-05-26 | Stabilize another sort. | Elliott Hughes | |
Unstable sorting means confusing diffs if you're checking in the generated files. (Which I shouldn't be doing, but getting this bundle of random scripts into Android's build system isn't going to be easy...) | |||
2016-05-25 | Stand alone builds of OLDTOY should show help text for corresponding NEWTOY. | Rob Landley | |
2016-05-24 | The "show parent command path" commit changed the criteria for active nodes, | Rob Landley | |
and the collate logic wasn't updated. (Oops.) | |||
2016-05-23 | Fix remaining pkill tests. | Elliott Hughes | |
I don't know that anyone cares, but these failures made me think I'd broken something while testing the -SIGNAL patch. The -s parsing wasn't taking into account that -s 0 is a special case, and the -o test was assuming that pkill can tell the difference between two processes started at roughly the same time. Hopefully there's higher-resolution data available that can avoid the need for yet another sleep in the tests. | |||
2016-05-23 | Fix pkill -9. | Elliott Hughes | |
This fixes the existing test. Internal Android bug 28877702. I've left -l as-is, even though the desktop doesn't support that. | |||
2016-05-22 | Don't truncate number fields for anything but right edge of screen, instead | Rob Landley | |
let them overflow and try to reclaim extra space from later short fields. | |||
2016-05-22 | Make -o COMMAND show parent command path for threads, and use saved length | Rob Landley | |
calculations instead of doing strlen() on strings again to store lengths. | |||
2016-05-22 | Comment and help text tweaks. | Rob Landley | |
2016-05-20 | Add bufgetgrgid() | Rob Landley | |
2016-05-20 | Make build dependencies more granular. This should fix the problem where | Rob Landley | |
"make top; make ps" produces a ps that can't do -A because generated/obj/ps.o didn't get rebuilt. | |||
2016-05-17 | Add bufgetpwuid. (Repeated calls to getpwuid() are really expensive.) | Rob Landley | |
2016-05-16 | Add top -O | Rob Landley | |
2016-05-16 | Add stat -tL and -c %m%t%T. | Rob Landley | |
Suggested by Sameer Pradhan, or possibly Bilal Qureshi. | |||
2016-05-10 | Use CFG_TOYBOX_NORECURSE to avoid | Rob Landley | |
<strike>all that tedious mucking about with hyperspace</strike> stack measuring in ways that confuse security stuff. | |||
2016-05-07 | Work around increasingly insane compiler developers wanting to make everything | Rob Landley | |
undefined behavior so the optimizer can silently eliminate your entire program. | |||
2016-05-05 | Fix static linkage of toybox binary. | Alistair Strachan | |
If toybox was compiled statically e.g. for use in a recovery ramdisk, it would not build after b66a29a. This is because libselinux already exports a selinux_log_callback() function which getprop.c is trying to override. This change simply makes the second symbol static, since it is only used in a function table so we do not actually need to export it from toybox. Change-Id: I603258877ae2286660df35738bbf4f4285df5b54 Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com> | |||
2016-05-05 | Add top -H. | Elliott Hughes | |
Also enable the same behavior we have with ps, where adding a thread-related field implies that you're interested in threads. Also clean up the help text slightly --- we're still not including the TOP_COMMON help, but at least when we do, we'll have each option covered with no duplicates. | |||
2016-05-05 | Android roadmap update. | Elliott Hughes | |
I removed iftop a while back but didn't remove it everywhere in the documentation. I switched over to toybox ps yesterday. | |||
2016-05-05 | "top -b -n1" should end with a newline. | Elliott Hughes | |
The use of TT.time to determine whether to use \r or \n is a little odd, but let's stick with that for now. Correct the spelling of millitime and add a test. | |||
2016-05-04 | Elliott says -T should fetch threads even when not displaying thread fields. | Rob Landley | |
2016-05-04 | Simplify ps android scheduling policy fetch slightly. | Rob Landley | |
2016-05-04 | Hostname cleanup, as described on the list. | Rob Landley | |
2016-05-03 | Add -b and -F arguments to hostname | Paul Barker | |
These arguments are required to correctly set the hostname at boot time. They are used by the '/etc/init.d/hostname.sh' init script in an OpenEmbedded system. | |||
2016-05-02 | Fluff up README. | Rob Landley | |
2016-04-30 | Add a ps "PCY" field for Android scheduling policy. | Elliott Hughes | |
2016-04-29 | First guess at showing thread names properly. | Rob Landley | |
2016-04-29 | Show "-" rather 0 if we don't know whether a process is 32- or 64-bit. | Elliott Hughes | |
2016-04-29 | Fix ps -O help output alignment. | Elliott Hughes | |
2016-04-25 | ps thread supportand 32/64 bit detection. | Rob Landley | |
Add ps -o BIT,TID,TCNT, and make -T display "PID,TID" for default output types (adding TCNT to -f) | |||
2016-04-25 | Fix find bug reported by Tom Marshall, add test for it, and while we're at it | Rob Landley | |
fix two tests looking for a too-specific error message (so TEST_HOST failed). | |||
2016-04-24 | Add "infrastructure in search of a user" to cleanup.html. | Rob Landley | |
2016-04-23 | Add the non-tty more(1) test. | Elliott Hughes | |
(This was supposed to be in the earlier patch, but I was fooled by "git commit -a" yet again...) | |||
2016-04-23 | Fix more to not append an extra newline. | Elliott Hughes | |
More's sigatexit handler needs to distinguish between normal exit and exit due to receipt of a signal. Change tty_sigreset to look at the signal number too, so that pressing 'q' to exit top doesn't cause its exit status to be 128. | |||
2016-04-23 | Fix more to a non-tty. | Elliott Hughes | |
And add a test. | |||
2016-04-23 | Remove inappropriate bzip tests (we're not comparing with random "host version") | Rob Landley | |
replace with testing 2 known files out of blkid tests, and add badcrc test. | |||
2016-04-23 | Fiz bzcat segfault reported by John Regehr (bad crc didn't set error message). | Rob Landley | |
2016-04-22 | Allow EVAL= to run test under a different shell (for sh.test) | Rob Landley | |
2016-04-21 | Have dirtree_recurse() take the new dirfd as an argument. | Rob Landley | |
2016-04-21 | Fix touch -t seconds parsing | Davis Mosenkovs | |
2016-04-20 | Start of shell tests: $(()) and $'' expansion. | Rob Landley | |
2016-04-20 | Replace list_working with just list, "make list list_pending" shows combined ↵ | Rob Landley | |
list. | |||
2016-04-19 | ps and top are implemented from the android todo. Record enh's wishlist items. | Rob Landley | |