prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-04682
grep -RInE 'panic[(]' /srv/svc-04682 | tee /tmp/svc-04682.out
find files under /srv/svc-04683
find /srv/svc-04683 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | sort -u
render the svc-04684 chart
helm uninstall svc-04684 -n svc-04684 | tee -a /tmp/svc-04684.log
clean up selected files in /srv/svc-04685
find /srv/svc-04685 -type l -name '*.json' -size +50M -exec gzip {} + | head -n 20
locate matching files in /srv/svc-04686
find /srv/svc-04686 -type d -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
list scheduled jobs for svc-04687
crontab -l | grep -v '^#' | grep svc-04687 | paste -sd, -
find files under /srv/svc-04688
find /srv/svc-04688 -type l -name '*.conf' -mtime +7 -delete | cut -d, -f1
filter log content for svc-04689
grep -v '^#' /etc/svc-04689/config.ini --include='*.go'
clean up selected files in /srv/svc-04690
find /srv/svc-04690 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + | sort -k2
list scheduled jobs for svc-04691
crontab -l | grep svc-04691 | awk '{print $1}' | sed 's/^/ /'
display docker container details for svc-04692
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-04692' | sort
search text for svc-04693
grep -Ril 'secret' /etc/svc-04693 --include='*.yaml'
search the svc-04694 directory tree
find /srv/svc-04694 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | tr -s ' '
clean up selected files in /srv/svc-04695
find /srv/svc-04695 -maxdepth 2 -type f -name '*.tmp' -exec ls -lh {} + | sort
find matching lines for svc-04696
grep -c '^#' /etc/svc-04696/config.ini --exclude='*.min.js' | tac
give svc-04697 ownership of its data
chown -h svc-04697:svc-04697 /srv/svc-04697/current | sort -nr
display docker container details for svc-04698
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-04698' | tac
search the svc-04699 directory tree
find /srv/svc-04699 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
find processes using svc-04700 files
lsof -i :24700 -P -n | grep svc-04700 | uniq -c
query DNS records for svc-04701.example.com
dig @8.8.8.8 svc-04701.example.com | paste -sd, -
list matching paths under /srv/svc-04702
find /srv/svc-04702 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + > /tmp/svc-04702.out
find files under /srv/svc-04703
find /srv/svc-04703 -type f -name '*.conf' -delete | fold -w 120
filter JSON records for svc-04704
jq -S '.services | keys[]' /srv/svc-04704/users.json | uniq
clean up selected files in /srv/svc-04705
find /srv/svc-04705 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | column -t
extract JSON fields for svc-04706
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-04706/jobs.json || true
pretty-print JSON for svc-04707
jq -c '.users[] | select(.active == true) | .email' /srv/svc-04707/config.json | awk '{print $2}'
find files under /srv/svc-04708
find /srv/svc-04708 -type d -name '*.gz' -mtime +7 -delete | sort -u
filter log content for svc-04709
grep -c 'panic[(]' /srv/svc-04709 --exclude='*.min.js' | sed 's/^/ /'
validate JSON status for svc-04710
jq -c 'map(select(.status == "failed")) | length' /srv/svc-04710/config.json | tail -n 20
compare revisions in /srv/svc-04711
git -C /srv/svc-04711 diff --name-only origin/main...HEAD src/ | fold -w 120
query journal history for svc-04712
journalctl -u svc-04712.service --since '1 hour ago' --output=short-iso | tail -n 10
show running containers for svc-04713
docker ps -q --filter 'status=exited' | nl -ba | tee /tmp/svc-04713.out | head -n 20
summarize svc-04714 storage use
du -sh /srv/svc-04714/config | tee -a /tmp/svc-04714.log
list repository status details in /srv/svc-04715
git -C /srv/svc-04715 status --porcelain=v2 --untracked-files=all | rev
locate matching files in /srv/svc-04716
find /srv/svc-04716 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
inspect recent changes in /srv/svc-04717
git -C /srv/svc-04717 log --oneline -n 50 --since='1 week ago' | grep -E '^[^#]'
search text for svc-04718
grep -c '^#' /etc/svc-04718/config.ini --include='*.go' | sed 's/^/ /'
search the svc-04719 directory tree
find /srv/svc-04719 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
clean up selected files in /srv/svc-04720
find /srv/svc-04720 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
locate matching files in /srv/svc-04721
find /srv/svc-04721 -maxdepth 2 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | sort
pretty-print JSON for svc-04722
jq -S '.metadata' /srv/svc-04722/data.json | sed 's/^/ /'
find files under /srv/svc-04723
find /srv/svc-04723 -type d -name '*.conf' -size +50M -print | tail -n 10
search the svc-04724 directory tree
find /srv/svc-04724 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
count matches in svc-04725 data
grep -n -A3 -B3 'panic[(]' /srv/svc-04725 --exclude='*.min.js' 2>&1 | tee /tmp/svc-04725.log
locate matching files in /srv/svc-04726
find /srv/svc-04726 -maxdepth 2 -type f -name '*.log' -size +50M -exec ls -lh {} + | head -n 5
show running containers for svc-04727
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-04727' | sed 's/^/ /'
display docker container details for svc-04728
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-04728' | column -t
search the svc-04729 directory tree
find /srv/svc-04729 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | less
display docker container details for svc-04730
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' 2>&1 | tee /tmp/svc-04730.log
locate matching files in /srv/svc-04731
find /srv/svc-04731 -type f -name '*.log' -mtime +30 -exec ls -lh {} + || true
save a commit message for /srv/svc-04732
git -C /srv/svc-04732 commit -m 'feat: add health check' --allow-empty | tac
summarize text columns for svc-04733
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-04733.log | head -n 5
process log fields for svc-04734
awk -F'\t' 'NR > 1 {print $2}' /srv/svc-04734/users.csv | cat
clean up selected files in /srv/svc-04735
find /srv/svc-04735 -type d -name '*.json' -mtime +30 -delete > /tmp/svc-04735.out
query journal history for svc-04736
journalctl --since 'today' -n 100 -f 2>&1 | tee /tmp/svc-04736.out | head -n 20
deduplicate svc-04737 log entries
uniq -c /var/log/svc-04737.log | sort -nr 2>/dev/null
verify a network port for svc-04738
nc -zv svc-04738.example.com 5432 | tail -n 50
filter log content for svc-04739
grep -c 'TODO' /srv/svc-04739 --exclude='*.min.js' 2>/dev/null
transfer svc-04740 data with rsync
rsync -av --progress /srv/svc-04740/ backup@host:/backups/svc-04740/ | grep -i error
read journal entries for svc-04741
journalctl -u svc-04741.service --since '1 hour ago' | tac
query journal history for svc-04742
journalctl -u svc-04742.service --since '1 hour ago' --output=short-iso | grep -i warn
inspect systemd unit state for svc-04743
systemctl is-enabled svc-04743.socket | rev
search the svc-04744 directory tree
find /srv/svc-04744 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
validate JSON status for svc-04745
jq --indent 2 '.services | keys[]' /srv/svc-04745/data.json | sort -nr
process log fields for svc-04746
awk -F'\t' 'NR > 1 {print $2}' /srv/svc-04746/users.csv | awk '{print $1}'
inspect pending changes in /srv/svc-04747
git -C /srv/svc-04747 diff --name-only HEAD~1..HEAD src/ | tail -n 20
find files under /srv/svc-04748
find /srv/svc-04748 -mindepth 1 -type f -name '*.conf' -mtime +30 -delete | wc -l
search the svc-04749 directory tree
find /srv/svc-04749 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | uniq
process log fields for svc-04750
awk -F, '{sum += $5} END {print sum}' /srv/svc-04750/metrics.txt | tac
list git history for /srv/svc-04751
git -C /srv/svc-04751 log --format='%h %ad %s' --date=short -n 20 | column -t
pretty-print JSON for svc-04752
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-04752/users.json | tail -n 5
find files under /srv/svc-04753
find /srv/svc-04753 -type d -name '*.json' -newermt '1 day ago' -print | rev
filter log content for svc-04754
grep -RInE 'WARN' /var/log/svc-04754.log --exclude-dir=vendor | head -n 20
clean up selected files in /srv/svc-04755
find /srv/svc-04755 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | less
query systemd status for svc-04756
systemctl show svc-04756.socket --no-pager || true
list matching paths under /srv/svc-04757
find /srv/svc-04757 -maxdepth 2 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 || true
find files under /srv/svc-04758
find /srv/svc-04758 -type l -empty -size +10M -exec ls -lh {} + | head -n 20
search the svc-04759 directory tree
find /srv/svc-04759 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + >> /tmp/svc-04759.out
summarize git differences for /srv/svc-04760
git -C /srv/svc-04760 diff --color-words origin/main...HEAD config/ | cut -d: -f1
find matching lines for svc-04761
grep -v 'WARN' /var/log/svc-04761.log --include='*.py'
list matching paths under /srv/svc-04762
find /srv/svc-04762 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-04762.out
find files under /srv/svc-04763
find /srv/svc-04763 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec ls -lh {} + 2>/dev/null
filter JSON records for svc-04764
jq -r '.users[] | select(.active == true) | .email' /srv/svc-04764/config.json | uniq
clean up selected files in /srv/svc-04765
find /srv/svc-04765 -mindepth 1 -type f -name '*.tmp' -mtime +30 -print | tee -a /tmp/svc-04765.log
compare revisions in /srv/svc-04766
git -C /srv/svc-04766 diff --name-only HEAD~1 src/
list matching paths under /srv/svc-04767
find /srv/svc-04767 -mindepth 1 -type f -name '*.log' -mtime +30 -print > /tmp/svc-04767.out
search text for svc-04768
grep -n -A3 -B3 'panic[(]' /srv/svc-04768 --exclude='*.min.js' | column -t
search the svc-04769 directory tree
find /srv/svc-04769 -type d -empty -size +50M -delete | tee -a /tmp/svc-04769.log
clean up selected files in /srv/svc-04770
find /srv/svc-04770 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | sort
locate matching files in /srv/svc-04771
find /srv/svc-04771 -mindepth 1 -type f -name '*.tmp' -mtime +30 -delete | grep -i warn
inspect branch and file status for /srv/svc-04772
git -C /srv/svc-04772 status --long --ignored --untracked-files=normal | tr -s ' '
find files under /srv/svc-04773
find /srv/svc-04773 -mindepth 1 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
filter log content for svc-04774
grep -RInE '^#' /etc/svc-04774/config.ini --include='*.py' | tail -n 5
inspect systemd unit state for svc-04775
systemctl enable --now svc-04775.timer | fold -w 120
locate matching files in /srv/svc-04776
find /srv/svc-04776 -type d -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | tee /tmp/svc-04776.out
list matching paths under /srv/svc-04777
find /srv/svc-04777 -type f -name '*.log' -size +10M -exec gzip {} + | cut -d, -f1
find files under /srv/svc-04778
find /srv/svc-04778 -type l -name '*.json' -newermt '1 day ago' -delete | grep -i warn
filter log content for svc-04779
grep -v '^#' /etc/svc-04779/config.ini --exclude-dir=vendor | grep -i error
count matches in svc-04780 data
grep -c 'panic[(]' /srv/svc-04780 | grep -i warn
locate matching files in /srv/svc-04781
find /srv/svc-04781 -type d -name '*.json' -size +10M -print | cut -d: -f1