aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add rate limit optionHEADmasterJoseph Hunkeler2023-02-151-0/+1
|
* Fixes:Joseph Hunkeler2023-02-151-9/+44
| | | | | | | * Change Option and parse_options to static * Remove program name from Option structure * Implement sample limit (arg: -l) * Prevent buffer overflow while constructing absolute path
* Add gnuplotJoseph Hunkeler2023-02-151-1/+1
|
* Implement mstat_check_argument_(int,double,str) functionsJoseph Hunkeler2023-02-152-20/+58
|
* Break out gnuplot functions into their own source filesJoseph Hunkeler2023-02-152-0/+162
|
* Move plotting functions to gnuplot.[c,h]Joseph Hunkeler2023-02-151-152/+16
| | | | | | | | | | | | * Set Options and parse_options to static * Check -f argument receives a valid string * Change data_total from int to size_t * Print option.filename instead of argv[1] before reading the mstat file * Fix allocation size of gp array * Add better ticmarks * Increase line width to 1. * Bugfix: wait for user to close gnuplot window before exiting * Bugfix: free pointers to axis_y and gp
* Update save messageJoseph Hunkeler2023-02-131-1/+1
|
* Bugfix: Transfer control of standard input to child processJoseph Hunkeler2023-02-131-1/+14
| | | | | | | * print a linefeed when an interrupt signal fires to avoid "^Cmessages" * sleep before exiting to allow time for stdout/stderr to flush from the child process * replace "data written" with "MSTAT file written" * print absolute path to data file at exit
* Merge pull request #1 from pllim/ignore-theseJoseph Hunkeler2023-02-131-0/+8
|\ | | | | Ignore generated files in WSL2
| * Also ignore install manifestP. L. Lim2023-02-131-0/+1
| |
| * Ignore built files tooP. L. Lim2023-02-131-0/+3
| |
| * Ignore generated files in WSL2P. L. Lim2023-02-131-0/+4
|/
* Do not clear terminal windows while servicing signal(s)Joseph Hunkeler2023-02-121-2/+10
|
* Add brief installation instructionsJoseph Hunkeler2023-02-121-0/+16
|
* Update LICENSE.txtJoseph Hunkeler2023-02-121-1/+1
|
* More stdout message modificationJoseph Hunkeler2023-02-124-33/+83
| | | | | | | * Clear terminal (if possible) and pretty print all fields for each sample * Clean up usage statement(s) * mstat_find_program returns absolute path of "name" on success if "name" begins with "./" * Zero option structure(s) at runtime
* Move filename modification below PID assignmentJoseph Hunkeler2023-02-101-20/+20
|
* Rename license fileJoseph Hunkeler2023-02-101-0/+0
|
* Move find_program to common (refactored as mstat_find_program)Joseph Hunkeler2023-02-101-29/+1
|
* Add slightly more information to the READMEJoseph Hunkeler2023-02-101-4/+40
|
* Add optionsJoseph Hunkeler2023-02-101-33/+133
| | | | | | * -o sets the output directory * cleaned up various stdout/stderr messages * add ability to spawn a process and monitor it
* Move find_program to commonJoseph Hunkeler2023-02-092-1/+44
| | | | * Add ability to return the path to program
* free resources in find_programJoseph Hunkeler2022-09-151-0/+2
|
* find_program did not use the name argument all. robust.Joseph Hunkeler2022-09-151-1/+4
|
* Initial commitJoseph Hunkeler2022-09-149-0/+1413