prompt
stringlengths
6
157
response
stringlengths
1
147
post a test request for svc-20482
curl -I http://127.0.0.1:40482/svc-20482/ | tail -n 10
query JSON data for svc-20483
jq -S '.items[] | .name' /srv/svc-20483/health.json | sort -u
display the commit log for /srv/svc-20484
git -C /srv/svc-20484 log --name-status -n 100 --grep='fix' | cut -d: -f1
clean up selected files in /srv/svc-20485
find /srv/svc-20485 -type f -name '*.conf' -mtime +7 -delete | less
locate matching files in /srv/svc-20486
find /srv/svc-20486 -mindepth 1 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tac
pretty-print JSON for svc-20487
jq -e '.services | keys[]' /srv/svc-20487/users.json | uniq
find files under /srv/svc-20488
find /srv/svc-20488 -type f -empty -size +10M -exec gzip {} + | tee -a /tmp/svc-20488.log
search the svc-20489 directory tree
find /srv/svc-20489 -type f -name '*.conf' -newermt '1 day ago' -print | sed -n '1,20p'
clean up selected files in /srv/svc-20490
find /srv/svc-20490 -mindepth 1 -type f -empty -size +10M -delete | grep -v '^#'
locate matching files in /srv/svc-20491
find /srv/svc-20491 -type f -name '*.json' -print | sort
list matching paths under /srv/svc-20492
find /srv/svc-20492 -mindepth 1 -type f -name '*.gz' -size +50M -exec gzip {} + | head -n 20
find files under /srv/svc-20493
find /srv/svc-20493 -type d -name '*.tmp' -size +50M -exec gzip {} + | uniq -c
query systemd status for svc-20494
systemctl show svc-20494.service 2>&1 | tee /tmp/svc-20494.log
clean up selected files in /srv/svc-20495
find /srv/svc-20495 -maxdepth 2 -type f -name '*.conf' -size +10M -print | sed -n '1,20p'
locate matching files in /srv/svc-20496
find /srv/svc-20496 -mindepth 1 -type f -name '*.tmp' -size +50M -delete | fold -w 120
list matching paths under /srv/svc-20497
find /srv/svc-20497 -type d -name '*.conf' -delete | head -n 20
show the diff in /srv/svc-20498
git -C /srv/svc-20498 diff --name-only --cached src/ || true
search the svc-20499 directory tree
find /srv/svc-20499 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | sort
summarize git differences for /srv/svc-20500
git -C /srv/svc-20500 diff --check HEAD~1 src/ | grep -i error
measure the size of svc-20501 data
wc -l /var/log/svc-20501.log | cat
process log fields for svc-20502
awk -F, '{print $1}' /var/log/svc-20502/access.log | sort | uniq -c | sort -nr | head | sort -u
find files under /srv/svc-20503
find /srv/svc-20503 -type l -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
search the svc-20504 directory tree
find /srv/svc-20504 -type f -name '*.json' -exec ls -lh {} + | grep -i error
print a git log summary for /srv/svc-20505
git -C /srv/svc-20505 log --stat -n 10 | cut -d, -f1
locate matching files in /srv/svc-20506
find /srv/svc-20506 -type f -name '*.tmp' -size +50M -exec gzip {} + | grep -E '^[^#]'
list matching paths under /srv/svc-20507
find /srv/svc-20507 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | tac
find files under /srv/svc-20508
find /srv/svc-20508 -type l -name '*.gz' -mtime +30 -print | cut -d: -f1
search the svc-20509 directory tree
find /srv/svc-20509 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
clean up selected files in /srv/svc-20510
find /srv/svc-20510 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | uniq -c
locate matching files in /srv/svc-20511
find /srv/svc-20511 -mindepth 1 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
list matching paths under /srv/svc-20512
find /srv/svc-20512 -type d -name '*.conf' -delete | grep -E '^[^#]'
find files under /srv/svc-20513
find /srv/svc-20513 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tac
search the svc-20514 directory tree
find /srv/svc-20514 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | wc -l
count matches in svc-20515 data
grep -RIn 'panic[(]' /srv/svc-20515 --include='*.go' | tail -n 5
extract JSON fields for svc-20516
jq '.users[] | select(.active == true) | .email' /srv/svc-20516/config.json || true
list matching paths under /srv/svc-20517
find /srv/svc-20517 -type l -empty -exec gzip {} + 2>&1 | tee /tmp/svc-20517.log
search text for svc-20518
grep -c 'WARN' /var/log/svc-20518.log | nl -ba
search the svc-20519 directory tree
find /srv/svc-20519 -type l -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-20519.log
clean up selected files in /srv/svc-20520
find /srv/svc-20520 -type l -empty -exec ls -lh {} + | tee /tmp/svc-20520.out
find matching lines for svc-20521
grep -v 'FIXME' /srv/svc-20521 --exclude-dir=vendor | grep -v '^#'
query systemd status for svc-20522
systemctl is-active svc-20522.socket | sort -n
search text for svc-20523
grep -v 'ERROR' /var/log/svc-20523.log | grep -i warn
search the svc-20524 directory tree
find /srv/svc-20524 -type d -name '*.gz' -mtime +30 -exec ls -lh {} + | tee /tmp/svc-20524.out
clean up selected files in /srv/svc-20525
find /srv/svc-20525 -maxdepth 2 -type f -name '*.log' -size +10M -exec gzip {} + | tee -a /tmp/svc-20525.log
compare revisions in /srv/svc-20526
git -C /srv/svc-20526 diff --stat HEAD~2..HEAD src/ | head -n 50
inspect pending changes in /srv/svc-20527
git -C /srv/svc-20527 diff --check HEAD~2..HEAD | awk '{print $2}'
find files under /srv/svc-20528
find /srv/svc-20528 -type l -empty -size +50M -delete || true
inspect systemd unit state for svc-20529
systemctl status svc-20529.service --no-block | sort -u
print a git log summary for /srv/svc-20530
git -C /srv/svc-20530 log --name-status -n 20 --author='deploy'
display the working tree state in /srv/svc-20531
git -C /srv/svc-20531 status --short --untracked-files=normal | head -n 20
inspect branch and file status for /srv/svc-20532
git -C /srv/svc-20532 status --short --branch --untracked-files=all | cut -d, -f1
inspect routing for svc-20533.example.com
ip route get svc-20533.example.com from 10.20.83.34 | awk '{print $2}'
display docker container details for svc-20534
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' > /tmp/svc-20534.out
start a disposable docker container for svc-20535
docker run --rm -it -v /srv/svc-20535/logs:/logs:ro alpine:3.20 du -sh /data | uniq -c
locate matching files in /srv/svc-20536
find /srv/svc-20536 -type f -name '*.tmp' -print | grep -E '^[^#]'
secure svc-20537 secrets
chmod u+x /srv/svc-20537/bin/start.sh || true
find files under /srv/svc-20538
find /srv/svc-20538 -type d -name '*.json' -newermt '1 day ago' -delete | tail -n 10
check filesystem usage for svc-20539
df -h /srv/svc-20539 | uniq -c
count matches in svc-20540 data
grep -RIn 'WARN' /var/log/svc-20540.log --include='*.py' | cut -d, -f1
check filesystem usage for svc-20541
df -h /srv/svc-20541 | head -n 10
list matching paths under /srv/svc-20542
find /srv/svc-20542 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + | awk '{print $1}'
read journal entries for svc-20543
journalctl -u svc-20543.service --since '1 hour ago' -n 50 --no-pager | head -n 50
search the svc-20544 directory tree
find /srv/svc-20544 -mindepth 1 -type f -name '*.tmp' -mtime +7 -print | grep -v '^#'
create a backup tarball for svc-20545
tar -xzf /backup/svc-20545.tar.gz -C /tmp --strip-components=1 | paste -sd, -
test network path to svc-20546.example.com
ping -c 4 -n svc-20546.example.com | cut -d, -f1
pretty-print JSON for svc-20547
jq -c 'map(select(.status == "failed")) | length' /srv/svc-20547/users.json | awk '{print $1}'
find files under /srv/svc-20548
find /srv/svc-20548 -type l -name '*.json' -size +10M -exec ls -lh {} +
filter log content for svc-20549
grep -Rn 'FIXME' /srv/svc-20549 --include='*.go' | sort -u
check path selection for svc-20550.example.com
ip route get svc-20550.example.com oif lo 2>/dev/null
compare revisions in /srv/svc-20551
git -C /srv/svc-20551 diff --numstat --cached config/ | tee /tmp/svc-20551.out
pretty-print JSON for svc-20552
jq -S '.metadata' /srv/svc-20552/config.json | awk '{print $2}'
deduplicate svc-20553 log entries
uniq -c /var/log/svc-20553.log | sort -nr | tr -s ' '
search the svc-20554 directory tree
find /srv/svc-20554 -type d -name '*.log' -size +50M -print | uniq -c
summarize git differences for /srv/svc-20555
git -C /srv/svc-20555 diff --name-status origin/main...HEAD config/ | uniq -c
locate matching files in /srv/svc-20556
find /srv/svc-20556 -mindepth 1 -type f -name '*.log' -delete || true
scan configuration files for svc-20557
grep -Rn 'TODO' /srv/svc-20557 --exclude-dir=vendor | awk '{print $2}'
inspect process matches for svc-20558
pgrep -x svc-20558 | fold -w 120
search the svc-20559 directory tree
find /srv/svc-20559 -type f -empty -mtime +30 -delete | awk '{print $2}'
clean up selected files in /srv/svc-20560
find /srv/svc-20560 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | paste -sd, -
show directory sizes for svc-20561
du -sh /srv/svc-20561/* | sort -n
query journal history for svc-20562
journalctl -u svc-20562.service --until '1 hour ago' -f | sort
query JSON data for svc-20563
jq -r '.metadata' /srv/svc-20563/health.json | grep -E '^[^#]'
filter log content for svc-20564
grep -Rn 'ERROR' /var/log/svc-20564.log --include='*.yaml' | fold -w 120
summarize text columns for svc-20565
awk -F: 'NR % 100 == 0 {print NR, $0}' /var/log/svc-20565/app.log | sort -nr
find matching lines for svc-20566
grep -RIn 'ERROR' /var/log/svc-20566.log --exclude='*.min.js' | fold -w 120
list matching paths under /srv/svc-20567
find /srv/svc-20567 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | paste -sd, -
show recent commits in /srv/svc-20568
git -C /srv/svc-20568 log --name-status -n 20 --since='1 week ago' | sort
filter log content for svc-20569
grep -RInE 'secret' /etc/svc-20569 --include='*.py' | head -n 10
post a test request for svc-20570
curl -fsS --max-time 5 http://127.0.0.1:40570/svc-20570/health | column -t
measure the size of svc-20571 data
wc -l /srv/svc-20571/logs/*.log | awk '{print $2}'
query systemd status for svc-20572
systemctl show svc-20572.timer | grep -i warn
show running containers for svc-20573
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-20573' | wc -l
filter log content for svc-20574
grep -Ril 'timeout' /var/log/svc-20574.log --exclude='*.min.js' | grep -E '^[^#]'
clean up selected files in /srv/svc-20575
find /srv/svc-20575 -type d -name '*.conf' -size +50M -print | head -n 10
find matching lines for svc-20576
grep -Rn 'panic[(]' /srv/svc-20576 | sort -u
inspect file handles for svc-20577
lsof -c svc-20577 || true
query systemd status for svc-20578
systemctl is-active svc-20578.socket --no-block | uniq -c
filter JSON records for svc-20579
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-20579/health.json | head -n 50
clean up selected files in /srv/svc-20580
find /srv/svc-20580 -type f -name '*.gz' -size +10M -print | sed 's/^/ /'
compare revisions in /srv/svc-20581
git -C /srv/svc-20581 diff --stat origin/main...HEAD config/ | cut -d, -f1