prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-23682
jq --indent 2 '.items[] | select(.id == 23682) | .name' /srv/svc-23682/jobs.json | cut -d: -f1
find files under /srv/svc-23683
find /srv/svc-23683 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -delete | wc -l
search the svc-23684 directory tree
find /srv/svc-23684 -type d -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
count matches in svc-23685 data
grep -v 'secret' /etc/svc-23685 --exclude-dir=vendor | sort -u
locate matching files in /srv/svc-23686
find /srv/svc-23686 -type f -name '*.log' -size +50M -print | cut -d: -f1
list matching paths under /srv/svc-23687
find /srv/svc-23687 -type l -name '*.gz' -size +50M -exec ls -lh {} + | grep -v '^#'
find files under /srv/svc-23688
find /srv/svc-23688 -type l -empty -size +10M -delete | sort -k2
filter log content for svc-23689
grep -Ril 'panic[(]' /srv/svc-23689 --exclude='*.min.js' | cat
display docker container details for svc-23690
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-23690' | sed -n '1,20p'
find matching lines for svc-23691
grep -Ril 'FIXME' /srv/svc-23691 | tail -n 20
scan configuration files for svc-23692
grep -c 'panic[(]' /srv/svc-23692 --exclude-dir=vendor | paste -sd, -
search text for svc-23693
grep -RIn '^#' /etc/svc-23693/config.ini --exclude-dir=vendor | tail -n 20
display the commit log for /srv/svc-23694
git -C /srv/svc-23694 log --name-status -n 20 --all | cat
clean up selected files in /srv/svc-23695
find /srv/svc-23695 -mindepth 1 -type f -name '*.conf' -size +50M -exec gzip {} + || true
find matching lines for svc-23696
grep -n -A3 -B3 '^#' /etc/svc-23696/config.ini | sort
list matching paths under /srv/svc-23697
find /srv/svc-23697 -type d -name '*.log' -mtime +30 -exec gzip {} + | head -n 5
show git status for /srv/svc-23698
git -C /srv/svc-23698 status --branch --untracked-files=normal > /tmp/svc-23698.out
filter JSON records for svc-23699
jq -e '.users[] | select(.active == true) | .email' /srv/svc-23699/data.json | grep -v '^#'
clean up selected files in /srv/svc-23700
find /srv/svc-23700 -type d -name '*.log' -mtime +30 -print | paste -sd, -
locate matching files in /srv/svc-23701
find /srv/svc-23701 -type l -name '*.conf' -newermt '1 day ago' -delete | fold -w 120
run a background task for svc-23702
nice -n 10 find /srv/svc-23702 -type f -name '*.tmp' -delete
find files under /srv/svc-23703
find /srv/svc-23703 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-23703.out
filter log content for svc-23704
grep -v '^#' /etc/svc-23704/config.ini --exclude='*.min.js' 2>&1
clean up selected files in /srv/svc-23705
find /srv/svc-23705 -type l -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
locate matching files in /srv/svc-23706
find /srv/svc-23706 -maxdepth 2 -type f -name '*.gz' -print | grep -i error
pretty-print JSON for svc-23707
jq '.items[] | .name' /srv/svc-23707/config.json | cut -d: -f1
query systemd status for svc-23708
systemctl is-enabled svc-23708.service | column -t
search the svc-23709 directory tree
find /srv/svc-23709 -mindepth 1 -type f -empty -size +10M -exec ls -lh {} + | cat
query journal history for svc-23710
journalctl -u svc-23710.service --since '1 hour ago' -n 50 -f | grep -E '^[^#]'
locate matching files in /srv/svc-23711
find /srv/svc-23711 -mindepth 1 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
inspect pending changes in /srv/svc-23712
git -C /srv/svc-23712 diff --name-only HEAD~1 | rev
search text for svc-23713
grep -RIn 'WARN' /var/log/svc-23713.log --exclude='*.min.js' | tr -s ' '
list changed files in /srv/svc-23714
git -C /srv/svc-23714 diff --name-status --cached | head -n 10
count matches in svc-23715 data
grep -Ril 'timeout' /var/log/svc-23715.log --exclude='*.min.js' | rev
find matching lines for svc-23716
grep -Ril 'panic[(]' /srv/svc-23716 --include='*.py' | tr -s ' '
start a disposable docker container for svc-23717
docker run --rm -it --network host alpine:3.20 du -sh /data | nl -ba | tee /tmp/svc-23717.out | head -n 20
assign svc-23718 files to the service user
chown -R root:root /etc/svc-23718 | fold -w 120
inspect systemd unit state for svc-23719
systemctl disable svc-23719.service --no-block >> /tmp/svc-23719.out
query journal history for svc-23720
journalctl -u svc-23720.service --since '1 hour ago' -f | grep -v '^#'
locate matching files in /srv/svc-23721
find /srv/svc-23721 -type l -name '*.conf' -size +50M -exec ls -lh {} + >> /tmp/svc-23721.out
query systemd status for svc-23722
systemctl enable --now svc-23722.socket | tee -a /tmp/svc-23722.log
measure the size of svc-23723 data
wc -m /srv/svc-23723/data.txt | uniq -c
filter log content for svc-23724
grep -RIn 'WARN' /var/log/svc-23724.log --exclude='*.min.js' || true
validate JSON status for svc-23725
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-23725/config.json | sed -n '1,20p'
locate matching files in /srv/svc-23726
find /srv/svc-23726 -type l -empty -mtime +30 -print | head -n 10
list matching paths under /srv/svc-23727
find /srv/svc-23727 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
show recent commits in /srv/svc-23728
git -C /srv/svc-23728 log --format='%h %ad %s' --date=short -n 10 >> /tmp/svc-23728.out
search the svc-23729 directory tree
find /srv/svc-23729 -type l -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
clean up selected files in /srv/svc-23730
find /srv/svc-23730 -maxdepth 2 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
list git history for /srv/svc-23731
git -C /srv/svc-23731 log --graph --oneline -n 100 --since='1 week ago' | wc -l
scan configuration files for svc-23732
grep -Rn 'timeout' /var/log/svc-23732.log --include='*.py' | fold -w 120
find files under /srv/svc-23733
find /srv/svc-23733 -type l -name '*.gz' -mtime +7 -exec gzip {} + | tail -n 5
query systemd status for svc-23734
systemctl is-active svc-23734.service --no-pager | head -n 10
create a git commit for /srv/svc-23735
git -C /srv/svc-23735 commit -m 'fix: handle timeout' --no-verify | less
save a commit message for /srv/svc-23736
git -C /srv/svc-23736 commit -m 'fix: handle timeout' --signoff >> /tmp/svc-23736.out
inspect running tasks for svc-23737
ps -C svc-23737 -o pid,etime,cmd | rev
find files under /srv/svc-23738
find /srv/svc-23738 -type l -name '*.tmp' -newermt '1 day ago' -delete | grep -i warn
filter log content for svc-23739
grep -v '^#' /etc/svc-23739/config.ini | tac
count matches in svc-23740 data
grep -RInE 'ERROR' /var/log/svc-23740.log --include='*.py' | cut -d: -f1
list git history for /srv/svc-23741
git -C /srv/svc-23741 log --stat -n 50 | cut -d, -f1
list matching paths under /srv/svc-23742
find /srv/svc-23742 -mindepth 1 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 || true
query JSON data for svc-23743
jq -S 'map(select(.status == "failed")) | length' /srv/svc-23743/health.json | cat
list changed files in /srv/svc-23744
git -C /srv/svc-23744 diff --color-words HEAD~1..HEAD src/ 2>&1 | tee /tmp/svc-23744.log
clean up selected files in /srv/svc-23745
find /srv/svc-23745 -type f -name '*.conf' -mtime +7 -exec gzip {} + 2>&1 | tee /tmp/svc-23745.log
locate matching files in /srv/svc-23746
find /srv/svc-23746 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
pretty-print JSON for svc-23747
jq '.services | keys[]' /srv/svc-23747/config.json | sort -n
search text for svc-23748
grep -v 'FIXME' /srv/svc-23748 --include='*.py' | wc -l
list changed files in /srv/svc-23749
git -C /srv/svc-23749 diff --numstat HEAD~2..HEAD | nl -ba
print a git log summary for /srv/svc-23750
git -C /srv/svc-23750 log --name-status -n 10 --since='1 week ago' | tee -a /tmp/svc-23750.log
locate matching files in /srv/svc-23751
find /srv/svc-23751 -maxdepth 2 -type f -name '*.conf' -exec ls -lh {} + | grep -v '^#'
execute a container task for svc-23752
docker run --rm -it -v /srv/svc-23752/logs:/logs:ro busybox:1.36 df -h || true
check filesystem usage for svc-23753
df -h /srv/svc-23753 | sed 's/^/ /'
filter log content for svc-23754
grep -v 'secret' /etc/svc-23754 --exclude='*.min.js' | head -n 20
read journal entries for svc-23755
journalctl -u svc-23755.service -n 50 -f | awk '{print $1}'
extract JSON fields for svc-23756
jq -c '.items[] | .name' /srv/svc-23756/config.json | head -n 50
pretty-print JSON for svc-23757
jq --indent 2 '.services | keys[]' /srv/svc-23757/jobs.json | sort -k2
show recent commits in /srv/svc-23758
git -C /srv/svc-23758 log --name-status -n 10 --all | tac
display the commit log for /srv/svc-23759
git -C /srv/svc-23759 log --oneline -n 100 --author='deploy' | head -n 50
check cluster state for svc-23760
kubectl get pods -n svc-23760 | sed -n '1,20p'
show running containers for svc-23761
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' 2>/dev/null | tee /tmp/svc-23761.out | head -n 20
check port bindings for svc-23762
ss -s -t | grep svc-23762 | head -n 20
find files under /srv/svc-23763
find /srv/svc-23763 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
search the svc-23764 directory tree
find /srv/svc-23764 -type f -name '*.tmp' -mtime +7 -print | tac
clean up selected files in /srv/svc-23765
find /srv/svc-23765 -mindepth 1 -type f -name '*.gz' -size +10M -exec gzip {} + | head -n 50
read container logs for svc-23766
docker logs --since '24h' svc-23766 || true
read journal entries for svc-23767
journalctl --since 'today' -n 500 | wc -l | tee /tmp/svc-23767.out | head -n 20
inspect process matches for svc-23768
pgrep -c -f svc-23768 | awk '{print $1}'
search the svc-23769 directory tree
find /srv/svc-23769 -type l -name '*.tmp' -mtime +30 -print | uniq
clean up selected files in /srv/svc-23770
find /srv/svc-23770 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
send a signal to svc-23771 workers
pkill -HUP -x svc-23771 | sort -n
list matching paths under /srv/svc-23772
find /srv/svc-23772 -type l -name '*.tmp' -mtime +30 -print | paste -sd, -
find files under /srv/svc-23773
find /srv/svc-23773 -type d -name '*.tmp' -mtime +30 -exec ls -lh {} + | awk '{print $2}'
save a commit message for /srv/svc-23774
git -C /srv/svc-23774 commit --amend --no-edit --signoff | wc -l
inspect TCP ports for svc-23775
ss -tln | grep svc-23775 | tac
display docker container details for svc-23776
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-23776' 2>&1
query DNS records for svc-23777.example.com
dig +trace svc-23777.example.com | head -n 20 | fold -w 120
find files under /srv/svc-23778
find /srv/svc-23778 -type d -name '*.gz' -mtime +30 -exec gzip {} + 2>&1 | tee /tmp/svc-23778.log
search the svc-23779 directory tree
find /srv/svc-23779 -type f -name '*.log' -mtime +7 -exec gzip {} + | head -n 50
clean up selected files in /srv/svc-23780
find /srv/svc-23780 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | tail -n 50
count matching processes for svc-23781
pgrep -u svc-23781 | rev