nmonvisualizer / nmonvisualizer

A Java GUI tool for analyzing NMON and other system stats files
Apache License 2.0
171 stars 69 forks source link

Load files on launch? #18

Closed rhumpage closed 9 years ago

rhumpage commented 9 years ago

Is it possible to default which files to load into to the GUI when the jar is launched? I would like to open/parse a directory at launch so the managers don't have to CTRL-O and decide which files to choose. I know when there is a directory option for the CLI when creating the png files. Tried to specify directory when launching GUI with no luck. Thanks.

hpresnall commented 9 years ago

Try this latest commit. You can pass a list of files, directories or a combination; it will recursively search any directories for valid files. They will start processing as soon as the GUI loads.

Note that you need to make sure you set the -Xmx property if processing a lot of files to avoid out of memory issues.

rhumpage commented 9 years ago

Works great! Thanks.