mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-29 17:14:37 +03:00
6784168b66
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
6 lines
286 B
Bash
Executable File
6 lines
286 B
Bash
Executable File
echo "Downloading profile"
|
|
token=$(./tool.sh generate-token --admin anticrm@hc.engineering sanity-ws)
|
|
current=$(date +%Y%m%d%H%M%S)
|
|
mkdir -p ./profiles
|
|
curl -X PUT "http://localhost:3334/api/v1/manage?token=${token}&operation=profile-stop" -o "./profiles/profile-${current}".cpuprofile
|