Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created May 2, 2021 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/d45854414d6beedd2606fd8144eee459 to your computer and use it in GitHub Desktop.
Save grahamc/d45854414d6beedd2606fd8144eee459 to your computer and use it in GitHub Desktop.
[root@ceres:~]# pgrep -af hydra-qu
25219 hydra-queue-runner -v
[root@ceres:~]# systemctl status hydra-^C
[root@ceres:~]# ls -la /proc/25219/exe
lrwxrwxrwx 1 hydra-queue-runner hydra 0 May 2 21:42 /proc/25219/exe -> /nix/store/1py4i11q64dy7q4698gja3jcdphh1wjp-hydra-0.1.20210417.1bb1ba6/bin/hydra-queue-runner
[root@ceres:~]# systemctl status hydra-queue-runner.service | head -n10
● hydra-queue-runner.service
Loaded: loaded (/nix/store/9kdw35dfgw4qq8pad2wzjnz7ms48w7fn-unit-hydra-queue-runner.service/hydra-queue-runner.service; linked; vendor preset: enabled)
Active: active (running) since Sun 2021-04-25 17:37:25 CEST; 1 weeks 0 days ago
Main PID: 25219 (hydra-queue-run)
IP: 3.9T in, 1.3T out
Tasks: 248 (limit: 4915)
Memory: 15.7G
CPU: 1month 2w 13h 24min 27.868s
CGroup: /system.slice/hydra-queue-runner.service
├─ 504 ssh root@8710aa01.packethost.net -i /var/lib/hydra/queue-runner/.ssh/id_buildfarm_rsa -oUserKnownHostsFile=/tmp/nix-25219-614748/host-key -x -a -oBatchMode=yes -oConnectTimeout=60 -oTCPKeepAlive=yes -- nix-store --serve --write
[root@ceres:~]# cat /nix/store/9kdw35dfgw4qq8pad2wzjnz7ms48w7fn-unit-hydra-queue-runner.service/hydra-queue-runner.service | grep ExecSt
ExecStart=@/nix/store/b5qcgwq3i1v8jmi5y3488chg4lvmdsaa-hydra-0.1.20210429.18d2716/bin/hydra-queue-runner hydra-queue-runner -v
ExecStopPost=/nix/store/b5qcgwq3i1v8jmi5y3488chg4lvmdsaa-hydra-0.1.20210429.18d2716/bin/hydra-queue-runner --unlock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment