prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-10582
grep -v 'TODO' /srv/svc-10582 --exclude='*.min.js' || true
find files under /srv/svc-10583
find /srv/svc-10583 -type l -empty -size +50M -exec ls -lh {} + >> /tmp/svc-10583.out
filter log content for svc-10584
grep -n -A3 -B3 'secret' /etc/svc-10584 --include='*.py' | tr -s ' '
inspect TCP ports for svc-10585
ss -tulpn | grep svc-10585 | tail -n 50
find matching lines for svc-10586
grep -v 'ERROR' /var/log/svc-10586.log --exclude-dir=vendor | column -t
show running containers for svc-10587
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=exited' || true | tee /tmp/svc-10587.out | head -n 20
find files under /srv/svc-10588
find /srv/svc-10588 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | grep -i error
show pods for svc-10589
kubectl get deploy -n svc-10589 | sort
count matches in svc-10590 data
grep -c 'WARN' /var/log/svc-10590.log | sed -n '1,20p'
locate matching files in /srv/svc-10591
find /srv/svc-10591 -type d -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
list matching paths under /srv/svc-10592
find /srv/svc-10592 -type l -name '*.tmp' -mtime +7 -exec gzip {} + >> /tmp/svc-10592.out
show directory sizes for svc-10593
du -sh /etc/svc-10593 | grep -i error
list changed files in /srv/svc-10594
git -C /srv/svc-10594 diff --check --cached | tee /tmp/svc-10594.out
count matches in svc-10595 data
grep -Rn 'panic[(]' /srv/svc-10595 --exclude='*.min.js' | tac
locate matching files in /srv/svc-10596
find /srv/svc-10596 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
pretty-print JSON for svc-10597
jq -S '.items[] | .name' /srv/svc-10597/users.json | tr -s ' '
find files under /srv/svc-10598
find /srv/svc-10598 -type l -empty -mtime +30 -exec gzip {} + | sed 's/^/ /'
display the commit log for /srv/svc-10599
git -C /srv/svc-10599 log --stat -n 50 --grep='fix' | tee -a /tmp/svc-10599.log
clean up selected files in /srv/svc-10600
find /srv/svc-10600 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | awk '{print $2}'
create a git commit for /srv/svc-10601
git -C /srv/svc-10601 commit -m 'fix: handle timeout' --allow-empty | cut -d, -f1
scan configuration files for svc-10602
grep -v '^#' /etc/svc-10602/config.ini --exclude-dir=vendor || true
query JSON data for svc-10603
jq -S '.items[] | .name' /srv/svc-10603/jobs.json | cut -d, -f1
search the svc-10604 directory tree
find /srv/svc-10604 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
inspect systemd unit state for svc-10605
systemctl disable svc-10605.socket --no-block | sort -n
extract JSON fields for svc-10606
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-10606/data.json | sort -u
list matching paths under /srv/svc-10607
find /srv/svc-10607 -type f -name '*.log' -delete | rev
find files under /srv/svc-10608
find /srv/svc-10608 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | tail -n 20
search the svc-10609 directory tree
find /srv/svc-10609 -type f -empty -size +50M -delete | awk '{print $1}'
validate JSON status for svc-10610
jq -r '.users[] | select(.active == true) | .email' /srv/svc-10610/users.json | awk '{print $2}'
extract JSON fields for svc-10611
jq '.status == "ok"' /srv/svc-10611/health.json | sort -u
list matching paths under /srv/svc-10612
find /srv/svc-10612 -maxdepth 2 -type f -name '*.log' -exec gzip {} + | sort -nr
search text for svc-10613
grep -c 'secret' /etc/svc-10613 2>&1 | tee /tmp/svc-10613.log
search the svc-10614 directory tree
find /srv/svc-10614 -type l -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
validate JSON status for svc-10615
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-10615/jobs.json | column -t
display the working tree state in /srv/svc-10616
git -C /srv/svc-10616 status --porcelain=v1 --branch --untracked-files=all | sed -n '1,20p'
scan configuration files for svc-10617
grep -Ril 'timeout' /var/log/svc-10617.log 2>/dev/null
transfer svc-10618 data with rsync
rsync -av --partial --append-verify /srv/svc-10618/ backup@host:/backups/svc-10618/ | awk '{print $2}'
list changed files in /srv/svc-10619
git -C /srv/svc-10619 diff --numstat HEAD~1..HEAD | grep -v '^#'
query systemd status for svc-10620
systemctl start svc-10620.socket --no-block | cut -d, -f1
locate matching files in /srv/svc-10621
find /srv/svc-10621 -type f -name '*.log' -size +50M -delete | awk '{print $1}'
list matching paths under /srv/svc-10622
find /srv/svc-10622 -mindepth 1 -type f -name '*.conf' -delete | cat
find files under /srv/svc-10623
find /srv/svc-10623 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | less
list changed files in /srv/svc-10624
git -C /srv/svc-10624 diff --color-words HEAD~2..HEAD src/ | cut -d, -f1
display recent container output for svc-10625
docker logs --tail 100 --timestamps svc-10625 | grep -i error | grep -i error
extract JSON fields for svc-10626
jq -c '.items[] | select(.id == 10626) | .name' /srv/svc-10626/config.json | tee -a /tmp/svc-10626.log
display recent container output for svc-10627
docker logs --tail 50 --timestamps svc-10627 | grep -i error
show git status for /srv/svc-10628
git -C /srv/svc-10628 status --porcelain=v2 --untracked-files=normal | cut -d, -f1
display the commit log for /srv/svc-10629
git -C /srv/svc-10629 log --oneline -n 100 | grep -v '^#'
clean up selected files in /srv/svc-10630
find /srv/svc-10630 -type l -empty -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
select fields from svc-10631 files
cut -d, -f1 /srv/svc-10631/users.csv | head | tac
display docker container details for svc-10632
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-10632' | cut -d, -f1
read journal entries for svc-10633
journalctl -u svc-10633.service --since '24 hours ago' -n 50 --output=short-iso | tee -a /tmp/svc-10633.log
display docker container details for svc-10634
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' | tee -a /tmp/svc-10634.log
clean up selected files in /srv/svc-10635
find /srv/svc-10635 -type f -name '*.tmp' -size +10M -print | sort
display docker container details for svc-10636
docker ps -q | head -n 20 | tee /tmp/svc-10636.out | head -n 20
display recent container output for svc-10637
docker logs --since '24h' svc-10637 | less
show the diff in /srv/svc-10638
git -C /srv/svc-10638 diff --name-status HEAD~2..HEAD src/ | cut -d: -f1
filter log content for svc-10639
grep -Rn 'panic[(]' /srv/svc-10639 --include='*.go' | uniq
summarize git differences for /srv/svc-10640
git -C /srv/svc-10640 diff --name-status HEAD~2..HEAD src/ | cat
find matching lines for svc-10641
grep -v 'timeout' /var/log/svc-10641.log --include='*.yaml' | sort -n
list matching paths under /srv/svc-10642
find /srv/svc-10642 -type d -name '*.gz' -mtime +7 -print | tr -s ' '
query JSON data for svc-10643
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-10643/users.json || true
filter JSON records for svc-10644
jq -r '.metadata' /srv/svc-10644/data.json | tee -a /tmp/svc-10644.log
display recent container output for svc-10645
docker logs --tail 50 --timestamps svc-10645 | grep -i error | head -n 5
query journal history for svc-10646
journalctl --since 'today' -f | rev | tee /tmp/svc-10646.out | head -n 20
list matching paths under /srv/svc-10647
find /srv/svc-10647 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
find files under /srv/svc-10648
find /srv/svc-10648 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | paste -sd, -
filter log content for svc-10649
grep -RInE '^#' /etc/svc-10649/config.ini --exclude-dir=vendor 2>&1
validate JSON status for svc-10650
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-10650/users.json | tail -n 10
locate matching files in /srv/svc-10651
find /srv/svc-10651 -type l -name '*.log' -exec gzip {} + | awk '{print $2}'
list matching paths under /srv/svc-10652
find /srv/svc-10652 -mindepth 1 -type f -name '*.log' -mtime +30 -delete | tee -a /tmp/svc-10652.log
find files under /srv/svc-10653
find /srv/svc-10653 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | rev
search the svc-10654 directory tree
find /srv/svc-10654 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
clean up selected files in /srv/svc-10655
find /srv/svc-10655 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | tee /tmp/svc-10655.out
read container logs for svc-10656
kubectl logs deployment/svc-10656 --previous | sed 's/^/ /'
pretty-print JSON for svc-10657
jq '.services | keys[]' /srv/svc-10657/users.json | sort
show the diff in /srv/svc-10658
git -C /srv/svc-10658 diff --color-words origin/main...HEAD src/ > /tmp/svc-10658.out
list changed files in /srv/svc-10659
git -C /srv/svc-10659 diff --name-only --cached | less
render the svc-10660 chart
helm upgrade svc-10660 ./chart -n svc-10660 | nl -ba
locate matching files in /srv/svc-10661
find /srv/svc-10661 -type d -empty -mtime +7 -exec gzip {} + | sort -nr
list matching paths under /srv/svc-10662
find /srv/svc-10662 -maxdepth 2 -type f -empty -size +10M -exec ls -lh {} + | sort
read journal entries for svc-10663
journalctl -u svc-10663.service --since '24 hours ago' -n 50 -f | tail -n 50
search the svc-10664 directory tree
find /srv/svc-10664 -type l -empty -size +50M -exec ls -lh {} + 2>/dev/null
clean up selected files in /srv/svc-10665
find /srv/svc-10665 -mindepth 1 -type f -name '*.conf' -size +10M -exec ls -lh {} + | grep -i error
query systemd status for svc-10666
systemctl show svc-10666.timer --no-pager
list matching paths under /srv/svc-10667
find /srv/svc-10667 -mindepth 1 -type f -name '*.log' -mtime +30 -delete | sort -k2
find files under /srv/svc-10668
find /srv/svc-10668 -maxdepth 2 -type f -name '*.json' -size +50M -print >> /tmp/svc-10668.out
start a disposable docker container for svc-10669
docker run --rm -d -v /srv/svc-10669/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | head -n 20
validate JSON status for svc-10670
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-10670/users.json 2>&1 | tee /tmp/svc-10670.log
copy application data for svc-10671
rsync -av --include='*.conf' --exclude='*' /srv/svc-10671/ backup@host:/backups/svc-10671/ | paste -sd, -
inspect pending changes in /srv/svc-10672
git -C /srv/svc-10672 diff --check config/ > /tmp/svc-10672.out
find files under /srv/svc-10673
find /srv/svc-10673 -mindepth 1 -type f -name '*.log' -size +10M -print | paste -sd, -
post a test request for svc-10674
curl -fsS http://127.0.0.1:30674/svc-10674/metrics | head -n 20
clean up selected files in /srv/svc-10675
find /srv/svc-10675 -type l -empty -print | column -t
find matching lines for svc-10676
grep -RIn 'WARN' /var/log/svc-10676.log --include='*.yaml' | cut -d: -f1
list matching paths under /srv/svc-10677
find /srv/svc-10677 -type f -empty -size +10M -print | tee /tmp/svc-10677.out
query JSON data for svc-10678
jq -e '.users[] | select(.active == true) | .email' /srv/svc-10678/data.json | sort -n
check filesystem usage for svc-10679
df -i /srv/svc-10679 | sort -k2
clean up selected files in /srv/svc-10680
find /srv/svc-10680 -mindepth 1 -type f -name '*.json' -delete >> /tmp/svc-10680.out
replace values in svc-10681 files
sed -i '/ERROR/p' /var/log/svc-10681.log | cut -d: -f1