Added a check for an empty process field. Also, added ability to leave just a process name that will be an alias simultaneously.Alexander Andreev2023-12-16 02:22:27 +0400
process.go was renamed to process_unix.go and build tags for unix was added to it as well. That's to show that currently only unix and unix-like systems are supported.Alexander Andreev2023-12-15 04:05:34 +0400
Only short flags left. version() and printWatchedProcesses() funcs are removed and its body was moved in-place.Alexander Andreev2022-10-10 00:18:17 +0400
Program renamed. Version was changed to 2.0.0. Fixed typo. Corrected installation section and link to PKGBUILD.Alexander Andreev2022-10-10 00:12:16 +0400
util.go -> proc.go. ioutil.ReadDir -> os.ReadDir. Error handling for dir name convert to int. Added build flags to restrict it to UNIX-like OSs only.Alexander Andreev2022-10-10 00:10:34 +0400
Systemd service file was moved to init dir. Program renamed. Added all security tweaks used in other projects.Alexander Andreev2022-10-10 00:06:35 +0400
httpprocwatchd was renamed to httpprocprobed. Added -tags to make executable dynamic. Removed un/install-service targets. Modified paths to files.Alexander Andreev2022-10-10 00:05:38 +0400
[main.go] listWatchedProcesses -> print... . Moving it and version to bottom. Use os.Exit(0) instead of just return from main. StoreConfiguration moved out Add/RemoveProcess methods.Alexander Andreev2022-01-06 03:24:57 +0400
[util.go] Optimisation by comparing high part of byte to 3 (numbers in ASCII are going from 0x30 to 0x39). And convert the whole number only if it is PID we are looking for.Alexander Andreev2022-01-06 03:22:38 +0400
[server.go] Use switch statement by Accept header. Removing methods and directly making and appending to ProcessList.Alexander Andreev2022-01-06 03:17:26 +0400
[processlist.go] Removed NewProcessList and AddProcess funcs. Passing ProcessList to MarshalXML by pointer instead of value.Alexander Andreev2022-01-06 03:15:28 +0400
[configuration.go] append a list instead, in case there are multiple processes options. Removed StoreConfiguratuion from Add/RemoveProcess funcs, and shorten theirs names.Alexander Andreev2022-01-06 03:13:52 +0400
[util.go] It is better to see in a cmdline, rather than in comm. For example, matrix synapse in comm has just python3. So lets look in both comm and cmdline.Alexander Andreev2022-01-03 01:10:15 +0400
[util.go] It is better to see in a cmdline, rather than in comm. For example, matrix synapse in comm has just python3. So lets look in both comm and cmdline.Alexander Andreev2022-01-03 01:08:52 +0400
Code was restructurised again. Moved out back to root dir. Ditched JSON configuration file. Replaced with simple key = value format. Added indented_output option to format output with indent.Alexander Andreev2022-01-02 21:30:56 +0400
Aside from JSON there is also XML available now. You need to provide an Accept: application/xml to get XML. Fixed removing from list, so it works now. Implemented reloading of list of procs by sending SIGHUP signal to process. Spread everything across multiple files for readability.Alexander Andreev2021-12-24 23:28:50 +0400
[Makefile] $() -> ${}. Use `install` the right way. Make it ready for PKGBUILD using DESTDIR. Added clean target.Alexander Andreev2021-12-24 21:17:36 +0400
Added --add, --remove, and --list options to edit a list of processes in a configuration file. Implemented StoreConfiguration func to save changes back to a file. Changed version text.Alexander Andreev2021-11-03 23:52:57 +0400