How to retrieve the start and end times for the vFunction Analysis from the logs
Steps on a Linux Server
Take the following steps to find the duration of the analysis from the logs of a vFunction Server logs running on a Linux Server:
- SSH to the Linux VM
- Run the following command to gather the timestamp of the Analysis Start Time
- Root / Sudo Installation Location:
sudo grep "*** Analysis has started ***" /var/log/vfunction/vfapi.log
- Sudoless Installation Location: $BASE_DIR/vfunction/var/log/vfunction/
### Replace $BASE_DIR with the location where the vFunction Server was installed
grep "*** Analysis has started ***" $BASE_DIR/vfunction/var/log/vfunction/vfapi.log
- Run the following command to gather the timestamp of the Analysis Stop Time
- Root / Sudo Installation Location:
sudo grep "*** Analysis completed ***" /var/log/vfunction/vfapi.log
- Sudoless Installation Location: $BASE_DIR/vfunction/var/log/vfunction/
### Replace $BASE_DIR with the location where the vFunction Server was installed
grep "*** Analysis completed ***" $BASE_DIR/vfunction/var/log/vfunction/vfapi.log
Steps on a cluster Server
Take the following steps to find the duration of the analysis from the logs of a vFunction Server logs running on a cluster:
- Open the logs of the vfunction-vfapi-measurements Pod
- Search for the string below to gather the timestamp of the Analysis Start Time
*** Analysis has started ***
- Run the following command to gather the timestamp of the Analysis Stop Time
*** Analysis completed ***