hoytech / vmtouch

Portable file system cache diagnostics and control
https://hoytech.com/vmtouch/
BSD 3-Clause "New" or "Revised" License
1.79k stars 210 forks source link

Allow --pidfile option to specify a PID file path #60

Closed johnlinp closed 6 years ago

johnlinp commented 6 years ago

Like the way syslog-ng provides a --pidfile option (man page), I hope vmtouch can provide such option too. Thanks.

hoytech commented 6 years ago

Yes it's a good idea, pull requests welcome! Otherwise I may get around to it eventually, I'm a bit busy now.

johnlinp commented 6 years ago

Great! I will submit a pull request for it.

johnlinp commented 6 years ago

I chose -P instead of --pidfile since no other option has the form of long option.

hoytech commented 6 years ago

Yes -P is perfect thanks! I'll rmake a new release with your feature soon!